From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Code alignment Date: Fri, 25 Aug 2006 14:26:59 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1156508887 17591 80.91.229.2 (25 Aug 2006 12:28:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Aug 2006 12:28:07 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 25 14:28:04 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GGams-0005J1-QU for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Aug 2006 14:27:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGams-0001pn-80 for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Aug 2006 08:27:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GGam9-0001bY-Px for help-gnu-emacs@gnu.org; Fri, 25 Aug 2006 08:27:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GGam7-0001aL-Ig for help-gnu-emacs@gnu.org; Fri, 25 Aug 2006 08:27:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGam7-0001a6-5W for help-gnu-emacs@gnu.org; Fri, 25 Aug 2006 08:27:03 -0400 Original-Received: from [217.72.192.227] (helo=fmmailgate02.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GGauO-0005AO-Bh for help-gnu-emacs@gnu.org; Fri, 25 Aug 2006 08:35:36 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id 400E317489BB; Fri, 25 Aug 2006 14:27:02 +0200 (CEST) Original-Received: from [84.245.187.11] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1GGam5-0006Kv-00; Fri, 25 Aug 2006 14:27:02 +0200 In-Reply-To: X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: Ewen Cartwright X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de 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:36929 Archived-At: Am 25.08.2006 um 12:24 schrieb Ewen Cartwright: > formatting code like: > > > > > > as: > > > > One simple way to achieve 'right side alignment' works by positioning the equals sign in some column and continue to write. In the next line press TAB and the cursor should advance to the next column of the line above. I've used it in text-mode, but I cannot exactly remember whether it worked in programming modes. In some (shell for example) a TAB is mis-interpreted as positioning the left most word ... This "fails" a bit when the line above has some words spread all over it, but in the end a few TABs lead to the look you wish to have. -- Greetings Pete "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook