GNU bug report logs - #36552
25.1; lisp tagbody indentation not working

Previous Next

Package: emacs;

Reported by: Ryan Brown <ryan <at> derivita.com>

Date: Mon, 8 Jul 2019 15:18:01 UTC

Severity: normal

Tags: fixed

Found in version 25.1

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ryan Brown <ryan <at> derivita.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 36552 <at> debbugs.gnu.org
Subject: bug#36552: 25.1; lisp tagbody indentation not working
Date: Mon, 8 Jul 2019 16:32:17 -0600
[Message part 1 (text/plain, inline)]
M-X eval-expression (require 'cl-indent)
M-X set-variable lisp-indent-function common-lisp-indent-function
C-X f test.lisp
(PROG (A)
(foo)
BAR
(go BAR) )

The BAR should be indented less than the sexps:
(PROG (A)
   (foo)
 BAR
   (go BAR) )

On Mon, Jul 8, 2019 at 4:07 PM Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

> Ryan Brown <ryan <at> derivita.com> writes:
>
> > -          (cond ((and tail (not (consp tem)))
> > +          (cond ((and tail (not (or (consp tem) (symbolp tem))))
>
> Thanks.  I was, however, unable to see any difference in how PROG was
> indented.  Do you have a test case, starting from emacs -Q that displays
> the problem and that's fixed by this patch?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 312 days ago.

Previous Next


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