unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: Want old "*compilation*" behavior back!
@ 2011-05-17 15:17 martin rudalics
  2011-05-17 19:50 ` Vincent Montressor
  0 siblings, 1 reply; 5+ messages in thread
From: martin rudalics @ 2011-05-17 15:17 UTC (permalink / raw)
  To: vmontressor; +Cc: help-gnu-emacs

 > Ah, you're right about the "buffer" vs. "window" and horizontal vs. vertical
 > confusion; sorry about that.

You're not the first one ;-)

 > But yes, it does the same unwanted thing with "emacs -Q" as well.  And it seems
 > (from experimenting) that split-height/width-threshold don't control this.  Any
 > other thoughts?
 >
 > I would be 90% satisfied with just solving this for *compilation*, and close to
 > 100% satisfied if this got solved for *grep* as well.
 >
 > (I'm encouraged that it doesn't seem to do this in the most recent builds, at
 > least not for you.  Maybe this was just an aberration in the version I'm using?)

I don't remember.  But I completely fail to understand that setting
`split-height-threshold' and `split-width-threshold' to nil or very
large values can allow `display-buffer' to split a window (unless
there's only one window on the frame).  Which values did you try?

martin



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Want old "*compilation*" behavior back!
@ 2011-05-15  7:26 martin rudalics
  2011-05-17  1:23 ` Vincent Montressor
  0 siblings, 1 reply; 5+ messages in thread
From: martin rudalics @ 2011-05-15  7:26 UTC (permalink / raw)
  To: vmontressor; +Cc: help-gnu-emacs

 > In Emacs 21, if I split a window
 > vertically and was in the left-hand buffer

... yet another argument to change the current vertical/horizontal
terminology ;-)

Please accept for the moment that splitting a window "vertically"
produces two windows above each other.  To get two windows side-by-side
you have to split a window "horizontally".

 > and did `M-x compile', the
 > *compilation* buffer would appear in the right-hand buffer (unless the
 > left-hand
 > buffer was already *compilation*, in which case it would be reused).  In
 > general, it put *compilation* in the "next" buffer unless there was only one
 > buffer, in which case it would split the buffer.

In the preceding lines you mean "window" instead of "buffer".

 > In Emacs 23, it reuses the *compilation* buffer if that buffer is already
 > visible, but otherwise it splits my current buffer instead of using the
 > existing
 > "next" buffer.

Does it happen with emacs -Q as well?  When on my trunk (which is a
couple of weeks old) I do emacs -Q, split the *scratch* window into two
side-by-side windows and do M-x compile, the right window is reused for
the *compilation* buffer.

 > I liked the old behavior much better, but I don't see a way to get it back.
 > Any
 > help?

It depends on whether you want a solution just for the compilation
buffer or a more general solution.  In the latter case, changing the
values of `split-height-threshold' or `split-width-threshold' might
help.

martin



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Want old "*compilation*" behavior back!
@ 2011-05-13 23:58 Vincent Montressor
  0 siblings, 0 replies; 5+ messages in thread
From: Vincent Montressor @ 2011-05-13 23:58 UTC (permalink / raw)
  To: help-gnu-emacs

I've looked through the NEWS files and comint.el/compile.el without luck, so 
....

I recently upgraded from Emacs 21 to 23.  In Emacs 21, if I split a window 
vertically and was in the left-hand buffer and did `M-x compile', the 
*compilation* buffer would appear in the right-hand buffer (unless the left-hand 
buffer was already *compilation*, in which case it would be reused).  In 
general, it put *compilation* in the "next" buffer unless there was only one 
buffer, in which case it would split the buffer.

In Emacs 23, it reuses the *compilation* buffer if that buffer is already 
visible, but otherwise it splits my current buffer instead of using the existing 
"next" buffer.

I liked the old behavior much better, but I don't see a way to get it back.  Any 
help?



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

end of thread, other threads:[~2011-05-17 19:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-17 15:17 Want old "*compilation*" behavior back! martin rudalics
2011-05-17 19:50 ` Vincent Montressor
  -- strict thread matches above, loose matches on Subject: below --
2011-05-15  7:26 martin rudalics
2011-05-17  1:23 ` Vincent Montressor
2011-05-13 23:58 Vincent Montressor

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