unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* strange error from global-ede-mode
@ 2015-09-10 19:52 Stephen Leake
  2015-09-10 23:47 ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Leake @ 2015-09-10 19:52 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-09-15 17:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-10 19:52 strange error from global-ede-mode Stephen Leake
2015-09-10 23:47 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).