On May 27, 4:37 pm, James Widman <[EMAIL PROTECTED]> wrote:
> On 2008/05/27, at 15:49, François Ingelrest wrote:
>
> > While I totally dislike putting preprocessor directives in the first  
> > column, I doubt this will be changed as this could break  
> > compatibility with previous versions.
>
> Interesting; I wasn't aware of any that.  What could break?
>
> > Moreover, it's just one line in your .vimrc to get the behavior you  
> > want.
>
> Right; I already did that.
>
> The points I'm trying to make are (a) the Vim documentation for '>'  
> seems to be saying something about the language that isn't true and  
> (b1) the default behavior is surprising for someone who needs to  
> indent '#' characters while (b2) the opposite default would not result  
> in the same degree of surprise for people who need to use the '#-in-
> first-column' style.
>
> Generally, one shouldn't have to set an option in order to get  
> behavior that is less surprising than the behavior that would be seen  
> with the default setting.
>

I don't think anyone is saying that the auto-indent shouldn't place
preprocessors at the beginning of the line. I can agree with that.
But, should Vim by default _disable_manual_indenting_? I think not!

Granted, it is a simple vimrc fix, so perhaps it is okay. On the other
hand though, it would be an equally simple fix to add back in the old
behavior if we don't include 0# by default, and I think more people
are annoyed by not being able to manually indent than would be annoyed
by the change.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui