From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Keep losing work in non-file-visiting buffers
Date: Fri, 05 Dec 2003 11:26:46 -0700 [thread overview]
Message-ID: <3FD0CDE6.405@yahoo.com> (raw)
In-Reply-To: ZePzb.16931$lm1.138832@wards.force9.net
sebyte wrote:
> once again i've spoken too soon. things are much better but still not
> perfect. there are buffers in use that don't appear in *Buffer List*
> such as *temp* which i have to kill each time I use 'C-x d' to view a
> directory. also Python mode uses temporary buffers which I now have to
> 'confirm kill'.
The buffers that are omitted from *Buffer List* have names that begin with
a space (C-h k C-x C-b):
(add-hook 'kill-buffer-query-functions ; for kill-buffer
(lambda ()
(or buffer-file-name
(not (buffer-modified-p))
(equal (string-to-char (buffer-name)) ? ) ; or *?
(yes-or-no-p (format "Buffer %s modified; kill anyway? "
(buffer-name))))))
--
Kevin Rodgers
next prev parent reply other threads:[~2003-12-05 18:26 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
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 [this message]
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
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=3FD0CDE6.405@yahoo.com \
--to=ihs_4664@yahoo.com \
/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).