help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Right align a single line


From: John A Pershing Jr
Subject: Re: Right align a single line
Date: Sat, 22 Aug 2009 17:16:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt)

Noah Slater <nslater@tumbolia.org> writes:

> How do I justify a single line to the right, without affecting
> subsequent lines?

There used to be a function to do exactly that, back when Emacs was
implemented in TECO and only ran on DEC mainframes.  (It was said that
merely three Emacs users could bring a KL-20 to its knees, although that
was an exaggeration.)

However, I can't find anything, so you will have to roll your own
function and, optionally, assign it to a key.  The required
functionality appears to be in 'justify-current-line', but this really
needs to be called from a wrapper defun -- it's not set up for direct
binding to a key.

  -jp


reply via email to

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