GNU bug report logs -
#37063
26.2.90; Problems with recent CL support in checkdoc
Previous Next
Reported by: Damien Cassou <damien <at> cassou.me>
Date: Sat, 17 Aug 2019 11:43:01 UTC
Severity: normal
Tags: fixed, patch
Found in version 26.2.90
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
dick.r.chiang <at> gmail.com writes:
> diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
> index 51fb75da69..6c40bdf632 100644
> --- a/lisp/emacs-lisp/checkdoc.el
> +++ b/lisp/emacs-lisp/checkdoc.el
> @@ -1952,11 +1952,10 @@ checkdoc-defun-info
> ;; new obarray.
> (if (not (listp lst)) (setq lst nil))
> (unless is-advice
> - ;; lst here can be something like ((foo bar) baz) from
> + ;; (car lst) can be something like ((foo bar) baz) from
> ;; cl-lib methods; flatten it:
> - (setq lst (flatten-tree lst))
> (while lst
> - (setq ret (cons (symbol-name (car lst)) ret)
> + (setq ret (cons (symbol-name (car (flatten-tree (car lst)))) ret)
> lst (cdr lst)))))
> (nreverse ret))))
Thank you; I've now applied your patch here since it seems to fix the
use cases reported. However, I didn't include the tests in your patch,
since they seemed to cover the same cases as Damien's (and they were
more extensive, so I applied those instead).
Besides, it doesn't look like you have copyright assignment papers on
file, and for larger patches we require copyright assignments to the
FSF. If you plan on submitting further patches in the future, it might
be a good idea to do the paperwork now -- would you be willing to do so?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 222 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.