all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: martin rudalics <rudalics@gmx.at>
Cc: "Stefan Reichör" <stefan@xsteve.at>, 9499@debbugs.gnu.org
Subject: bug#9499: 24.0.50; M-x occur + M-x next-error window config problem
Date: Wed, 14 Sep 2011 11:15:00 -0400	[thread overview]
Message-ID: <8739fz2m17.fsf@stupidchicken.com> (raw)
In-Reply-To: <4E70781D.9020307@gmx.at> (martin rudalics's message of "Wed, 14 Sep 2011 11:47:09 +0200")

martin rudalics <rudalics@gmx.at> writes:

>> Start emacs, switch to the *scratch* buffer
>> M-x occur RET
>> th RET
>> M-x next-error
>>
>> The *Occur* buffer is replaced by another view of the *scratch* buffer
>> I expect the *Occur* buffer to stay
>
> It's because
>
>     (pop-to-buffer (marker-buffer pos) t)
>
> in `occur-mode-goto-occurrence' has problems reusing the *scratch*
> window.  More precisely, because the *scratch* window is selected and
> the second argument t means to not use the selected window.

Sorry, this was my mistake.  The second arg should not be t in here.
Fixed in trunk.





      reply	other threads:[~2011-09-14 15:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14  5:48 bug#9499: 24.0.50; M-x occur + M-x next-error window config problem Stefan Reichör
2011-09-14  9:47 ` martin rudalics
2011-09-14 15:15   ` Chong Yidong [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

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

  git send-email \
    --in-reply-to=8739fz2m17.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=9499@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    --cc=stefan@xsteve.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.