From: Sivaram Neelakantan <nsivaram.net@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Baffled by M-x align/ align-regexp
Date: Thu, 17 Apr 2008 14:39:37 +0530 [thread overview]
Message-ID: <uwsmwu9ta.fsf@gmail.com> (raw)
I wanted to align text and so rooted around the manual to find out how
to do it. Found align but couldn't figure how to get it to align text
the way I wanted.
Say I want to go from
1 200 3 4
10 11 12 14
999 10 4000 897
to
1 200 3 4
10 11 12 14
999 10 4000 897
How do I do that? I tried M-x align, align-regexp with \\( +\\), with
C-u 3 M-x align-regexp \\( +\\) and leaving the rest as
defaults. Nothing worked.
Is this the right function to use? I'd expect,with text too,I'd have
a similar requirement; either right or left justified.
sivaram
--
Win 32 Emacs-22.2
next reply other threads:[~2008-04-17 9:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-17 9:09 Sivaram Neelakantan [this message]
[not found] <mailman.10474.1208423396.18990.help-gnu-emacs@gnu.org>
2008-04-19 10:58 ` Baffled by M-x align/ align-regexp Sven Naumann
2008-04-20 16:13 ` Sivaram Neelakantan
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=uwsmwu9ta.fsf@gmail.com \
--to=nsivaram.net@gmail.com \
--cc=help-gnu-emacs@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.
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).