GNU bug report logs - #30170
indent-for-tab-command fooled by for statement

Previous Next

Package: emacs;

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

Date: Fri, 19 Jan 2018 12:56:01 UTC

Severity: minor

Tags: confirmed, patch

Merged with 2910, 21244, 26217, 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.

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 30170 <at> debbugs.gnu.org
Subject: bug#30170: indent-for-tab-command fooled by for statement
Date: Fri, 19 Jan 2018 20:55:09 +0800
indent-for-tab-command is fooled by this for statement into thinking the
following lines should be indented.

#!/bin/sh
ls
rm -vi zzz

for i do :; done
    rm -vi zzz

    ls
    rm -vi zzz




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

Previous Next


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