From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "David W. Hodgins" Newsgroups: gmane.emacs.help Subject: Re: GURU NEEDED : break a command into several lines and comment each line Date: Thu, 13 Jan 2011 17:08:46 -0500 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1294997253 17260 80.91.229.12 (14 Jan 2011 09:27:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 14 Jan 2011 09:27:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 14 10:27:29 2011 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.69) (envelope-from ) id 1PdfwO-0005NQ-Ap for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Jan 2011 10:27:28 +0100 Original-Received: from localhost ([127.0.0.1]:39422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdfwM-0003Zx-Fp for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Jan 2011 04:27:26 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: comp.unix.shell,gnu.emacs.help,comp.lang.python Original-Lines: 26 Injection-Info: mx02.eternal-september.org; posting-host="AvsmxFBL6MjLQZT7vWCjMg"; logging-data="17814"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18UIYPWD6vWyoplGLZhsW3DWI6cnWLQTD4=" User-Agent: Opera Mail/11.01 (Linux) Cancel-Lock: sha1:mJd2RkTQKR4uvO+/+9GPJ6WDh3s= Original-Xref: usenet.stanford.edu comp.unix.shell:249283 gnu.emacs.help:184248 comp.lang.python:651746 X-Mailman-Approved-At: Fri, 14 Jan 2011 04:24:40 -0500 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:78436 Archived-At: On Thu, 13 Jan 2011 16:18:31 -0500, bolega wrote: > how to break a command with several switches into more than one line > AND to be able to put some comment on each line. > command \ # comment1 > -sw1 \ # comment2 Not what you want to hear, but that will not work. With the above, the backslash is being used to escape the following space, rather then a newline, as is required to continue the line. Even if it were to work that way, would the next line be considered a continuation of the command, or of the comment? Your stuck with command \ -sw1 # comment1 # comment2 Regards, Dave Hodgins -- Change nomail.afraid.org to ody.ca to reply by email. (nomail.afraid.org has been set up specifically for use in usenet. Feel free to use it yourself.)