From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] desktop.el: do not save some minor modes Date: Mon, 29 Oct 2007 23:48:20 +0800 Organization: cyberhut.org Message-ID: References: <200710251354.00086.zslevin@gmail.com> <200710261253.42357.zslevin@gmail.com> <87wst6lok4.fsf@hariken.mwolson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1193674430 3407 80.91.229.12 (29 Oct 2007 16:13:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2007 16:13:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 29 17:13:52 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ImXFQ-0007YI-Lz for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 17:13:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImXFG-0002jm-WD for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 12:13:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImXDl-0001Sn-1d for emacs-devel@gnu.org; Mon, 29 Oct 2007 12:12:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImXDj-0001Rq-Ds for emacs-devel@gnu.org; Mon, 29 Oct 2007 12:12:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImXDi-0001Ri-5v for emacs-devel@gnu.org; Mon, 29 Oct 2007 12:12:06 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ImWrK-0003pv-CP for emacs-devel@gnu.org; Mon, 29 Oct 2007 11:48:58 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ImWr7-0002iI-OD for emacs-devel@gnu.org; Mon, 29 Oct 2007 15:48:45 +0000 Original-Received: from 222.94.199.224 ([222.94.199.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Oct 2007 15:48:45 +0000 Original-Received: from chenggao by 222.94.199.224 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Oct 2007 15:48:45 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 222.94.199.224 User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (darwin) Cancel-Lock: sha1:Qz7JB3mXVYtjAq//9H8yzfk+Dwo= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:82077 Archived-At: >> (add-to-list 'desktop-minor-mode-table '(erc-track-minor-mode >> nil)) >> solves my problem, so this patch is not needed. >> Should we do that by default? Is it clear that users will prefer not >> to record that minor mode? > > I've now checked in a change to this effect. After this change this is one thing annoying - I have to (require 'desktop) to use erc even I dont use desktop.el otherwise an error is triggered telling desktop-minor-mode-table not existed or something. I think it's a bug.