bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7728: 24.0.50; GDB backtrace from abort


From: Eli Zaretskii
Subject: bug#7728: 24.0.50; GDB backtrace from abort
Date: Wed, 12 Jan 2011 11:22:56 -0500

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Eli Zaretskii <eliz@gnu.org>,  7728@debbugs.gnu.org
> Date: Wed, 12 Jan 2011 10:14:09 -0500
> 
> > so apparently the frame of data->current_window is _not_ the selected
> > frame.  Would you select the window and keep the old frame selected?
> 
> Shouldn't (doesn't?) set-window-configuration simply signal an error if
> the selected-frame is different from the frame from which the
> window-config comes?

How could it?  For example, Drew's code that causes this crash does
this:

    (save-window-excursion (select-frame frame)
                           (or (eq major-mode 'image-mode)
                               image-minor-mode))

Are you saying tha this isn't kosher, because the body of
save-window-excursion is not allowed to select a different frame?

Or am I missing something?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]