From: Stephen Leake <stephen_leake@stephe-leake.org>
To: emacs-devel@gnu.org
Subject: strange error from global-ede-mode
Date: Thu, 10 Sep 2015 14:52:17 -0500 [thread overview]
Message-ID: <868u8e128e.fsf@stephe-leake.org> (raw)
I'm getting an error from something in ede when I move an elisp buffer
to a new frame.
From Emacs master -Q on Windows (built with mingw64):
(package-initialize)
(require 'other-frame-window)
(other-frame-window-mode t)
(require 'ede)
(require 'ede/emacs)
(global-ede-mode 1) ;; not just single-buffer ede-minor-mode
(find-file (locate-file "ede/files.el" load-path))
Then invoke 'C-x F'; this gives an error message starting with
"(wrong-type-argument (or eieio-object class) [cl-struct-eieio--class
ede-project"
The elisp file has to be in the Emacs core source directory, so EDE
detects the Emacs project. I get the same error from a C file in Emacs
core source.
Invoking C-x F when there is another frame does not give the error.
Killing the new frame and then running C-x F in files.el repeats the
error.
Enabling debug-on-error does not catch the error.
Enabling edebug in ofw-move-to-other-frame and stepping thru isolates
the error to x-create-frame in w32fns.c. I haven't tried debugging at
the C level yet, nor running on Linux. I'll try those next.
The error only happens with global-ede-mode enabled. So I'm guessing it
has something to do with running ede-minor-mode in a new buffer. But I
don't think ofw-move-to-other-frame creates a new buffer, so I don't see
why that matters.
Any other ideas for pinning this down?
--
-- Stephe
next reply other threads:[~2015-09-10 19:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-10 19:52 Stephen Leake [this message]
2015-09-10 23:47 ` strange error from global-ede-mode Stefan Monnier
2015-09-11 16:58 ` Stephen Leake
2015-09-11 19:47 ` Stephen Leake
2015-09-12 0:26 ` Stefan Monnier
2015-09-13 13:45 ` Stephen Leake
2015-09-15 17:23 ` Stefan Monnier
2015-09-12 0:27 ` Stefan Monnier
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=868u8e128e.fsf@stephe-leake.org \
--to=stephen_leake@stephe-leake.org \
--cc=emacs-devel@gnu.org \
/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.