unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: martin rudalics <rudalics@gmx.at>
Cc: 931@emacsbugs.donarmstrong.com, michael_heerdegen@web.de
Subject: bug#931: 23.0.60; Bug in bytecomp.el: displaying warnings
Date: Fri, 12 Sep 2008 12:30:20 -0400	[thread overview]
Message-ID: <jwvabed9vke.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <48C7921F.6020206@gmx.at> (martin rudalics's message of "Wed, 10 Sep 2008 11:23:43 +0200")

>> +              ;; `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






  parent reply	other threads:[~2008-09-12 16:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwvljxxgn4j.fsf-monnier+emacsbugreports@gnu.org>
2008-09-08 19:35 ` bug#931: 23.0.60; Bug in bytecomp.el: displaying warnings Michael Heerdegen
2008-09-08 21:12   ` martin rudalics
2008-09-09  8:11     ` Richard M. Stallman
2008-09-10  9:23       ` martin rudalics
2008-09-10 20:46         ` Richard M. Stallman
2008-09-11  8:53           ` martin rudalics
2008-09-09 14:33   ` Stefan Monnier
2008-09-10  9:23     ` martin rudalics
2008-09-10 16:24       ` Stefan Monnier
2008-09-10 17:37         ` martin rudalics
2008-09-11  1:52           ` Stefan Monnier
2008-09-11  8:53             ` martin rudalics
2008-09-12 16:30       ` Stefan Monnier [this message]
2008-09-12 18:04         ` martin rudalics
2008-09-12 20:00   ` bug#931: marked as done (23.0.60; Bug in bytecomp.el: displaying warnings) Emacs bug Tracking System

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvabed9vke.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=931@emacsbugs.donarmstrong.com \
    --cc=michael_heerdegen@web.de \
    --cc=rudalics@gmx.at \
    /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 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).