emacs-devel
[Top][All Lists]
Advanced

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

Re: simple patch for `align.el'


From: David Kastrup
Subject: Re: simple patch for `align.el'
Date: Sun, 24 Oct 2004 09:15:53 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

John Wiegley <address@hidden> writes:

> Paul Pogonyshev <address@hidden> writes:
>
>> then select this region and `M-x align' it.  The first line will
>> have a space followed by a tab, which is not good and is frowned
>> upon by the `whitespace' module.  The simple patch below fixes this.
>
> The patch looks fine enough to me.  Just take care that the deletion
> does not adversely affect any markers.  I remember having lots of
> subtle bugs with that in the past.

Good point.  The easiest way to do that is to _first_ insert the tab,
then remove the spaces.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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