unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: 12208-done@debbugs.gnu.org
Cc: Steve Hafner <steve.b.hafner@gmail.com>
Subject: bug#12208: yes-or-no-p escapes with-current-buffer
Date: Mon, 27 Aug 2012 11:15:21 +0200	[thread overview]
Message-ID: <503B3AA9.7010606@gmx.at> (raw)
In-Reply-To: <502F9572.3040009@gmx.at>

> === modified file 'src/window.c'
> --- src/window.c    2012-08-18 06:06:39 +0000
> +++ src/window.c    2012-08-18 13:09:15 +0000
> @@ -5889,7 +5889,13 @@
>      }
> 
>    if (!NILP (new_current_buffer))
> -    Fset_buffer (new_current_buffer);
> +    {
> +      Fset_buffer (new_current_buffer);
> +      /* If the new current buffer doesn't appear in the selected
> +     window, go to its old point.  */
> +      if (!EQ (XWINDOW (data->current_window)->buffer, 
> new_current_buffer))
> +    Fgoto_char (make_number (old_point));
> +    }
> 
>    Vminibuf_scroll_window = data->minibuf_scroll_window;
>    minibuf_selected_window = data->minibuf_selected_window;

Installed in revision 109789 on trunk.  Bug closed.

martin






      parent reply	other threads:[~2012-08-27  9:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-16  4:37 bug#12208: yes-or-no-p escapes with-current-buffer Steve Hafner
2012-08-16  9:38 ` martin rudalics
2012-08-16 20:36   ` Steve Hafner
2012-08-17 12:09     ` martin rudalics
2012-08-17 15:18       ` martin rudalics
2012-08-17 20:24         ` Steve Hafner
2012-08-18  2:55           ` Steve Hafner
2012-08-18 13:15             ` martin rudalics
2012-08-18 16:39               ` Steve Hafner
2012-08-18 17:38                 ` martin rudalics
2012-08-27  9:15               ` martin rudalics [this message]

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=503B3AA9.7010606@gmx.at \
    --to=rudalics@gmx.at \
    --cc=12208-done@debbugs.gnu.org \
    --cc=steve.b.hafner@gmail.com \
    /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).