From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John A Pershing Jr Newsgroups: gmane.emacs.help Subject: Re: Right align a single line Date: Sat, 22 Aug 2009 17:16:30 -0400 Organization: Optimum Online Message-ID: <82r5v3sg5t.fsf@alum.mit.edu> References: <87ljld44jk.wl%anselm.helbig+news2009@googlemail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250977745 17924 80.91.229.12 (22 Aug 2009 21:49:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2009 21:49:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 22 23:48:58 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MeySE-0001PT-HT for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Aug 2009 23:48:54 +0200 Original-Received: from localhost ([127.0.0.1]:58795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeySE-0005YX-3o for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Aug 2009 17:48:54 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!nx01.iad01.newshosting.com!newshosting.com!69.16.185.51.MISMATCH!tmp-post01.iad!news.highwinds-media.com!news.cv.net!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:wxcnUxVVdtyurF56DnjyXN3srRw= Original-Lines: 17 Original-NNTP-Posting-Host: 68.199.26.242 Original-X-Complaints-To: abuse@cv.net Original-Xref: news.stanford.edu gnu.emacs.help:172280 X-Mailman-Approved-At: Sat, 22 Aug 2009 17:47:36 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67431 Archived-At: Noah Slater 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