From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Rupert Swarbrick <ruperts@broadcom.com>
Cc: 20270@debbugs.gnu.org
Subject: bug#20270: 25.0.50; 'Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil' with semantic-mode
Date: Wed, 08 Apr 2015 17:24:51 -0400 [thread overview]
Message-ID: <jwvk2xmnwjw.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <889wq1otf2l.fsf@broadcom.com> (Rupert Swarbrick's message of "Tue, 7 Apr 2015 11:20:34 +0100")
> new-emacs.sh -Q --eval '(semantic-mode t)' --eval '(find-file "test.c")'
[...]
> Debugger entered--Lisp error: (invalid-slot-type semanticdb-project-database-file reference-directory string nil)
Duh, indeed. I installed the patch below which should fix this blunder,
Stefan
diff --git a/lisp/emacs-lisp/eieio-core.el b/lisp/emacs-lisp/eieio-core.el
index 6fd9c14..b0aa363 100644
--- a/lisp/emacs-lisp/eieio-core.el
+++ b/lisp/emacs-lisp/eieio-core.el
@@ -673,10 +673,9 @@ the new child class."
(let ((pslots (eieio--class-slots pcv))
(pinit (eieio--class-initarg-tuples pcv)))
(dotimes (i (length pslots))
- (eieio--add-new-slot newc (cl--copy-slot-descriptor (aref pslots i))
- (car-safe (car pinit)) nil nil sn)
- ;; Increment each value.
- (setq pinit (cdr pinit))
+ (let* ((sd (cl--copy-slot-descriptor (aref pslots i)))
+ (init (car (rassq (cl--slot-descriptor-name sd) pinit))))
+ (eieio--add-new-slot newc sd init nil nil sn))
)) ;; while/let
;; Now duplicate all the class alloc slots.
(let ((pcslots (eieio--class-class-slots pcv)))
next prev parent reply other threads:[~2015-04-08 21:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-07 10:20 bug#20270: 25.0.50; 'Invalid slot type: semanticdb-project-database-file, reference-directory, string, nil' with semantic-mode Rupert Swarbrick
2015-04-08 21:24 ` Stefan Monnier [this message]
2015-04-09 5:10 ` bug#20259: " Ivan Shmakov
2015-04-09 14:05 ` bug#20270: " Stefan Monnier
2015-04-09 15:05 ` Ivan Shmakov
2015-04-09 18:21 ` Stefan Monnier
2015-04-17 15:55 ` bug#20259: bug#20270: bug#20259: " Ivan Shmakov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvk2xmnwjw.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=20270@debbugs.gnu.org \
--cc=ruperts@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.