From: jrwats <jrwats@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Fancier align-regexp?
Date: Mon, 12 Jan 2009 21:25:49 -0800 (PST) [thread overview]
Message-ID: <3e3b99bf-a2ad-43a8-8a56-de3f47c0455a@f40g2000pri.googlegroups.com> (raw)
Input:
Lorem ipsum dolor: sit amet
consectetur: adipiscing elit. Etiam
sed purus: Vestibulum
ante: ipsum
primis in: faucibus
You'll have to paste the following into emacs I'm afraid (or set your
browser to monospace font?) to get this to look 1/2 decent.
I want (the colons aligned with the words preceding them "following"
the colon to the aligned point)
Internet IP Address: 67.170.74.92
Subnet Mask: 255.255.252.0
Default Gateway: 67.170.72.1
DNS1: 68.87.69.146
DNS2: 68.87.85.98
DNS3: 68.87.78.130
calling align-regexp on ":" doesn't work obviously and puts the spaces
between the words preceding the colon:
rem ipsum dolor : sit amet
consectetur : adipiscing elit. Etiam
sed purus : Vestibulum
ante : ipsum
primis in : faucibus
I know align-regexp has a fancier method to use with a prefix arg, but
I'm not smart enough for it. Is it possible to accomplish this with
align-regexp? A macro?
next reply other threads:[~2009-01-13 5:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-13 5:25 jrwats [this message]
2009-01-13 14:57 ` Fancier align-regexp? Scott Frazer
2009-01-13 22:12 ` jrwats
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3e3b99bf-a2ad-43a8-8a56-de3f47c0455a@f40g2000pri.googlegroups.com \
--to=jrwats@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.