GNU bug report logs -
#14075
24.3.50; Escaped parentheses break sh-mode indentation
Previous Next
Reported by: Josh <josh <at> foxtail.org>
Date: Thu, 28 Mar 2013 16:13:01 UTC
Severity: normal
Found in version 24.3.50
Done: Josh <josh <at> foxtail.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14075 in the body.
You can then email your comments to 14075 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14075
; Package
emacs
.
(Thu, 28 Mar 2013 16:13:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Josh <josh <at> foxtail.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 28 Mar 2013 16:13:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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 <at> 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
[...]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14075
; Package
emacs
.
(Thu, 28 Mar 2013 16:43:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
I think this is a duplicate of #13161.
Christopher
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14075
; Package
emacs
.
(Thu, 28 Mar 2013 17:25:01 GMT)
Full text and
rfc822 format available.
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
On Thu, Mar 28, 2013 at 9:39 AM, Christopher Schmidt
<christopher <at> ch.ristopher.com> wrote:
> I think this is a duplicate of #13161.
>
> Christopher
Yes, I somehow missed that and Emacs does correctly indent the script
when I employ Stefan's suggested workaround, i.e. `` find . "(" -name
foo -prune ")" -o "(" -type f -name 'bar*' ")" -print0 | xargs -0
somecmd '' so I'll go ahead and close this.
Stefan, can you explain why this won't be fixed anytime soon? I've
been using \( ... \) in find invocations for a million years, give or
take, and I expect it will take not a little effort to habituate
myself to quoting parentheses this way.
Reply sent
to
Josh <josh <at> foxtail.org>
:
You have taken responsibility.
(Thu, 28 Mar 2013 17:25:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Josh <josh <at> foxtail.org>
:
bug acknowledged by developer.
(Thu, 28 Mar 2013 17:25:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14075
; Package
emacs
.
(Fri, 19 Apr 2013 15:38:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 14075 <at> debbugs.gnu.org (full text, mbox):
> Stefan, can you explain why this won't be fixed anytime soon?
Last time I looked it seemed to require more work than I time for it.
Stefan
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 18 May 2013 11:24:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 37 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.