GNU bug report logs - #17005
24.3.50; semantic is not finding cl-defun's and friends

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Thu, 13 Mar 2014 09:07:01 UTC

Severity: normal

Tags: fixed

Found in version 24.3.50

Fixed in version 27.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 17005 <at> debbugs.gnu.org
Subject: Re: bug#17005: 24.3.50; semantic is not finding cl-defun's and friends
Date: Wed, 14 Aug 2019 18:04:55 -0700
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:

> when parsing a emacs-lisp buffer semantic is not finding cl-defun,
> cl-defmacro etc...
>
> Some trivial changes in "lisp/cedet/semantic/bovine/el.el" allow this.

(I'm going through old bug reports that have unfortunately gotten no
responses yet.)

I'm not really a Semantic user, so I can't test this, but I assume by
"some trivial changes" you meant something like this, which I've now
applied to Emacs 27.  If that's the wrong thing to do, please revert.

diff --git a/lisp/cedet/semantic/bovine/el.el b/lisp/cedet/semantic/bovine/el.el
index d46b73ff30..ba8307d2a4 100644
--- a/lisp/cedet/semantic/bovine/el.el
+++ b/lisp/cedet/semantic/bovine/el.el
@@ -248,6 +248,10 @@ semantic-elisp-use-read
   defun*
   defsubst
   defmacro
+  cl-defun
+  cl-defun*
+  cl-defsubst
+  cl-defmacro
   define-overload ;; @todo - remove after cleaning up semantic.
   define-overloadable-function
   )


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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