Todos los tampones no hice uso, tales como el principio, los mensajes y las terminaciones, metido con mi flujo de trabajo.
He logrado deshacerme por completo de ellos, sin romper emacs de ninguna manera.
Publicado primera here, y pegado abajo:
colocar esto en tu.emacs:
;; Makes *scratch* empty.
(setq initial-scratch-message "")
;; Removes *scratch* from buffer after the mode has been set.
(defun remove-scratch-buffer()
(if (get-buffer "*scratch*")
(kill-buffer "*scratch*")))
(add-hook 'after-change-major-mode-hook 'remove-scratch-buffer)
;; Removes *messages* from the buffer.
(setq-default message-log-max nil)
(kill-buffer "*Messages*")
;; Removes *Completions* from buffer after you've opened a file.
(add-hook 'minibuffer-exit-hook
'(lambda()
(let ((buffer "*Completions*"))
(and (get-buffer buffer)
(kill-buffer buffer)))))
;; Don't show *Buffer list* when opening multiple files at the same time.
(setq inhibit-startup-buffer-menu t)
;; Show only one active window when opening multiple files at the same time.
(add-hook 'window-setup-hook 'delete-other-windows)
Bono:
;; No more typing the whole yes or no. Just y or n will do.
(fset 'yes-or-no-p 'y-or-n-p)
¿Cómo se especifica un comodín cuando pido buffer-pila de ignorar siempre/untrack ciertos tampones? p.ej. si quiero pedirle que agregue para destrabar la lista * .html ¿cómo hago eso? – incandescentman