all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Two adjacent spaces and tabify
@ 2014-11-09 15:33 Alan Mackenzie
  2014-11-09 16:29 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Mackenzie @ 2014-11-09 15:33 UTC (permalink / raw)
  To: emacs-devel

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).



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-10 11:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-09 15:33 Two adjacent spaces and tabify Alan Mackenzie
2014-11-09 16:29 ` Eli Zaretskii
2014-11-10  9:50   ` Sebastien Vauban
2014-11-10 10:53     ` Eli Zaretskii
2014-11-10 11:22       ` Sebastien Vauban

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.