GNU bug report logs - #9190
24.0.50; wrong indentation in shell mode with main function

Previous Next

Package: emacs;

Reported by: ivan.kanis <at> googlemail.com

Date: Thu, 28 Jul 2011 19:12:04 UTC

Severity: normal

Found in version 24.0.50

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ivan Kanis <ivan.kanis <at> googlemail.com>
Cc: 9190 <at> debbugs.gnu.org
Subject: bug#9190: closed (Re: bug#9190: 24.0.50; wrong indentation in shell mode with main function)
Date: Wed, 03 Aug 2011 22:19:20 -0400
> I have tried your patch today. Sadly it doesn't work... I saw your changes
> from bzr in lisp/progmodes/sh-script.el. I even evaled the file to be sure
> I am not missing anything. I get the exact same behavior.

I just tried and cannot reproduce the problem.  Maybe you've evalled
sh-script.el after loading the test file (in that case, you need to edit
the "main ()" line (e.g. insert a space and remove it) to force
re-computing the syntax-properties of the close-paren using the new
code).
Otherwise, can you give a precise recipe?


        Stefan




This bug report was last modified 13 years and 291 days ago.

Previous Next


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