From: sebyte <sdt133@netscape.net>
Subject: Re: Keep losing work in non-file-visiting buffers
Date: Wed, 03 Dec 2003 22:09:29 +0000 [thread overview]
Message-ID: <Rbtzb.16503$lm1.134250@wards.force9.net> (raw)
In-Reply-To: <3FCD2367.8030005@yahoo.com>
> (setq-default buffer-offer-save t) ; for save-buffers-kill-emacs
>
>
> (add-hook 'kill-buffer-query-functions ; for kill-buffer
> (lambda ()
> (or buffer-file-name
> (not (buffer-modified-p))
> (yes-or-no-p (format "Buffer %s modified; kill anyway? "
> (buffer-name))))))
actually works too well! am forever being prompted re: buffers that *should* be
killed without asking, eg, info, help, gnus buffers etc. oh well, can't have
everything your own way i suppose.
sebyte
next prev parent reply other threads:[~2003-12-03 22:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-02 21:15 Keep losing work in non-file-visiting buffers sebyte
2003-12-02 23:42 ` Kevin Rodgers
2003-12-03 17:34 ` sebyte
2003-12-03 22:09 ` sebyte [this message]
2003-12-03 23:18 ` Kevin Rodgers
2003-12-04 21:15 ` sebyte
2003-12-04 23:14 ` sebyte
2003-12-05 18:26 ` Kevin Rodgers
2003-12-04 16:56 ` Johan Bockgård
2003-12-04 23:29 ` Stefan Monnier
2003-12-04 23:35 ` Jesper Harder
2003-12-05 0:05 ` Stefan Monnier
2003-12-05 9:37 ` Jesper Harder
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='Rbtzb.16503$lm1.134250@wards.force9.net' \
--to=sdt133@netscape.net \
/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.
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.