From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: desktop.el and minor modes Date: Mon, 31 May 2004 16:52:21 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <873c5gr9ey.fsf@mail.jurta.org> References: <87aczpn09z.fsf@mail.jurta.org> <40BB0701.9020807@math.ku.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086011920 25745 80.91.224.253 (31 May 2004 13:58:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 May 2004 13:58:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 31 15:58:29 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BUnJ7-0003rZ-00 for ; Mon, 31 May 2004 15:58:29 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BUnJ6-00011G-00 for ; Mon, 31 May 2004 15:58:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUnJI-0007Cf-Bq for emacs-devel@quimby.gnus.org; Mon, 31 May 2004 09:58:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BUnIu-0006ml-U9 for emacs-devel@gnu.org; Mon, 31 May 2004 09:58:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BUnIs-0006k7-P3 for emacs-devel@gnu.org; Mon, 31 May 2004 09:58:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUnIs-0006jj-M4 for emacs-devel@gnu.org; Mon, 31 May 2004 09:58:14 -0400 Original-Received: from [66.33.219.6] (helo=knife.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BUnIe-0001fh-QG for emacs-devel@gnu.org; Mon, 31 May 2004 09:58:00 -0400 Original-Received: from mail.jurta.org (80-235-43-217-dsl.mus.estpak.ee [80.235.43.217]) by knife.dreamhost.com (Postfix) with ESMTP id 5F0FBE4033; Mon, 31 May 2004 06:57:58 -0700 (PDT) Original-To: Lars Hansen In-Reply-To: <40BB0701.9020807@math.ku.dk> (Lars Hansen's message of "Mon, 31 May 2004 12:20:49 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24278 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24278 Lars Hansen writes: > When desktop restores a buffer, it checks if there is a function > definition for each symbol in desktop-buffer-minor-modes before > calling it. > I don't see why doing this check at desktop-save should be better. desktop-save could check if a symbol is a function to not write to the desktop file useless variable names that later can't be called as functions when desktop is restored. -- Juri Linkov http://www.jurta.org/emacs/