From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: sebyte Newsgroups: gmane.emacs.help Subject: Re: Keep losing work in non-file-visiting buffers Date: Thu, 04 Dec 2003 23:14:38 +0000 Organization: Customer of PlusNet Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3FCD2367.8030005@yahoo.com> <3FCE6F3B.5050909@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1070580694 21149 80.91.224.253 (4 Dec 2003 23:31:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2003 23:31:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 05 00:31:31 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AS2wV-0001CQ-00 for ; Fri, 05 Dec 2003 00:31:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AS3sJ-00016g-F3 for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Dec 2003 19:31:15 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!skynet.be!landlord!wards.force9.net.POSTED!not-for-mail User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: <3FCE6F3B.5050909@yahoo.com> X-Forwarded: for smolny.plus.com via NNTP Proxy Original-Lines: 25 Original-NNTP-Posting-Host: 212.159.3.244 Original-X-Complaints-To: abuse@plus.net.uk Original-X-Trace: wards.force9.net 1070579769 212.159.3.244 (Thu, 04 Dec 2003 23:16:09 GMT) Original-NNTP-Posting-Date: Thu, 04 Dec 2003 23:16:09 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:119017 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14957 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14957 > 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