GNU bug report logs - #931
23.0.60; Bug in bytecomp.el: displaying warnings

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Mon, 8 Sep 2008 19:45:03 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #80 received at 931 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 931 <at> debbugs.gnu.org, michael_heerdegen <at> web.de
Subject: Re: bug#931: 23.0.60; Bug in bytecomp.el: displaying warnings
Date: Fri, 12 Sep 2008 12:30:20 -0400
>> +              ;; `display-buffer' usually preserves current-buffer, except
>> +              ;; when it ends up doing switch-to-buffer (e.g. pop-up-windows
>> +              ;; is nil).

> FWIW it's set_window_buffer in

>   /* We must select BUFFER for running the window-scroll-functions.
>      If WINDOW is selected, switch permanently.
>      Otherwise, switch but go back to the ambient buffer afterward.  */
>   if (EQ (window, selected_window))
>     Fset_buffer (buffer);

> which is not very clean (and not documented in `set-window-buffer').

I've fixed this so set-window-buffer should never change
current-buffer now.  Does it fix the OP's original problem?


        Stefan




This bug report was last modified 16 years and 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.