emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40059: closed (lisp-mode indentation not aligned vertically)


From: GNU bug Tracking System
Subject: bug#40059: closed (lisp-mode indentation not aligned vertically)
Date: Sun, 03 May 2020 01:14:01 +0000

Your message dated Sun, 03 May 2020 03:13:08 +0200
with message-id <address@hidden>
and subject line Re: bug#40059: lisp-mode indentation not aligned vertically
has caused the debbugs.gnu.org bug report #40059,
regarding lisp-mode indentation not aligned vertically
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
40059: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40059
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: lisp-mode indentation not aligned vertically Date: Fri, 13 Mar 2020 21:46:48 -0700
This code sample demonstrates what I consider to be a bug in the
lisp-mode indentation.

Here is a very simple example:

(:a :b
 :c
    :d
 :e)


Here it is in an actual use case (defining Common Lisp packages)
(defpackage :example
  (:use :cl)

  ;; Here is the weird part:
  (:export :thing1
   :thing2
           :thing3
    :thing4
           :thing5))

A sane, non-buggy indentation would be this:
(defpackage :example
  (:use :cl)

  ;; These are aligned vertically:
  (:export :thing1
           :thing2
           :thing3
           :thing4
           :thing5))

This seems to be primarily caused by the keyword argument as the first
element of the unquoted list.

This is especially an issue if using aggressive formatting like
aggressive indent mode. 
<https://github.com/Malabarba/aggressive-indent-mode/issues/122>

-- 
Spenser Truex
spensertruex.com
SFSU Computer Science



--- End Message ---
--- Begin Message --- Subject: Re: bug#40059: lisp-mode indentation not aligned vertically Date: Sun, 03 May 2020 03:13:08 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
martin rudalics <address@hidden> writes:

>> Here is my M-x version
>> GNU Emacs 27.0.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.14) of 
>> 2020-03-07
>
> Have you tried with emacs -Q?

More information was requested, but none was given within 6 weeks, so
I'm closing this bug.  It was already tagged unreproducible.

If this is still an issue, please reply to this email (use "Reply to
all" in your email client) and we can reopen the bug report.

Best regards,
Stefan Kangas


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]