unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Opening special buffers "*Messages*" and "*scratch*" in new frames
@ 2024-06-11  9:29 Dr Rainer Woitok
  2024-06-11  9:46 ` Philip Kaludercic
  2024-06-11 10:08 ` Joost Kremers
  0 siblings, 2 replies; 4+ messages in thread
From: Dr Rainer Woitok @ 2024-06-11  9:29 UTC (permalink / raw)
  To: Help-Gnu-Emacs

Greetings,

a few weeks back  there was some discussion  on this list  about opening
special buffers in new frames.   This motivated me  to add the following
lines to my Emacs configuration file:

   (setq display-buffer-alist
         (list (cons "\\(^ [*]\\)\\|\\(^[*]Completions[*]\\)"
                     display-buffer--same-window-action)

               ; (cons "^[*]\\(Messages\\|scratch\\)[*]"
               ;       '(display-buffer-pop-up-frame
               ;         (reusable-frames . t)))

               (cons "^[*]"
                     '((display-buffer-reuse-window
                        display-buffer-pop-up-frame)
                       (reusable-frames     . t  )
                       (inhibit-same-window . nil))))

         switch-to-buffer-in-dedicated-window 'pop
         switch-to-buffer-obey-dislay-actions t)

However,  regardless of whether or not  the three commented-out lines a-
bove were uncommented,  buffers "*Messages*" and "*scratch*" were always
opened in the current window of the current frame.

But explicitly running "C-x 5 b *Messages*"  or "C-x 5 b *scratch*" work
as expected.

What did I do wrong?

Sincerely,
  Rainer



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

end of thread, other threads:[~2024-06-11 10:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-11  9:29 Opening special buffers "*Messages*" and "*scratch*" in new frames Dr Rainer Woitok
2024-06-11  9:46 ` Philip Kaludercic
2024-06-11 10:17   ` Dr Rainer Woitok
2024-06-11 10:08 ` Joost Kremers

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