GNU bug report logs - #9499
24.0.50; M-x occur + M-x next-error window config problem

Previous Next

Package: emacs;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Wed, 14 Sep 2011 05:54:01 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Stefan Reichör <stefan <at> xsteve.at>, 9499 <at> 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
martin rudalics <rudalics <at> 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.




This bug report was last modified 13 years and 312 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.