emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.1: Is delete-windows-on supposed to change the current buffer?


From: martin rudalics
Subject: Re: 23.1: Is delete-windows-on supposed to change the current buffer?
Date: Fri, 31 Jul 2009 11:08:01 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> I'm debugging a problem with mh-e with 23.1.  In particular
> (mh-yank-cur-msg) in lisp/mh-e/mh-letter.el.
>
> In 23.1, unlike prior releases, this sequence changes the current
> buffer:
>
>           (if mh-delete-yanked-msg-window-flag
>               (delete-windows-on mh-show-buffer)))
>
> Is this change in behavior expected so that we should fix mh-e?  Or is
> this a bug in emacs 23.1 that I should report?

What is your window configuration like before and after that form gets
executed?

`delete-windows-on' deletes all windows showing `mh-show-buffer'.  If,
for example, `mh-show-buffer' is shown in the selected window and that
window is the only window on its frame, and that frame is the only
frame, another buffer is shown in that window and becomes the current
buffer.  window_loop handles this as

                    if (EQ (window, selected_window))
                      Fset_buffer (w->buffer);

unchanged since the past release.  A similar behavior applies when the
frame can be deleted or there's another window on the frame.

Can you exclude that there was some change in the `mh-' part handling
this?

martin




reply via email to

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