GNU bug report logs - #21244
shell-script mode indentation fooled by one-liner 'for' statement

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 12 Aug 2015 16:33:01 UTC

Severity: minor

Tags: confirmed, patch

Merged with 2910, 26217, 30170, 46093, 48193

Found in versions 25.0.95, 25.2

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

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 21244 in the body.
You can then email your comments to 21244 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21244; Package emacs. (Wed, 12 Aug 2015 16:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 12 Aug 2015 16:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: shell-script mode indentation fooled by one-liner 'for' statement
Date: Thu, 13 Aug 2015 00:32:30 +0800
In shell-script [Bash] mode, C-x h TAB gives

for i do mountpoint -q $i||exit 88; done
    c=apt-get #aptitude

which has wrong indentation. It should be

for i do mountpoint -q $i||exit 88; done
c=apt-get #aptitude




Forcibly Merged 21244 26217. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Wed, 22 Mar 2017 13:34:01 GMT) Full text and rfc822 format available.

Forcibly Merged 2910 21244 26217. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Fri, 15 Dec 2017 20:18:02 GMT) Full text and rfc822 format available.

Merged 2910 21244 26217 30170. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Fri, 19 Jan 2018 13:29:01 GMT) Full text and rfc822 format available.

Forcibly Merged 2910 21244 26217 30170 46093. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 28 Jan 2021 02:46:02 GMT) Full text and rfc822 format available.

Removed tag(s) notabug. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 28 Jan 2021 09:13:02 GMT) Full text and rfc822 format available.

Forcibly Merged 2910 21244 26217 30170 46093 48193. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 03 May 2021 15:22:02 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Mauro Aranda <maurooaranda <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 14 Oct 2023 12:46:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 12 Nov 2023 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 179 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.