From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Levin Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] desktop.el: do not save some minor modes Date: Fri, 26 Oct 2007 09:09:08 +0800 Message-ID: <200710260909.08431.zslevin@gmail.com> References: <200710251354.00086.zslevin@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1193361029 10988 80.91.229.12 (26 Oct 2007 01:10:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2007 01:10:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 26 03:10:29 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 1IlDiW-0003wc-M6 for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2007 03:10:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlDiN-0006xu-2g for ged-emacs-devel@m.gmane.org; Thu, 25 Oct 2007 21:10:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlDiE-0006sd-5y for emacs-devel@gnu.org; Thu, 25 Oct 2007 21:10:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlDi5-0006fH-Qw for emacs-devel@gnu.org; Thu, 25 Oct 2007 21:10:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlDi5-0006ea-BL for emacs-devel@gnu.org; Thu, 25 Oct 2007 21:10:01 -0400 Original-Received: from rv-out-0910.google.com ([209.85.198.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IlDi4-00088x-Nb for emacs-devel@gnu.org; Thu, 25 Oct 2007 21:10:00 -0400 Original-Received: by rv-out-0910.google.com with SMTP id c27so590099rvf for ; Thu, 25 Oct 2007 18:09:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:user-agent:references:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=fjubPlrXx0Safy/5gY1InaTdOAsOyN4BXhayeIQ8k9A=; b=YN409RWXWbHU4GFTiith/ynIfi43JWdUch7hqvj7hAmEJuJgAuxyZ+eRvtvIMaDNTCrMxPhrCf2vGqZgk4inqNOwdeduK/jdMoOoLLSxYQsHuSYRg/gciUqu/Kg2lgRlur/jSHylA1fgS2yLthNkQIbCLsqtlLEgdDAg63NzTI8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:references:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=uDVUm41iiYHmqaPn3qd8L4VnhueQKK2xYJvwq3Qe+payIWimAc7Hp/s2rdBCq5Qs4F7mSy1bJGz4U10Z0BaULfSDJtI6b1LjenTKgKW19RkaqMnTwQOgucDK23bXvFfEPxjPaDzCObQW7oPddeA3JMmpesmpECLgfAz0nOIE78I= Original-Received: by 10.141.74.17 with SMTP id b17mr1261197rvl.1193360999334; Thu, 25 Oct 2007 18:09:59 -0700 (PDT) Original-Received: from levcom ( [61.234.125.31]) by mx.google.com with ESMTPS id c3sm4633714rvf.2007.10.25.18.09.54 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Oct 2007 18:09:57 -0700 (PDT) User-Agent: KMail/1.9.7 In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:81732 Archived-At: Juanma Barranquero Wrote: > On 10/25/07, Levin wrote: > > I use desktop.el, and find that it will save all the minor modes, which > > is not proper. Like erc-track-mode, if ERC is not started, this minor > > mode is meaningless. > > Isn't enough to add (erc-track-mode nil) to `desktop-minor-mode-table'? > > Juanma Yes, you are right. That's enough. Thank you for pointing that out. Levin