* how to make the scratch buffer "unkillable"? @ 2004-11-23 2:34 oliver 2004-11-23 2:43 ` Joe Corneli 2004-11-23 3:12 ` oliver 0 siblings, 2 replies; 4+ messages in thread From: oliver @ 2004-11-23 2:34 UTC (permalink / raw) hi there sometimes i accidentally kill or rename the scratch-buffer. how can i protect this? is there a way to hook into kill-buffer and rename-buffer? thanks, olli ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to make the scratch buffer "unkillable"? 2004-11-23 2:34 how to make the scratch buffer "unkillable"? oliver @ 2004-11-23 2:43 ` Joe Corneli 2004-11-23 3:12 ` oliver 1 sibling, 0 replies; 4+ messages in thread From: Joe Corneli @ 2004-11-23 2:43 UTC (permalink / raw) On the topic of preventing accidental *scratch* kills, look in the list archive, as this is a recent question. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to make the scratch buffer "unkillable"? 2004-11-23 2:34 how to make the scratch buffer "unkillable"? oliver 2004-11-23 2:43 ` Joe Corneli @ 2004-11-23 3:12 ` oliver 2004-11-23 4:22 ` V. L. Simpson 1 sibling, 1 reply; 4+ messages in thread From: oliver @ 2004-11-23 3:12 UTC (permalink / raw) sorry guys, found the answer on the net. see http://www.emacswiki.org/cgi-bin/wiki/RecreateScratchBuffer cheers, olli "oliver" <oliver_baumann@nospam.justemail.net> wrote in message news:cnu7h0$tc9$1@otis.netspace.net.au... > hi there > > sometimes i accidentally kill or rename the scratch-buffer. how can i > protect this? > > is there a way to hook into kill-buffer and rename-buffer? > > thanks, olli ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to make the scratch buffer "unkillable"? 2004-11-23 3:12 ` oliver @ 2004-11-23 4:22 ` V. L. Simpson 0 siblings, 0 replies; 4+ messages in thread From: V. L. Simpson @ 2004-11-23 4:22 UTC (permalink / raw) >>>>> "oliver" == oliver <oliver_baumann@nospam.justemail.net> writes: >> >> sometimes i accidentally kill or rename the >> scratch-buffer. how can i protect this? >> >> is there a way to hook into kill-buffer and rename-buffer? >> >> thanks, olli GNU Emacs 21 on up will recreate the scratch buffer if you just revisit that buffer name: C-x b (or M-x switch-to-buffer) *scratch* vls ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-11-23 4:22 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2004-11-23 2:34 how to make the scratch buffer "unkillable"? oliver 2004-11-23 2:43 ` Joe Corneli 2004-11-23 3:12 ` oliver 2004-11-23 4:22 ` V. L. Simpson
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.