unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Frame for opening rgrep links?
@ 2014-11-09 21:15 Nikolaus Rath
  2014-11-09 22:44 ` Drew Adams
  2014-11-16 19:26 ` Nikolaus Rath
  0 siblings, 2 replies; 6+ messages in thread
From: Nikolaus Rath @ 2014-11-09 21:15 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I typically use Emacs with two frames, one "regular" frame and one
opened by ecb.

Until a little while ago, running M-x rgrep in the ecb frame and
clicking on one of the matches in the *grep* buffer opened the file in
the same (ecb) frame.

Recently, however, emacs has started to open the file in a different
frame, i.e. the ecb frame keeps showing the *grep* buffer. 

I am a bit lost as to what may have caused this, or how I can change it
back.

Anyone able to help?

Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«



^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Frame for opening rgrep links?
  2014-11-09 21:15 Frame for opening rgrep links? Nikolaus Rath
@ 2014-11-09 22:44 ` Drew Adams
  2014-11-09 23:30   ` Nikolaus Rath
  2014-11-16 19:26 ` Nikolaus Rath
  1 sibling, 1 reply; 6+ messages in thread
From: Drew Adams @ 2014-11-09 22:44 UTC (permalink / raw)
  To: Nikolaus Rath, help-gnu-emacs

> I typically use Emacs with two frames, one "regular" frame and one
> opened by ecb.
> 
> Until a little while ago, running M-x rgrep in the ecb frame and
> clicking on one of the matches in the *grep* buffer opened the file
> in the same (ecb) frame.
> 
> Recently, however, emacs has started to open the file in a different
> frame, i.e. the ecb frame keeps showing the *grep* buffer.
> 
> I am a bit lost as to what may have caused this, or how I can change
> it back.

Sounds like the window for buffer *grep* is a dedicated window.

Check your values of options `special-display-buffer-names' and
`special-display-regexps'.

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Frame for opening rgrep links?
  2014-11-09 22:44 ` Drew Adams
@ 2014-11-09 23:30   ` Nikolaus Rath
  2014-11-09 23:55     ` Drew Adams
  0 siblings, 1 reply; 6+ messages in thread
From: Nikolaus Rath @ 2014-11-09 23:30 UTC (permalink / raw)
  To: Drew Adams, help-gnu-emacs

On 11/09/2014 02:44 PM, Drew Adams wrote:
>> I typically use Emacs with two frames, one "regular" frame and one
>> opened by ecb.
>>
>> Until a little while ago, running M-x rgrep in the ecb frame and
>> clicking on one of the matches in the *grep* buffer opened the file
>> in the same (ecb) frame.
>>
>> Recently, however, emacs has started to open the file in a different
>> frame, i.e. the ecb frame keeps showing the *grep* buffer.
>>
>> I am a bit lost as to what may have caused this, or how I can change
>> it back.
> 
> 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?


Thanks!
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«



^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Frame for opening rgrep links?
  2014-11-09 23:30   ` Nikolaus Rath
@ 2014-11-09 23:55     ` Drew Adams
  2014-11-10  0:11       ` Nikolaus Rath
  0 siblings, 1 reply; 6+ messages in thread
From: Drew Adams @ 2014-11-09 23:55 UTC (permalink / raw)
  To: Nikolaus Rath, help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Frame for opening rgrep links?
  2014-11-09 23:55     ` Drew Adams
@ 2014-11-10  0:11       ` Nikolaus Rath
  0 siblings, 0 replies; 6+ messages in thread
From: Nikolaus Rath @ 2014-11-10  0:11 UTC (permalink / raw)
  To: Drew Adams, help-gnu-emacs

On 11/09/2014 03:55 PM, Drew Adams wrote:
>>> 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.

Unfortunately it's nil..



Any other ideas, anyone?


Thanks,
-Nikolaus
-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Frame for opening rgrep links?
  2014-11-09 21:15 Frame for opening rgrep links? Nikolaus Rath
  2014-11-09 22:44 ` Drew Adams
@ 2014-11-16 19:26 ` Nikolaus Rath
  1 sibling, 0 replies; 6+ messages in thread
From: Nikolaus Rath @ 2014-11-16 19:26 UTC (permalink / raw)
  To: help-gnu-emacs

Nikolaus Rath <Nikolaus@rath.org> writes:
> Hello,
>
> I typically use Emacs with two frames, one "regular" frame and one
> opened by ecb.
>
> Until a little while ago, running M-x rgrep in the ecb frame and
> clicking on one of the matches in the *grep* buffer opened the file in
> the same (ecb) frame.
>
> Recently, however, emacs has started to open the file in a different
> frame, i.e. the ecb frame keeps showing the *grep* buffer. 
>
> I am a bit lost as to what may have caused this, or how I can change it
> back.
>
> Anyone able to help?

I finally figured it out, the reason was a changed default value for
split-height-threshold.



Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-16 19:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-09 21:15 Frame for opening rgrep links? Nikolaus Rath
2014-11-09 22:44 ` Drew Adams
2014-11-09 23:30   ` Nikolaus Rath
2014-11-09 23:55     ` Drew Adams
2014-11-10  0:11       ` Nikolaus Rath
2014-11-16 19:26 ` Nikolaus Rath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).