From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Proposal: `buffer-offer-save' be made a permanent-local Date: Thu, 17 Jun 2010 16:19:59 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276806583 12112 80.91.229.12 (17 Jun 2010 20:29:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 20:29:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kevin Rodgers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 17 22:29:42 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OPLiU-0004eH-JZ for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 22:29:38 +0200 Original-Received: from localhost ([127.0.0.1]:58784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPLZQ-0000i1-Ju for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 16:20:16 -0400 Original-Received: from [140.186.70.92] (port=51563 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPLZI-0000eN-Nd for emacs-devel@gnu.org; Thu, 17 Jun 2010 16:20:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPLZG-00083k-TN for emacs-devel@gnu.org; Thu, 17 Jun 2010 16:20:08 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:55357) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPLZG-00083L-R5 for emacs-devel@gnu.org; Thu, 17 Jun 2010 16:20:06 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o5HKJxQn011387; Thu, 17 Jun 2010 16:19:59 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 7D12DB4508; Thu, 17 Jun 2010 16:19:59 -0400 (EDT) In-Reply-To: (Kevin Rodgers's message of "Wed, 16 Jun 2010 22:15:10 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3559=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:126097 Archived-At: >> And while a permanent-local variable can easily be made non-permanent >> via change-major-mode-hook, it is a lot more difficult to reliably make >> a non-permanent-local variable permanent. > Isn't it as easy as: > (put 'nonpermanent-local-variable 'permanent-local t) No, I mean without making it a permanent-local variable. I.e. it's easy to reliably "emulate" the effect of permanent-local=nil whereas it's difficult to do emulate permanent-local=t Stefan