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

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

Re: adieu *scratch*


From: Michaël Cadilhac
Subject: Re: adieu *scratch*
Date: Wed, 20 Dec 2006 15:39:16 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

Dieter Wilhelm <address@hidden> writes:

> address@hidden (Michaël Cadilhac) writes:
>
>> Dan Jacobson <address@hidden> writes:
>>
>>> Nope, it's time the *scratch* buffer should go for experienced user
>>> me.
>>
>>> (kill-buffer "*scratch*");in .emacs
>>
>> I don't see  what you're doing with that.  AFAIK, the *scratch* buffer
>> never dies, never surrenders. If the default Lisp mode is not your cup
>> of tea, you can change it, AYK :-)
>
> In Emacs 22 I managed 2 or 3 times to kill my *scratch* buffer by
> accident.

Oh, yep! I made two faulty tests: kill the *scratch* when only one
buffer (*message*) is alive, C-x b shows scratch again, and use my own
Emacs in which the *scratch* is recreated every time it dies. My bad!

> It seems that *scratch* is not necessary any longer (in 22) but I wish
> there were a command for re-creating it or at least a mechanism not to
> kill it incidentally.

You can have a look at kill-buffer-query-functions.

-- 
/!\ My mail address has changed, please update your files accordingly.
 |      Michaël `Micha' Cadilhac     |  Ajoutez du whisky                     |
 |         Epita/LRDE Promo 2007     |           à n'importe quel texte,      |
 |  http://michael.cadilhac.name     |    ça vous fera un beau pangramme.     |
 `--JID: address@hidden'          -- Michel Clavel         -  --'

Attachment: pgp3k7em90gKO.pgp
Description: PGP signature


reply via email to

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