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

Full log


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 1 year and 349 days ago.

Previous Next


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