unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Josh <josh@foxtail.org>
To: 14075@debbugs.gnu.org
Subject: bug#14075: 24.3.50; Escaped parentheses break sh-mode indentation
Date: Thu, 28 Mar 2013 09:08:47 -0700	[thread overview]
Message-ID: <CANdFEAG7TJBk4cFrNP6ptbStFJzWT39GaCe1AMStGY8w3az++Q@mail.gmail.com> (raw)

Steps to reproduce:

1) put the following text into file `foo' and visit it:
#!/bin/bash

find . \( -name foo -prune \) -o \( -type f -name 'bar*' \) -print0 |
xargs -0 somecmd
echo why is this line indented???
2) C-x h C-M-\
3) Expected behavior: buffer contents would be unchanged
4) Actual behavior: buffer was modified as follows:
#!/bin/bash

find . \( -name foo -prune \) -o \( -type f -name 'bar*' \) -print0 |
xargs -0 somecmd
        echo why is this line indented???


In GNU Emacs 24.3.50.1 (x86_64-apple-darwin, NS apple-appkit-1187.34)
 of 2013-03-04 on bix
Bzr revision: 111935 yamaoka@jpl.org-20130304102733-4qy111z41qwoh2as
Windowing system distributor `Apple', version 10.3.1187
Configured using:
 `configure --host=x86_64-apple-darwin --build=i686-apple-darwin
 --with-ns'

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t
[...]





             reply	other threads:[~2013-03-28 16:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-28 16:08 Josh [this message]
2013-03-28 16:39 ` bug#14075: 24.3.50; Escaped parentheses break sh-mode indentation Christopher Schmidt
2013-03-28 17:21   ` Josh
2013-04-19 15:32     ` Stefan Monnier

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=CANdFEAG7TJBk4cFrNP6ptbStFJzWT39GaCe1AMStGY8w3az++Q@mail.gmail.com \
    --to=josh@foxtail.org \
    --cc=14075@debbugs.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).