From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: [jidanni@jidanni.org: Shell-script "done" becomes indented with pipe] Date: Thu, 12 Oct 2006 19:42:50 -0400 Message-ID: <87fydtm77p.fsf@cs.cmu.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1160696606 14175 80.91.229.2 (12 Oct 2006 23:43:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2006 23:43:26 +0000 (UTC) Cc: Dan Jacobson , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 13 01:43:24 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GYACt-0003NR-Uj for ged-emacs-devel@m.gmane.org; Fri, 13 Oct 2006 01:43:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYACt-0000Ps-Gy for ged-emacs-devel@m.gmane.org; Thu, 12 Oct 2006 19:43:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYACg-0000PG-83 for emacs-devel@gnu.org; Thu, 12 Oct 2006 19:43:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYACe-0000Ol-DZ for emacs-devel@gnu.org; Thu, 12 Oct 2006 19:43:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYACe-0000Oi-A7 for emacs-devel@gnu.org; Thu, 12 Oct 2006 19:43:04 -0400 Original-Received: from [205.201.10.244] (helo=maru) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GYAKv-00034H-LS; Thu, 12 Oct 2006 19:51:37 -0400 Original-Received: from md5i by maru with local (Exim 4.63) (envelope-from ) id 1GYACQ-0002h0-BR; Thu, 12 Oct 2006 19:42:50 -0400 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue\, 10 Oct 2006 06\:37\:25 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60693 Archived-At: --=-=-= Richard Stallman writes: > From: Dan Jacobson > Subject: Shell-script "done" becomes indented with pipe > To: emacs-pretest-bug@gnu.org > Date: Mon, 09 Oct 2006 23:45:58 +0800 > X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed > version=3.0.4 > > In recent Shell-script mode, the last line of > while : > do > bla > done > becomes indented > done|xxx > if one adds a pipe. I didn't check to see maybe if this is a feature. This seems to be fixable using the follwing simple patch: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment *** sh-script.el 03 Oct 2006 22:47:55 -0400 1.189 --- sh-script.el 12 Oct 2006 19:41:35 -0400 *************** *** 2521,2527 **** (goto-char where)) (prog1 (buffer-substring (point) ! (progn (skip-chars-forward "^ \t\n;&")(point))) (unless and-move (goto-char start))))) --- 2521,2527 ---- (goto-char where)) (prog1 (buffer-substring (point) ! (progn (skip-chars-forward "^ \t\n;&|")(point))) (unless and-move (goto-char start))))) --=-=-= -- Michael Welsh Duggan (md5i@cs.cmu.edu) --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--