GNU bug report logs - #11314
24.1.50; Regression: incorrect Lisp indentation for `if' with `@@@@@@'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 23 Apr 2012 00:58:01 UTC

Severity: minor

Tags: confirmed

Merged with 24542

Found in versions 24.1.50, 25.1.50, 27.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefan <at> marxist.se>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 11314 <at> debbugs.gnu.org
Subject: Re: 24.1.50; Regression: incorrect Lisp indentation for `if' with
 `@@@@@@'
Date: Fri, 01 Nov 2019 20:59:15 +0100
found 11314 27.0.50
thanks

"Drew Adams" <drew.adams <at> oracle.com> writes:

> emacs -Q
>  
> Type this into an Emacs Lisp buffer:
>  
> (if (alpha beta) C-j aaaaaa C-j bbbbbb
>  
> You get this:
>  
> (if (alpha beta)
>     aaaaaa
>   bbbbbb
>  
> That is correct.  bbbbbb is indented correctly.
>  
> Now do the same thing, using @@@@@@ instead of aaaaaa.  This is the
> result - bbbbbb is indented incorrectly.
>  
> (if (alpha beta)
>     @@@@@@
>     bbbbbb
>  
> Yet @@@@@@ is a perfectly good symbol/variable name etc.
>  
> This regression was introduced in Emacs 22.

I can reproduce this on current master.

Best regards,
Stefan Kangas




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

Previous Next


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