From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: [patch] enhancement to set-variable to set buffer-locally Date: Thu, 8 Aug 2002 20:37:43 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <20020809003743.GA444@gnu.org> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028853445 11204 127.0.0.1 (9 Aug 2002 00:37:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 9 Aug 2002 00:37:25 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17cxmO-0002ub-00 for ; Fri, 09 Aug 2002 02:37:24 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17cy8i-0005WT-00 for ; Fri, 09 Aug 2002 03:00:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17cxn4-0000JV-00; Thu, 08 Aug 2002 20:38:06 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 3.35 #1 (Debian)) id 17cxmh-0000HV-00 for ; Thu, 08 Aug 2002 20:37:43 -0400 Original-To: emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6370 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6370 On Wed, Aug 07, 2002 at 09:02:05PM -0400, Benjamin Rutt wrote: > So, I decided to write a patch that would watch for a prefix arg given > to the function `set-variable' such that the variable would be set in > a buffer-local fashion (by calling `make-local-variable'). This seems like a nice idea, but the prompt `Set foo to local value' is wierd -- it seems to associate `local' with the value _before_ setting, which doesn't make any sense. I think something like `Set foo locally in buffer to value' would be better (if you don't like the length, you could get rid of `in buffer', but I think it makes the meaning much more clear). -Miles -- P.S. All information contained in the above letter is false, for reasons of military security.