GNU bug report logs - #26067
25.1; cl-defmethod indent setting wrong

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Sun, 12 Mar 2017 03:56:01 UTC

Severity: minor

Found in version 25.1

Fixed in version 26.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26067 in the body.
You can then email your comments to 26067 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org:
bug#26067; Package emacs. (Sun, 12 Mar 2017 03:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Liu <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to monnier <at> iro.umontreal.ca, bug-gnu-emacs <at> gnu.org. (Sun, 12 Mar 2017 03:56:02 GMT) Full text and rfc822 format available.

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

From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; cl-defmethod indent setting wrong
Date: Sun, 12 Mar 2017 11:55:21 +0800
The indent setting for cl-defmethod should be `defun' instead of 2. For
example the following code has bad indentation under (indent 2).

(cl-defmethod test :around ((tag (eql 131)))
              (do-something-right))




Reply sent to Dmitry Gutov <dgutov <at> yandex.ru>:
You have taken responsibility. (Wed, 26 Jul 2017 15:57:01 GMT) Full text and rfc822 format available.

Notification sent to Leo Liu <sdl.web <at> gmail.com>:
bug acknowledged by developer. (Wed, 26 Jul 2017 15:57:02 GMT) Full text and rfc822 format available.

Message #10 received at 26067-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Leo Liu <sdl.web <at> gmail.com>, 26067-done <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#26067: 25.1; cl-defmethod indent setting wrong
Date: Wed, 26 Jul 2017 18:56:33 +0300
Version: 26.1

On 3/12/17 5:55 AM, Leo Liu wrote:
> 
> The indent setting for cl-defmethod should be `defun' instead of 2. For
> example the following code has bad indentation under (indent 2).
> 
> (cl-defmethod test :around ((tag (eql 131)))
>                (do-something-right))

Fixed in bug#23994, thanks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 24 Aug 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 358 days ago.

Previous Next


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