[pacman-dev] [PATCH 1/2] Change Vim modeline in prototypes from "ts=2 sw=2 et" to "noet"
From: "Jason St. John"
From: "Jason St. John"
On 17/11/12 09:06, Jason St. John wrote:
From: "Jason St. John"
It makes little sense to "force" users to replace tabs with spaces, with a width of 2. These settings should be configured by the user in their own ~/.vimrc.
Bluewind stated on IRC that removing "et" is a bad idea and that it would be better to just turn that setting off with "noet". By "forcing" the use of tabs, this supports better compatibility between various user preferences because the width of tabs/indents is, and should be, an editor setting.
It makes even less sense to "force" users to have vim modelines at all. My vote is to remove them completely from the prototypes. Allan
On Fri, Nov 16, 2012 at 6:11 PM, Allan McRae
On 17/11/12 09:06, Jason St. John wrote:
From: "Jason St. John"
It makes little sense to "force" users to replace tabs with spaces, with a width of 2. These settings should be configured by the user in their own ~/.vimrc.
Bluewind stated on IRC that removing "et" is a bad idea and that it would be better to just turn that setting off with "noet". By "forcing" the use of tabs, this supports better compatibility between various user preferences because the width of tabs/indents is, and should be, an editor setting.
It makes even less sense to "force" users to have vim modelines at all. My vote is to remove them completely from the prototypes.
Allan
I actually prefer removing the modeline too. There was apparently some confusion in #archlinux-projects between Bluewind and myself. I'm working on another patch to remove the modeline completely. Jason
On Fri, Nov 16, 2012 at 5:11 PM, Allan McRae
On 17/11/12 09:06, Jason St. John wrote:
From: "Jason St. John"
It makes little sense to "force" users to replace tabs with spaces, with a width of 2. These settings should be configured by the user in their own ~/.vimrc.
Bluewind stated on IRC that removing "et" is a bad idea and that it would be better to just turn that setting off with "noet". By "forcing" the use of tabs, this supports better compatibility between various user preferences because the width of tabs/indents is, and should be, an editor setting.
It makes even less sense to "force" users to have vim modelines at all. My vote is to remove them completely from the prototypes.
I disagree on this; it is all too easy to start intermingling tabs and spaces in these otherwise. The original patch idea seems fine to me. -Dan
On Sun, Nov 18, 2012 at 8:08 PM, Dan McGee
On Fri, Nov 16, 2012 at 5:11 PM, Allan McRae
wrote: On 17/11/12 09:06, Jason St. John wrote:
From: "Jason St. John"
It makes little sense to "force" users to replace tabs with spaces, with a width of 2. These settings should be configured by the user in their own ~/.vimrc.
Bluewind stated on IRC that removing "et" is a bad idea and that it would be better to just turn that setting off with "noet". By "forcing" the use of tabs, this supports better compatibility between various user preferences because the width of tabs/indents is, and should be, an editor setting.
It makes even less sense to "force" users to have vim modelines at all. My vote is to remove them completely from the prototypes.
I disagree on this; it is all too easy to start intermingling tabs and spaces in these otherwise. The original patch idea seems fine to me.
Err; keep et/noet in docs; drop them in prototypes seems fine. Got my emails crossed there. -Dan
participants (3)
-
Allan McRae
-
Dan McGee
-
Jason St. John