Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-09 Thread Logan Rathbone
On Tue, Sep 08, 2020 at 04:04:51PM +0100, Dave Woodfall wrote: On 07/09/20 23:02, Andrzej Telszewski put forth the proposition: I edit using Qt Creator as regular user. You use that as a general purpose editor? Isn't it rather slow compared to plain vim, and doesn't it also need X11 running

Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-08 Thread Dave Woodfall
On 08/09/20 17:50, Andrzej Telszewski put forth the proposition: > On 08/09/2020 17:04, Dave Woodfall wrote: > > On 07/09/20 23:02, > > Andrzej Telszewski put forth the proposition: > > > I edit using Qt Creator as regular user. > > You use that as a general purpose editor? Isn't it rather slow

Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-08 Thread Andrzej Telszewski
On 08/09/2020 17:04, Dave Woodfall wrote: On 07/09/20 23:02, Andrzej Telszewski put forth the proposition: I edit using Qt Creator as regular user. You use that as a general purpose editor? Isn't it rather slow compared to plain vim, and doesn't it also need X11 running to use it? I guess I'

Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-08 Thread Dave Woodfall
On 07/09/20 23:02, Andrzej Telszewski put forth the proposition: > I edit using Qt Creator as regular user. You use that as a general purpose editor? Isn't it rather slow compared to plain vim, and doesn't it also need X11 running to use it? I don't use X11 unless it's absolutely necessary - fo

Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-08 Thread Erich Ritz via SlackBuilds-users
‐‐‐ Original Message ‐‐‐ On Friday, September 4, 2020 9:09 AM, Dave Woodfall wrote: > On 04/09/20 15:16, > Slackbuilds Users slackbuilds-users@slackbuilds.org put forth the proposition: > > > Hi list, > > Does anyone have (or aware of) a vim formatting rules file for SlackBuilds? > >

Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-07 Thread Andrzej Telszewski
On 05/09/2020 16:10, Dave Woodfall wrote: I'm not really bothered either way, since I already have vim setup with an autocmd, but I'd like to point out that root's vim has modeline execution turned off by default as a security measure, so if you're in the habit of testing a slackbuild, then edit

Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-05 Thread Dave Woodfall
On 05/09/20 13:49, Slackbuilds Users put forth the proposition: > A vim modeline is just a commented line at the end of the file. Its presence > there shouldn't force anyone to use vim. Neither should it affect anyone who > is using another text editor for editing SlackBuilds, as long as that co

Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-05 Thread Tim Dickson via SlackBuilds-users
i use pico myself. Apparently there are security reasons why modeline is usually disabled, especially for root user. Tim On 05/09/2020 08:40, Christoph Willing wrote: On 5/9/20 10:13 am, flinchx via SlackBuilds-users wrote: Vim has a thing called modeline. Perhaps such settings could be added

Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-05 Thread flinchx via SlackBuilds-users
A vim modeline is just a commented line at the end of the file. Its presence there shouldn't force anyone to use vim. Neither should it affect anyone who is using another text editor for editing SlackBuilds, as long as that comment line just stays there. I'm merely providing an option rather th

Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-05 Thread Duncan Roe
On Sat, Sep 05, 2020 at 05:40:02PM +1000, Christoph Willing wrote: > On 5/9/20 10:13 am, flinchx via SlackBuilds-users wrote: > > Vim has a thing called modeline. > > > > Perhaps such settings could be added straighgt into SlackBuild template > > files, this will exclude the need for each contribu

Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-05 Thread Christoph Willing
On 5/9/20 10:13 am, flinchx via SlackBuilds-users wrote: > Vim has a thing called modeline. > > Perhaps such settings could be added straighgt into SlackBuild template > files, this will exclude the need for each contributor to manage them > explicitly in vimrc? > Not everyone uses vim to edit

Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-04 Thread flinchx via SlackBuilds-users
Vim has a thing called modeline. Perhaps such settings could be added straighgt into SlackBuild template files, this will exclude the need for each contributor to manage them explicitly in vimrc? ‐‐‐ Original Message ‐‐‐ On Friday, September 4, 2020 7:09 PM, Dave Woodfall wrote: > O

Re: [Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-04 Thread Dave Woodfall
On 04/09/20 15:16, Slackbuilds Users put forth the proposition: > Hi list, > Does anyone have (or aware of) a vim formatting rules file for SlackBuilds? > I recently submitted a SlackBuild that had mixed tabs and spaces... I want to > avoid that oversight in the future. > After a quick internet

[Slackbuilds-users] Vim indent settings for SlackBuilds

2020-09-04 Thread Erich Ritz via SlackBuilds-users
Hi list, Does anyone have (or aware of) a vim formatting rules file for SlackBuilds? I recently submitted a SlackBuild that had mixed tabs and spaces... I want to avoid that oversight in the future. After a quick internet search all I turned up was this, which is for automatically treating th