unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <gmorris+emacs@ast.cam.ac.uk>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: shell-script mode indentation skewed encountering "&"
Date: Thu, 30 Jun 2005 17:47:51 +0100	[thread overview]
Message-ID: <nqll4rdc5k.fsf@xpc14.ast.cam.ac.uk> (raw)
In-Reply-To: <87psu6rvlf.fsf@jidanni.org> (Dan Jacobson's message of "Wed, 29 Jun 2005 05:59:40 +0800")

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)))))

  reply	other threads:[~2005-06-30 16:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-28 21:59 shell-script mode indentation skewed encountering "&" Dan Jacobson
2005-06-30 16:47 ` Glenn Morris [this message]
     [not found] ` <E1DnjNw-0006zx-9h@fencepost.gnu.org>
2005-06-30 21:40   ` Dan Jacobson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nqll4rdc5k.fsf@xpc14.ast.cam.ac.uk \
    --to=gmorris+emacs@ast.cam.ac.uk \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).