From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sebastian Tennant Newsgroups: gmane.emacs.help Subject: Re: Desktop save Date: Tue, 8 Apr 2003 15:39:21 +0100 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1049813215 6299 80.91.224.249 (8 Apr 2003 14:46:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2003 14:46:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 08 16:46:52 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 192uNA-0001cx-00 for ; Tue, 08 Apr 2003 16:46:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192uMP-0000B8-07 for gnu-help-gnu-emacs@m.gmane.org; Tue, 08 Apr 2003 10:46:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 192uJZ-0007MW-00 for help-gnu-emacs@gnu.org; Tue, 08 Apr 2003 10:43:09 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 192uHi-0006r0-00 for help-gnu-emacs@gnu.org; Tue, 08 Apr 2003 10:41:19 -0400 Original-Received: from netmail01.services.quay.plus.net ([212.159.14.219]) by monty-python.gnu.org with smtp (Exim 4.10.13) id 192uFx-0005Rj-00 for help-gnu-emacs@gnu.org; Tue, 08 Apr 2003 10:39:25 -0400 Original-Received: (qmail 23885 invoked from network); 8 Apr 2003 14:39:21 -0000 Original-Received: from albert.vcisp.net (212.159.16.194) by netmail01.services.quay.plus.net with SMTP; 8 Apr 2003 14:39:21 -0000 Original-To: Phillip Lord In-Reply-To: X-Mailer: Apple Mail (2.551) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8284 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8284 On Tuesday, April 8, 2003, at 02:14 pm, Phillip Lord wrote: > Something is crashing when one of these modes is trying to load > perhaps. Have you checked *messages*? Hi Phil. Thanks for taking the time to think about this one. Here's my usual *Messages* buffer upon start-up: (emacs) Loading disp-table...done Loading /Users/sebbyt/.xemacs/init.el (source)...done Loading /Users/sebbyt/.xemacs/custom.el (source)...done Loading dired...done Reading directory /Users/sebbyt/.Terminal_folder/...done Desktop loaded. For information about the GNU Project and its goals, type C-h C-p. Seemingly no problem there. However within 'customize-group RET desktop' desktop-buffer-handlers says the following: Desktop Buffer Handlers: [Hide] [INS] [DEL] Function: desktop-buffer-dired [INS] [DEL] Function: desktop-buffer-rmail [INS] [DEL] Function: desktop-buffer-mh [INS] [DEL] Function: desktop-buffer-info [INS] [DEL] Function: desktop-buffer-file [INS] [State]: this option is unchanged from its standard setting. List of functions to call in order to create a buffer. [Hide] The functions are called without explicit parameters but can use the variables `desktop-buffer-major-mode', `desktop-buffer-file-name', `desktop-buffer-name'. If one function returns non-nil, no further functions are called. If the function returns t then the buffer is considered created. I'm at a loss, not being a Lisp programmer, (or any sort of programmer for that matter), but I've established that the function desktop-buffer-file, (the last in the list), deals with restoring buffers that visit files in the correct major/minor modes etc. Other things aren't working such as modes I've put in desktop-modes-not-to-save being ignored. But let's tackle one thing at a time hey! Any ideas? Seb.