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

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

RE: Frame for opening rgrep links?


From: Drew Adams
Subject: RE: Frame for opening rgrep links?
Date: Sun, 9 Nov 2014 15:55:20 -0800 (PST)

> > Sounds like the window for buffer *grep* is a dedicated window.
> >
> > Check your values of options `special-display-buffer-names' and
> > `special-display-regexps'.
> 
> special-display-buffer-names is a variable defined in `window.el'.
> Its value is nil
> 
> special-display-regexps is a variable defined in `window.el'.
> Its value is nil
> 
> > Or if you use only option `display-buffer-alist' then check its
> > value - see the doc for an explanation of this complicated option.
> > See also the doc of `display-buffer', which you'll need to
> understand
> > the doc of `display-buffer-alist' .  Look for an entry that
> > corresponds by name or regexp etc. to `*grep*' or `*compile*'.
> 
> I don't seem to have a "display-buffer-alist" option (Emacs 23.4.1).
> 
> Anything I could look at?

I should have said to first check whether the window for `*grep*'
is in fact dedicated.  With your cursor in that window, do this:
`M-: (window-dedicated-p (selected-window))'.  If it says `t'
then the window is dedicated; if is says `nil' then it is not.

Perhaps someone else has another suggestion, if it is not
dedicated.  If it is, then you will need to look further to find
out why.

Normally, in Emacs 23, one of those two `special-display-*' options
is used to automatically make a buffer be displayed in a dedicated
window.  But code can also call `set-window-dedicated-p' explicitly
to make it so.

You can also use `M-: (special-display-p (buffer-name))', to
see whether the buffer is special-display (which implies that it
is displayed in a dedicated window).  If the displayed value is
anything other than `nil' then it is.

Again, perhaps someone else has another suggestion.



reply via email to

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