bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grep


From: Stefan Monnier
Subject: Re: Grep
Date: 28 Feb 2002 20:48:51 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

>>>>> "Kevin" == Kevin Rodgers <address@hidden> writes:
> That second form results in a "Cannot switch buffers in a dedicated window"
> error, because occur-mode-goto-occurrence and occur-mode-mouse-goto call
> pop-to-buffer.  The first form works because compilation-goto-locus calls
> switch-to-buffer-other-frame (instead of switch-to-buffer) when

>       (and (window-dedicated-p (selected-window))
>          (eq (selected-window) (frame-root-window)))

> so I think the occur-mode-* functions need to be modified to handle that
> condition.

Which version of Emacs is that ?
Note that using `pop-to-buffer' is The Right Way, so the bug is that
pop-to-buffer should simply *never* fail with a "Cannot switch buffers
in a dedicated window".  And as far as I know, it indeed never does
(although it used to fail in some cases in Emacs-20.4), so could you
give us a simple recipe starting from `emacs -q --no-site-file' to
reproduce the problem ?


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]