help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: whitespace-cleanup + untabify?


From: Nikolaj Schumacher
Subject: Re: whitespace-cleanup + untabify?
Date: Sun, 15 Jun 2008 23:23:22 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin)

"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> wrote:

>>> I have never used whitespace-cleanup (I use delete-trailing-whitespace),
>>>   but from the doc of this function it looks like it also untabifies if
>>> `indent-tabs-mode' is nil. Does not that work?
>>
>> Yes, that's what I thought, but was not the case, as if I applied
>> whitespace-cleanup and then untabify, the file was modified (that is,
>> it still converted *some* tabs to spaces), so I assumed it didn't work
>> this way. I had indent-tabs-mode set to nil also.
>
> In that case it looks like a bug to me. Could you please send a bug report

>From the documentation it appears to me that it will transform 8
spaces to tabs, but not vice-versa.  So I don't think it's necessarily a
bug.  But I do think it would be a good feature to add.


regards,
Nikolaj Schumacher




reply via email to

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