<<< Date Index >>>     <<< Thread Index >>>

Re: mutt development and road map



On 2005-07-14 16:17:07 -0400, Derek Martin wrote:
> On Thu, Jul 14, 2005 at 09:37:31PM +0200, Vincent Lefevre wrote:
> > IMHO, tabs should never be used. In particular, they lead to problems
> > with copy-paste from various places (e.g. copy-pasting a patch from a
> > web page).
> 
> You can always just not use copy-paste...  You could download the file
> instead (patches are usually, but not always, posted in plain ASCII
> text), and just read it into your editor.  :)

Some patches are posted in mailing-lists only, and some archives
don't provide the messages in some mailbox format. So, tabs are
converted to spaces and trailing spaces are stripped.

> One case for using tabs (there are others; see Linus T.'s explanation
> of the Linux kernel coding style for more) is that it provides the
> opportunity for everyone to be happy...  Most reasonable editors let
> the user control how many spaces are indented when displaying tab
> characters.  So, everyone gets to use whatever indent they prefer by
> just changing the width of tab.

But you won't get aligned code any longer when some lines are split
into several lines, unless you mix tab and spaces in a very strict
way, but this can make editing a nightmare.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA