emacs-devel
[Top][All Lists]
Advanced

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

Two adjacent spaces and tabify


From: Alan Mackenzie
Subject: Two adjacent spaces and tabify
Date: Sun, 9 Nov 2014 15:33:07 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Hello, Emacs.

I have some elisp source on which tabify has been run.  This is fine and
good, but in many places in comments (and even strings), two spaces have
been replaced by a tab.  Even worse, in many other places, two spaces
have been replaced by tab, space.

With a tab-width of 8, one of these can be expected to occur every
fourth end of sentence, more or less.  This is not good.

It is easy enough to configure tabify such that only spaces at the
beginning of a line are candidates for tabs, but that might wipe out
desired tabs (for example, in commented out code).

Does anybody already have a solution for this problem, or any good ideas
on how to fix the current state (or even how to stop it happening in the
first place)?

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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