GNU bug report logs - #64422
Need space before pipe to get shell-script mode's indent correct

Previous Next

Package: emacs;

Reported by: Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 2 Jul 2023 13:38:02 UTC

Severity: normal

To reply to this bug, email your comments to 64422 AT debbugs.gnu.org.

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#64422; Package emacs. (Sun, 02 Jul 2023 13:38: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. (Sun, 02 Jul 2023 13:38: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 <at> gnu.org
Subject: Need space before pipe to get shell-script mode's indent correct
Date: Sun, 02 Jul 2023 08:37:00 -0500
In emacs-version "28.2"
the "fi" won't slide back to the left margin upon TAB,


#!/bin/sh
if true
then
    for Y in W
    do
	n=$X$Y
    done|grep .
    fi

unless I add a space before the pipe!




This bug report was last modified 306 days ago.

Previous Next


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