unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Cor Gest <cor@clsnet.nl>
To: help-gnu-emacs@gnu.org
Subject: Re: buffer-offer-save variable bug?
Date: Thu, 25 Sep 2008 13:42:30 +0000	[thread overview]
Message-ID: <873ajo8hq1.fsf@atthis.clsnet.nl> (raw)
In-Reply-To: mailman.19909.1222342654.18990.help-gnu-emacs@gnu.org

Some entity, AKA Nikolaj Schumacher <me@nschum.de>,
wrote this mindboggling stuff:
(selectively-snipped-or-not-p)


>> If you do a 'kill-current-buffer' (C-x k) it will politely inform you with : 
>> "buffer has changed , kill it anyway ?   yes or no ?"
>
> I think Xah's point was that it didn't, which I can confirm.  Is
> something missing in the example?

Anyone can screw-up by scribbling unsave code, which trashes data, 
can't they. ;-)

He shoud have included to run the hooks the hooks which
check before killing a buffer. 
Which is mentioned in the fine manual about 'kill-buffer'.

The scratch-buffer isn't protected like a 'normal' buffer anyway.

A well, the guy merely dislikes the name *scratch* and has a untitled
fetisch so why bother any further.


Cor
-- 
	Mijn Tools zijn zo modern dat ze allemaal eindigen op 'saurus'
        (defvar My-Computer '((OS . "GNU/Emacs") (IPL . "GNU/Linux")))
	     SPAM DELENDA EST       http://www.clsnet.nl/mail.php
                 1st Law of surviving a gunfight : Have a gun 


  parent reply	other threads:[~2008-09-25 13:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-24 14:06 buffer-offer-save variable bug? Xah Lee
2008-09-24 16:01 ` Andreas Politz
2008-09-24 17:57 ` Cor Gest
2008-09-25 11:37   ` Nikolaj Schumacher
     [not found]   ` <mailman.19909.1222342654.18990.help-gnu-emacs@gnu.org>
2008-09-25 13:42     ` Cor Gest [this message]
2008-09-25 16:57       ` Nikolaj Schumacher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873ajo8hq1.fsf@atthis.clsnet.nl \
    --to=cor@clsnet.nl \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).