From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: doc elisp intro cross reference fixes Date: 20 Nov 2003 09:39:23 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87wua28zux.fsf@zip.com.au> <87ad6vdsxi.fsf@mail.jurta.org> <200311190418.hAJ4ITC02466@raven.dms.auburn.edu> <200311190528.hAJ5SrK02553@raven.dms.auburn.edu> <3FBBD155.2050703@yahoo.com> <200311192348.hAJNm0106860@raven.dms.auburn.edu> <200311200512.hAK5Cfp08044@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069339448 28968 80.91.224.253 (20 Nov 2003 14:44:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2003 14:44:08 +0000 (UTC) Cc: ihs_4664@yahoo.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Nov 20 15:44:03 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AMq2N-0003sJ-00 for ; Thu, 20 Nov 2003 15:44:03 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AMq2M-0006Ac-00 for ; Thu, 20 Nov 2003 15:44:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AMqwN-0006QW-T1 for emacs-devel@quimby.gnus.org; Thu, 20 Nov 2003 10:41:55 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AMqw3-0006NY-Mw for emacs-devel@gnu.org; Thu, 20 Nov 2003 10:41:35 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AMqvW-0006AS-An for emacs-devel@gnu.org; Thu, 20 Nov 2003 10:41:33 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AMqvV-0006A9-TM for emacs-devel@gnu.org; Thu, 20 Nov 2003 10:41:01 -0500 Original-Received: from vor.iro.umontreal.ca (vor.iro.umontreal.ca [132.204.24.42]) by mercure.iro.umontreal.ca (8.12.9/8.12.9) with ESMTP id hAKEdObj009696; Thu, 20 Nov 2003 09:39:24 -0500 Original-Received: by vor.iro.umontreal.ca (Postfix, from userid 20848) id 4302B3C63E; Thu, 20 Nov 2003 09:39:24 -0500 (EST) Original-To: Luc Teirlinck In-Reply-To: <200311200512.hAK5Cfp08044@raven.dms.auburn.edu> Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner: Found to be clean X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17965 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17965 > No, indeed, it's a bug that needs to be fixed in set-variable. > If this would be considered a bug, then the global variant of > set-variable would be easy to fix, by having set-variable call the > :set function. C-u set-variable (buffer-local variant) could not be > handled this way, because :set functions are usually not intended to > handle buffer-local values. That's another problem with custom in that it handles buffer-local settings pretty poorly. But note that for this particular case, it's not as bad as you make it to be since there's custom-local-buffer to take care of it. Admittedly many setter functions don't pay attention to it, but that's just another thing that needs to be fixed. > Of course, customize-option can not > handle buffer-local values at all. One would need a new > :set-buffer-local keyword, or similar, if one wanted set-variable to > be able to handle buffer-local values for such variables. No, custom-local-buffer is all you need for this particular case. Stefan