all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: "Stefan Reichör" <stefan@xsteve.at>
Cc: 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:47:09 +0200	[thread overview]
Message-ID: <4E70781D.9020307@gmx.at> (raw)
In-Reply-To: <m0sjnzwu63.fsf@ge-research.com>

 > 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.

If Chong doesn't come up with an easy fix I'll look into it.

martin





  reply	other threads:[~2011-09-14  9:47 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 [this message]
2011-09-14 15:15   ` Chong Yidong

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=4E70781D.9020307@gmx.at \
    --to=rudalics@gmx.at \
    --cc=9499@debbugs.gnu.org \
    --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.