From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: Re: shell-script mode indentation skewed encountering "&" Date: Thu, 30 Jun 2005 17:47:51 +0100 Message-ID: References: <87psu6rvlf.fsf@jidanni.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1120150025 9202 80.91.229.2 (30 Jun 2005 16:47:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2005 16:47:05 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 30 18:47:04 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Do2BE-0003mR-Jk for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jun 2005 18:46:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Do2JW-000301-4k for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jun 2005 12:54:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Do2J0-0002qa-32 for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2005 12:54:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Do2Io-0002kb-Jx for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2005 12:54:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Do2Io-0002jv-C9 for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2005 12:54:14 -0400 Original-Received: from [131.111.8.131] (helo=ppsw-1.csi.cam.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Do2Hh-0005sy-Po for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2005 12:53:05 -0400 X-Cam-SpamDetails: Not scanned X-Cam-AntiVirus: No virus found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from cass41.ast.cam.ac.uk ([131.111.69.186]:41732) by ppsw-1.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.131]:25) with esmtp id 1Do2Cg-0008Mn-4Z (Exim 4.51) (return-path ); Thu, 30 Jun 2005 17:47:54 +0100 Original-Received: from xserv1.ast.cam.ac.uk (xserv1.ast.cam.ac.uk [131.111.69.235]) by cass41.ast.cam.ac.uk (8.12.10+Sun/8.12.10) with ESMTP id j5UGlpZu011043; Thu, 30 Jun 2005 17:47:51 +0100 (BST) Original-Received: from xalph3.ast.cam.ac.uk (xpc14.ast.cam.ac.uk [131.111.69.34]) by xserv1.ast.cam.ac.uk (Postfix) with ESMTP id AED90D37CB; Thu, 30 Jun 2005 17:47:51 +0100 (BST) Original-To: Dan Jacobson X-Spook: Arab Revolutionary Brigades Abu Sayyaf plutonium warrant X-Ran: bLUTxVjOYE0ZE:R[Oc2Y2#58-N9:X/^;Z4nTjZ$D~4}DMQ!{62VH4k_A:xZq(:-bN{79V; X-Hue: yellow X-Attribution: GM Mail-Followup-To: Dan Jacobson , bug-gnu-emacs@gnu.org In-Reply-To: <87psu6rvlf.fsf@jidanni.org> (Dan Jacobson's message of "Wed, 29 Jun 2005 05:59:40 +0800") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:12383 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:12383 Dan Jacobson wrote: > ( > : note how the parentheses are nicely indented > ) > ( > : note how the closing parentheses is skewed when we add & > )& Thanks - I installed this fix in CVS: *** sh-script.el 14 Jun 2005 23:56:03 -0000 1.157 --- sh-script.el 30 Jun 2005 16:45:04 -0000 1.158 *************** *** 2370,2376 **** (goto-char where)) (prog1 (buffer-substring (point) ! (progn (skip-chars-forward "^ \t\n;")(point))) (unless and-move (goto-char start))))) --- 2370,2376 ---- (goto-char where)) (prog1 (buffer-substring (point) ! (progn (skip-chars-forward "^ \t\n;&")(point))) (unless and-move (goto-char start)))))