From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: add-list local value Date: Wed, 12 Mar 2008 03:18:03 +0100 Message-ID: <47D73D5B.4070502@gmail.com> References: <47D729CB.2060105@gmail.com> 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: ger.gmane.org 1205288301 9716 80.91.229.12 (12 Mar 2008 02:18:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2008 02:18:21 +0000 (UTC) Cc: Emacs Devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 12 03:18:49 2008 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 1JZGYK-0002IT-Kw for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 03:18:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZGXm-0007il-Br for ged-emacs-devel@m.gmane.org; Tue, 11 Mar 2008 22:18:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZGXi-0007ig-Gs for emacs-devel@gnu.org; Tue, 11 Mar 2008 22:18:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZGXg-0007iS-SU for emacs-devel@gnu.org; Tue, 11 Mar 2008 22:18:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZGXg-0007iP-OJ for emacs-devel@gnu.org; Tue, 11 Mar 2008 22:18:08 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JZGXg-0006k1-DM for emacs-devel@gnu.org; Tue, 11 Mar 2008 22:18:08 -0400 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:61649 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JZGXd-00033e-9T; Wed, 12 Mar 2008 03:18:06 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: X-Antivirus: avast! (VPS 080311-0, 2008-03-11), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1JZGXd-00033e-9T. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1JZGXd-00033e-9T d21b330871a0c3538bdbdd36e8fe6c3d X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:92242 Archived-At: Stefan Monnier wrote: >> Wouldn't it be practical to allow add-list to add to the buffer local value, >> like add-hook allows? At least I need it ... > > It makes sense for add-hook because buffer-local values of hook include > a special entry t which means "run the global value of this hook". > > For lists, it doesn't make much sense I believe. Either the list is > global or it's local. If it's local, just make it local with > make-local-variable. And if I have a local value and want to add to the global value with add-to-list?