From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: Proposal: `buffer-offer-save' be made a permanent-local Date: Wed, 16 Jun 2010 22:15:10 -0600 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276748139 28657 80.91.229.12 (17 Jun 2010 04:15:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 04:15:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 17 06:15:37 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 1OP6Vs-0006Bv-U7 for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 06:15:37 +0200 Original-Received: from localhost ([127.0.0.1]:48159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OP6Vs-00056r-87 for ged-emacs-devel@m.gmane.org; Thu, 17 Jun 2010 00:15:36 -0400 Original-Received: from [140.186.70.92] (port=43758 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OP6Vm-00053n-78 for emacs-devel@gnu.org; Thu, 17 Jun 2010 00:15:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OP6Vl-00025h-5Q for emacs-devel@gnu.org; Thu, 17 Jun 2010 00:15:30 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:49539) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP6Vk-00025S-Sx for emacs-devel@gnu.org; Thu, 17 Jun 2010 00:15:29 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OP6Ve-00067Z-Oq for emacs-devel@gnu.org; Thu, 17 Jun 2010 06:15:22 +0200 Original-Received: from c-71-237-24-138.hsd1.co.comcast.net ([71.237.24.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jun 2010 06:15:22 +0200 Original-Received: from kevin.d.rodgers by c-71-237-24-138.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jun 2010 06:15:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 12 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-24-138.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: 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:126056 Archived-At: Stefan Monnier wrote: > 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) -- Kevin Rodgers Denver, Colorado, USA