all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John A Pershing Jr <pershing@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Right align a single line
Date: Sat, 22 Aug 2009 17:16:30 -0400	[thread overview]
Message-ID: <82r5v3sg5t.fsf@alum.mit.edu> (raw)
In-Reply-To: mailman.5117.1250926034.2239.help-gnu-emacs@gnu.org

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


  parent reply	other threads:[~2009-08-22 21:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5017.1250860029.2239.help-gnu-emacs@gnu.org>
2009-08-21 14:36 ` Right align a single line Anselm Helbig
2009-08-21 16:23   ` Noah Slater
2009-08-21 18:55   ` Noah Slater
     [not found]   ` <mailman.5117.1250926034.2239.help-gnu-emacs@gnu.org>
2009-08-22 21:16     ` John A Pershing Jr [this message]
2009-08-20 19:38 Noah Slater
  -- strict thread matches above, loose matches on Subject: below --
2009-07-22 17:05 Noah Slater

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=82r5v3sg5t.fsf@alum.mit.edu \
    --to=pershing@alum.mit.edu \
    --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.