From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: A few questions about desktop.el Date: Tue, 26 Jul 2005 11:11:20 +0200 Message-ID: References: Reply-To: Juanma Barranquero NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1122371584 20301 80.91.229.2 (26 Jul 2005 09:53:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2005 09:53:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 26 11:52:55 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DxM72-0007qg-OF for ged-emacs-devel@m.gmane.org; Tue, 26 Jul 2005 11:52:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DxM9N-0006Ay-15 for ged-emacs-devel@m.gmane.org; Tue, 26 Jul 2005 05:55:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DxLuo-0002Iq-VX for emacs-devel@gnu.org; Tue, 26 Jul 2005 05:39:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DxLuj-0002HR-L7 for emacs-devel@gnu.org; Tue, 26 Jul 2005 05:39:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DxLqc-0001ag-Iz for emacs-devel@gnu.org; Tue, 26 Jul 2005 05:35:39 -0400 Original-Received: from [64.233.182.197] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DxLdp-0001Gf-O6 for emacs-devel@gnu.org; Tue, 26 Jul 2005 05:22:25 -0400 Original-Received: by nproxy.gmail.com with SMTP id i2so174506nfe for ; Tue, 26 Jul 2005 02:11:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=psqM+/owMLH2fs2SikGWoPUVubyZnnSY0FoInEGwo7kuQCEj9QpsxdCoPCIvqnJLd1E0Fjz78rib9StWUlGUhDho6TFUJJxuxch05a9rKq4WRm8FsWgUFTNwUYWWvjvKjwKtf/KlKI0x6No6SANEsYEIsvd9+IG4KwJUCUk9mF0= Original-Received: by 10.48.250.16 with SMTP id x16mr7498nfh; Tue, 26 Jul 2005 02:11:20 -0700 (PDT) Original-Received: by 10.48.250.5 with HTTP; Tue, 26 Jul 2005 02:11:20 -0700 (PDT) Original-To: rms@gnu.org In-Reply-To: Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41221 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41221 On 7/23/05, Richard M. Stallman wrote: > However, making that possible would probably require > another way to customize desktop.el. It would be useful to add > a suitable mechanism to desktop.el that would make this possible > in a clean way. I can add that mechanism, but I'm not sure it is worth it. There are a bunch of variables that other packages could possibly want to modify: desktop-globals-to-save desktop-globals-to-clear desktop-clear-preserve-buffers-regexp desktop-clear-preserve-buffers desktop-locals-to-save desktop-buffers-not-to-save desktop-files-not-to-save desktop-modes-not-to-save desktop-buffer-mode-handlers desktop-minor-mode-table and the various hooks. I see no clear pattern about what would other packages want to modify; *-locals-to-save and *-minor-mode-table are perhaps the most useful, but other than that everything's game. I don't see what do we gain by adding functions to manipulate these vars instead of doing it directly. =20 --=20 /L/e/k/t/u