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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#26067: closed (25.1; cl-defmethod indent setting wrong)
Date: Wed, 26 Jul 2017 15:57:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 26 Jul 2017 18:56:33 +0300
with message-id <5a11ae07-5593-87c1-9ce4-08478e9aebd3 <at> yandex.ru>
and subject line Re: bug#26067: 25.1; cl-defmethod indent setting wrong
has caused the debbugs.gnu.org bug report #26067,
regarding 25.1; cl-defmethod indent setting wrong
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
26067: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26067
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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))


[Message part 3 (message/rfc822, inline)]
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.


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.