This buffer annoys me every time I install a new package or update one with package.el:
How can I tell to emacs that never ever show that buffer unless I need to know something really important from it?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityIf your package--compile
is calling byte-recompile-directory
(default), you can turn off all warnings by customizing the variable byte-compile-warnings
. You can either set it to nil
yourself, or use M-x customize-group
on the group bytecomp
, set Byte Compile Warnings
to Some
and check none of the boxes. However, if you have package--compile
being defadvice
d to invoke something else(async-byte-recompile-directory
in my case), you should look into the customization of that specific function/library.
If you are using async-bytecomp
, I have raised a request here to inject the bytecomp
customizations into the environment it compiles in. You could make do with a local change until there's a resolution : Add
(async-inject-variables "\\`byte-compile-warnings\\'")
after
,(async-inject-variables "\\`load-path\\'")
in async-bytecomp.el
.
From documentation:
set-window-dedicated-p is a built-in function in `C source code'.
(set-window-dedicated-p WINDOW FLAG)
Mark WINDOW as dedicated according to FLAG. WINDOW must be a live window and defaults to the selected one. FLAG non-nil means mark WINDOW as dedicated to its buffer. FLAG nil means mark WINDOW as non-dedicated. Return FLAG.
You may be interested by setting the installation window dedicated, then the compilation buffer will no more bother you when inside the dedicated window.
display-buffer-alist
?