From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Overlays category - could this be made buffer local? Date: Fri, 18 Jan 2008 07:07:15 +0900 Message-ID: <87zlv45coc.fsf@catnip.gol.com> References: <478FCE25.1030009@gmail.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1200607662 2741 80.91.229.12 (17 Jan 2008 22:07:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2008 22:07:42 +0000 (UTC) Cc: Emacs Devel To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 17 23:08:00 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 1JFctw-0002iH-IQ for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2008 23:07:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFctX-0001Wy-Mn for ged-emacs-devel@m.gmane.org; Thu, 17 Jan 2008 17:07:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JFctS-0001SV-Kg for emacs-devel@gnu.org; Thu, 17 Jan 2008 17:07:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JFctS-0001RS-1Z for emacs-devel@gnu.org; Thu, 17 Jan 2008 17:07:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFctR-0001RJ-Nq for emacs-devel@gnu.org; Thu, 17 Jan 2008 17:07:25 -0500 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JFctN-0007dy-OT; Thu, 17 Jan 2008 17:07:22 -0500 Original-Received: from 203-216-99-223.dsl.gol.ne.jp ([203.216.99.223] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1JFctL-0007kP-Ph; Fri, 18 Jan 2008 07:07:19 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id B9EB92F4D; Fri, 18 Jan 2008 07:07:16 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <478FCE25.1030009@gmail.com> (Lennart Borgman's message of "Thu, 17 Jan 2008 22:52:37 +0100") Original-Lines: 22 X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:87036 Archived-At: "Lennart Borgman (gmail)" writes: > If OVERLAY does not record any value for that > property, but it does have a `category' property which is a > symbol, that symbol's PROP property is used. Otherwise, the value > is `nil'. > > If 'category where allowed to be a symbol then buffer local values could > be set. `category' is already a symbol. I presume you're saying, "if the user were able to specify a custom forwarding symbol to use instead of `category', then ..." I'm not sure it's a good idea though, as in many cases overlay lookups are implicit, so there's no easy/clean way to specify what symbol to use (instead of `category'). -Miles -- "Suppose He doesn't give a shit? Suppose there is a God but He just doesn't give a shit?" [George Carlin]