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: desktop.el and minor modes Date: Sun, 30 May 2004 23:11:04 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87aczpn09z.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085948039 30788 80.91.224.253 (30 May 2004 20:13:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 May 2004 20:13:59 +0000 (UTC) Cc: Lars Hansen Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 30 22:13:50 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 1BUWgo-0005zO-00 for ; Sun, 30 May 2004 22:13:50 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BUWgo-00035t-00 for ; Sun, 30 May 2004 22:13:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUWgx-0001VH-LL for emacs-devel@quimby.gnus.org; Sun, 30 May 2004 16:13:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BUWgu-0001UK-6C for emacs-devel@gnu.org; Sun, 30 May 2004 16:13:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BUWgs-0001U8-8L for emacs-devel@gnu.org; Sun, 30 May 2004 16:13:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUWgr-0001U5-W7 for emacs-devel@gnu.org; Sun, 30 May 2004 16:13:54 -0400 Original-Received: from [66.33.219.6] (helo=knife.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BUWga-0001XG-OT for emacs-devel@gnu.org; Sun, 30 May 2004 16:13:36 -0400 Original-Received: from mail.jurta.org (80-235-38-230-dsl.mus.estpak.ee [80.235.38.230]) by knife.dreamhost.com (Postfix) with ESMTP id 9B08FE400A; Sun, 30 May 2004 13:13:34 -0700 (PDT) Original-To: emacs-devel@gnu.org 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:24238 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24238 desktop.el saves variable names to the minor-modes slot of `desktop-create-buffer', but those variables can't be funcalled when desktop is restored. I noticed this problem when desktop.el saved in the desktop file variables `dired-omit-files-p' for all buffers. This is useless. Perhaps `desktop-save' should check if a symbol from `minor-mode-alist' is a function in case if there is no corresponding variable-to-function mapping in `desktop-minor-mode-table'? -- Juri Linkov http://www.jurta.org/emacs/