|
From: | Stefan Monnier |
Subject: | Re: [Proposal] M-x tabify to indent only when needed. |
Date: | Tue, 25 Jul 2006 12:21:31 -0400 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Whatever, the docstring should be modified to tell that > \"^\\\\( \\t*\\\\)+\" must be used for « tabifying only initial > whitespace » (IINM). I'm not sure this regexp will give correct results. Actually I don't think you can come up with a regexp for this problem that works correctly (in the sense of the resulting buffer text) and that also allows my code to avoid changing the buffer when it's not needed. It's a limitation of my code. It can probably be lifted with a (skip-chars-forward "\t"). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |