[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Whitespace cleanup

From: Dan Nicolaescu
Subject: Re: Whitespace cleanup
Date: Thu, 23 Aug 2012 09:23:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Jordi Gutiérrez Hermoso <address@hidden> writes:

> On 22 August 2012 11:44, Drew Adams <address@hidden> wrote:
>> I, for one, would like to see the tabs replaced by spaces in the Lisp code 
>> that
>> is shipped.  It's not a big deal, but I invariably find myself later 
>> cleaning up
>> pieces in code of mine that might have parts originally copy+yanked from 
>> vanilla
>> code.
>> But like I say, not a big deal at all.
>> `C-x h M-x untabify', and you're done.
> That only works after you figure out what the correct tab width should
> have been to begin with.
> On 22 August 2012 12:07, Stefan Monnier <address@hidden> wrote:
>> If an Elisp file requires a tab-width different from 8 to be indented
>> properly, that's a bug.
> The indentation offset is rarely 8, so I guess tabs get inserted only
> after 4 levels of indentation, creating a horrible mix.

If you use (a new enough) emacs to edit emacs sources tab-width is set
to 8 automatically.  So no problem here.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]