From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: simple patch for `align.el'
Date: Sun, 24 Oct 2004 09:15:53 +0200 [thread overview]
Message-ID: <x57jpg1t92.fsf@lola.goethe.zz> (raw)
In-Reply-To: <m21xfp7ywt.fsf@Majnun.local> (John Wiegley's message of "Sat, 23 Oct 2004 17:17:06 -0700")
John Wiegley <johnw@gnu.org> writes:
> Paul Pogonyshev <pogonyshev@gmx.net> 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
prev parent reply other threads:[~2004-10-24 7:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-23 22:38 simple patch for `align.el' Paul Pogonyshev
2004-10-24 0:17 ` John Wiegley
2004-10-24 7:15 ` David Kastrup [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x57jpg1t92.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).