unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* display-buffer-alist
@ 2011-11-05 17:36 Paddy Mullen
  2011-11-05 21:24 ` display-buffer-alist Drew Adams
  0 siblings, 1 reply; 11+ messages in thread
From: Paddy Mullen @ 2011-11-05 17:36 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

Hello,

I'm having a very hard time understanding the documentation for
display-buffer-alist.  emacs24 behaves differently than emacs23.  Here is
the behaviour that I am used to and would like to return to.

Emacs 23:
C-x C-f  (find-file)
the file that I select opens in the current window


Emacs 24:
C-x C-f (find-file)
the file that I select opens in another window

the window that the file will open in, in emacs 24 is unpredictable, making
it very difficult to organize a multiple window session.

Could someone please post the setq command to get emacs 24 to behave the
way I am used to.

something along the lines of

(setq display-buffer-alist '(??????))

all the other examples that I have seen use functions like setcar, setcdr
which don't help me since my display-buffer-alist is nil.


Thanks,
Paddy

[-- Attachment #2: Type: text/html, Size: 1149 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* display-buffer-alist
@ 2015-01-12  1:31 Tak Kunihiro
  0 siblings, 0 replies; 11+ messages in thread
From: Tak Kunihiro @ 2015-01-12  1:31 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: tak.kunihiro

When a LaTeX document is compiled using AUCTeX, its log is on buffer
such as below.

  *~/orochi-devel/documentation/OrochiSetupWin7/report.tex output*

By C-c C-l `TeX-recenter-output-buffer', I see the buffer on
other-window.  With following setup, I see it on a new frame.

#+BEGIN_SRC emacs-lisp
  (add-to-list 'display-buffer-alist
               '("\\*~.* output\\*"
                 (display-buffer-reuse-window
                  display-buffer-pop-up-frame
                  display-buffer-pop-up-window)
                 (reusable-frames . t)))
#+END_SRC

It is nice if the frame even does not have minibuffer.  Based on info,
a frame parameter (minibuffer . t) only takes effect when a frame is
created.  How do I set it up using `display-buffer-alist'?



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: display-buffer-alist
@ 2011-11-06  8:51 martin rudalics
  2011-11-09 17:52 ` display-buffer-alist Paddy Mullen
  0 siblings, 1 reply; 11+ messages in thread
From: martin rudalics @ 2011-11-06  8:51 UTC (permalink / raw)
  To: paddy; +Cc: help-gnu-emacs

 > I'm having a very hard time understanding the documentation for
 > display-buffer-alist.  emacs24 behaves differently than emacs23.  Here
 > is the behaviour that I am used to and would like to return to.
 >
 > Emacs 23:
 > C-x C-f  (find-file)
 > the file that I select opens in the current window
 >
 >
 > Emacs 24:
 > C-x C-f (find-file)
 > the file that I select opens in another window

With emacs -Q the file is not shown in another window on my machine.  So
please report this as a bug either using emacs -Q or by providing us the
relevant details from your .emacs.

 > the window that the file will open in, in emacs 24 is unpredictable,
 > making it very difficult to organize a multiple window session.

Please describe in the bug report what and how this happens.

 > Could someone please post the setq command to get emacs 24 to behave the way I am used to.

Emacs 24 should behave as Emacs 23 in the example you gave.  So there
should be no need for such a command.

martin



^ permalink raw reply	[flat|nested] 11+ messages in thread
* display-buffer-alist
@ 2011-11-05 15:57 Paddy Mullen
  2011-11-05 18:13 ` display-buffer-alist Paddy Mullen
  0 siblings, 1 reply; 11+ messages in thread
From: Paddy Mullen @ 2011-11-05 15:57 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

Hello,

I'm having a very hard time understanding the documentation for
display-buffer-alist.  emacs24 behaves differently than emacs23.  Here is
the behaviour that I am used to and would like to return to.

Emacs 23:
C-x C-f  (find-file)
the file that I select opens in the current window


Emacs 24:
C-x C-f (find-file)
the file that I select opens in another window

the window that the file will open in, in emacs 24 is unpredictable, making
it very difficult to organize a multiple window session.

Could someone please post the setq command to get emacs 24 to behave the
way I am used to.

something along the lines of

(setq display-buffer-alist '(??????))

all the other examples that I have seen use functions like setcar, setcdr
which don't help me since my display-buffer-alist is nil.


Thanks,
Paddy

[-- Attachment #2: Type: text/html, Size: 1133 bytes --]

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

end of thread, other threads:[~2015-01-12  1:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-05 17:36 display-buffer-alist Paddy Mullen
2011-11-05 21:24 ` display-buffer-alist Drew Adams
     [not found]   ` <CAFpY3ucfZNYBOPciRZLhJ-8__P=ey-iH1ieJU3Vz0whiehELRA@mail.gmail.com>
2011-11-05 21:44     ` display-buffer-alist Paddy Mullen
2011-11-05 22:47       ` display-buffer-alist Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2015-01-12  1:31 display-buffer-alist Tak Kunihiro
2011-11-06  8:51 display-buffer-alist martin rudalics
2011-11-09 17:52 ` display-buffer-alist Paddy Mullen
2011-11-10  8:22   ` display-buffer-alist martin rudalics
2011-11-10 14:43     ` display-buffer-alist Paddy Mullen
2011-11-05 15:57 display-buffer-alist Paddy Mullen
2011-11-05 18:13 ` display-buffer-alist Paddy Mullen

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