all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: sebyte <sdt133@netscape.net>
Subject: Re: Keep losing work in non-file-visiting buffers
Date: Thu, 04 Dec 2003 23:14:38 +0000	[thread overview]
Message-ID: <ZePzb.16931$lm1.138832@wards.force9.net> (raw)
In-Reply-To: <3FCE6F3B.5050909@yahoo.com>

 > Since *info* and *Help* buffers are never(?) marked as modified, I guess
 > it's actually save-buffers-kill-emacs (C-x C-c) that's holding you up, not
 > kill-buffer (C-x k).  And that means it's buffer-offer-save that's at fault,
 > not kill-buffer-query-functions.
 >
 > So maybe you just want to turn on buffer-offer-save for buffers you explictly 
 > create, as with switch-to-buffer (C-x b), instead of buffers Emacs creates 
for > you:
 >
 > (defadvice switch-to-buffer (after buffer-offer-save activate)
 >   "Set `buffer-offer-save' when called interactively."
 >   (and (interactive-p)
 >        (setq buffer-offer-save t))) ; automatically local in all buffers

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'.

this is proving to be a lot more involved than i thought.  i just wish i knew 
even a tiny little amount of elisp and could do some problem solving on this one 
myself.  i will learn, eventually...

sebyte

  parent reply	other threads:[~2003-12-04 23:14 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 [this message]
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='ZePzb.16931$lm1.138832@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.