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


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

From: Ivan Kanis <ivan.kanis <at> googlemail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 9190 <at> debbugs.gnu.org
Subject: Re: bug#9190: closed (Re: bug#9190: 24.0.50;
	wrong indentation in shell mode with main function)
Date: Thu, 04 Aug 2011 07:25:48 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:

>> 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?

It now works... Sorry for the noise.
-- 
Ivan Kanis
http://kanis.fr

In big industry new ideas are invited to rear their heads so they can
be clobbered at once. The idea department of a big firm is a sort of
lab for isolating dangerous viruses.
    -- Marshall McLuhan 




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.