all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Helmut Eller <eller.helmut@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 12502@debbugs.gnu.org
Subject: bug#12502: 24.2.50; Debugger messes up current-buffer
Date: Tue, 25 Sep 2012 17:36:19 +0200	[thread overview]
Message-ID: <m2a9wexggc.fsf@gmail.com> (raw)
In-Reply-To: <50605429.10900@gmx.at> (martin rudalics's message of "Mon, 24 Sep 2012 14:38:01 +0200")

On Mon, Sep 24 2012, martin rudalics wrote:

>> The debugger now changes the current buffer in the following situation:
> [...]
>> This is a regression to older versions.
>
> Thanks for the report.  Would the attached patch fix it?

Yes, that seems to fix the problem.  But the save-exursion in line 218
looks now supsisously irrelevant.

> BTW, I notice that you quite often run functions with a current buffer
> different from that of the selected window.  In all these cases
> `quit-window' might misbehave for you because it does not restore the
> buffer that was current at the time the window's buffer was displayed.
> So if you see any problems in this context, please tell me.  We then
> could try to restore the current buffer (optionally at least) too.

I'l look for problems, but I'm not sure what the correct/incorrect
behaviour regarding window management should be.  The old
save-window-excursion worked pretty well for me.

Helmut





  reply	other threads:[~2012-09-25 15:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-24  8:31 bug#12502: 24.2.50; Debugger messes up current-buffer Helmut Eller
2012-09-24 12:38 ` martin rudalics
2012-09-25 15:36   ` Helmut Eller [this message]
2012-09-25 16:45     ` martin rudalics
2012-10-03  9:14     ` martin rudalics

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

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

  git send-email \
    --in-reply-to=m2a9wexggc.fsf@gmail.com \
    --to=eller.helmut@gmail.com \
    --cc=12502@debbugs.gnu.org \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.