From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: align values in a lisp let form
Date: Sat, 24 Sep 2005 12:38:08 -0400 [thread overview]
Message-ID: <877jd6whl9.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.8151.1127433756.20277.help-gnu-emacs@gnu.org
> Is there a way to align values in a let when editing, ie. to go from
> (let ((x 1)
> (foo 2)
> (zz 3))
> to
> (let ((x 1)
> (foo 2)
> (zz 3))
> I made myself a bit of code to do it, but I'd be surprised if nobody
> else has done something like this before. align.el doesn't seem to
> suit.
The align.el package (see C-h f align RET) is meant to do those kinds of
things, tho it doesn't seem to have an alignment rule for the above case.
You can also try C-h f align-regexp.
Stefan
next parent reply other threads:[~2005-09-24 16:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.8151.1127433756.20277.help-gnu-emacs@gnu.org>
2005-09-24 16:38 ` Stefan Monnier [this message]
2005-09-26 19:23 ` align values in a lisp let form Alan Wehmann
2005-09-23 0:01 Kevin Ryde
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=877jd6whl9.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
/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.
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).