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

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

bug#9054: 24.0.50; show source in other window


From: Arthur Miller
Subject: bug#9054: 24.0.50; show source in other window
Date: Thu, 23 Sep 2021 14:49:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

martin rudalics <rudalics@gmx.at> writes:

>> #+begin_src emacs-lisp
>>             (add-to-list 'display-buffer-alist
>>                   `((,(rx bos (or "*Apropos*" "*Help*" "*helpful*" "*info*" 
>> "*Summary*")
>>                           (0+ not-newline))
>>                      (display-buffer-same-window)
>>                      (display-buffer-reuse-mode-window 
>> display-buffer-pop-up-window)
>>                      (mode apropos-mode help-mode helpful-mode Info-mode 
>> Man-mode))))
>> #+end_src
>>
>> I have used that myself; that is from my init file, and it worked fine. But I
>> see in latest master I don't need to say that for *Help* any more?
>
> I'm not fluent with 'rx' so I cannot give you a good answer here.  Maybe
> the default behavior already does what you want?

Ah, I didn't meant regexes; I meant using display-buffer-alist to tell Emacs to
re-use *Help* buffer instead of creating new ones.





reply via email to

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