Now, I can hide *spurious* buffers on Gentoo Linux
This commit is contained in:
parent
e094edfeef
commit
45d59c8da2
32
README.org
32
README.org
@ -4683,34 +4683,32 @@ using =emms= with =elfeed=. Listing [[lst:configure-emms]] configures =emms=.
|
|||||||
,(no-littering-expand-etc-file-name "emms/streams.emms")))))
|
,(no-littering-expand-etc-file-name "emms/streams.emms")))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Taming spurious buffers :noexport:
|
*** Hiding spurious buffers
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: sec:taming-spurious-buffers
|
:CUSTOM_ID: sec:hiding-spurious-buffers
|
||||||
:HEADER-ARGS: :tangle no
|
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
When =emms-player-mpd= opens a connection to =mpd=, =mpd= responds with a
|
When =emms-player-mpd= opens a connection to =mpd= and =mpd= is not running,
|
||||||
message of the form "OK MPD 0.23.5". Neither =emms-player-mpd= nor its support
|
=mpd= responds with a message of the form "OK MPD 0.23.5". Neither
|
||||||
library =tq= anticipate the "OK MPD 0.23.5" message, but send such messages to a
|
=emms-player-mpd= nor its support library =tq= anticipate the "OK MPD 0.23.5"
|
||||||
new intrusive buffer called =*spurious*=. Listing [[lst:taming-spurious-buffers]]
|
message, but send such messages to a new intrusive buffer called =*spurious*=.
|
||||||
makes those =*spurious*= buffers less intrusive. See:
|
Listing [[lst:hiding-spurious-buffers]] hides those =*spurious*= buffers, but you
|
||||||
|
can always switch to them. See:
|
||||||
1. [[info:elisp#The Zen of Buffer Display][The Zen of Buffer Display (info)]]
|
1. [[info:elisp#The Zen of Buffer Display][The Zen of Buffer Display (info)]]
|
||||||
2. [[https://e17i.github.io/articles-emacs-display-1/][Configuring the Emacs display system]]
|
2. [[https://e17i.github.io/articles-emacs-display-1/][Configuring the Emacs display system]]
|
||||||
3. [[https://www.masteringemacs.org/article/demystifying-emacs-window-manager][Demystifying Emacs's Window Manager]]
|
3. [[https://www.masteringemacs.org/article/demystifying-emacs-window-manager][Demystifying Emacs's Window Manager]]
|
||||||
for technical information.
|
for technical information.
|
||||||
|
|
||||||
#+caption[Taming =*spurious*= buffers]:
|
#+caption[Hiding =*spurious*= buffers]:
|
||||||
#+caption: Taming =*spurious*= buffers.
|
#+caption: Hiding =*spurious*= buffers.
|
||||||
#+name: lst:taming-spurious-buffers
|
#+name: lst:hiding-spurious-buffers
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(with-eval-after-load 'emms-player-mpd
|
(with-eval-after-load 'emms-player-mpd
|
||||||
;; https://stackoverflow.com/a/47587185 answers:
|
;; https://www.masteringemacs.org/article/demystifying-emacs-window-manager
|
||||||
;; How to avoid pop-up of *Async Shell Command* buffers in Emacs?
|
;; Hide `*spurious*' buffers, but you can always switch to them:
|
||||||
;; Avoid popping up of `*spurious*' buffers:
|
|
||||||
(add-to-list 'display-buffer-alist
|
(add-to-list 'display-buffer-alist
|
||||||
'("\\*spurious\\*.*"
|
'("\\*spurious\\*.*" display-buffer-no-window
|
||||||
(display-buffer-at-bottom)
|
(allow-no-window . t))))
|
||||||
(window-height . fit-window-to-buffer))))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** [[https://www.musicpd.org/][Music Player Daemon]] configuration
|
*** [[https://www.musicpd.org/][Music Player Daemon]] configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user