From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: kill ring menu Date: 16 May 2002 23:54:44 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5xofff4v2z.fsf@kfs2.cua.dk> References: <1020022891.27106.142.camel@space-ghost> <200204290505.g3T55t006146@aztec.santafe.edu> <1020059236.31789.358.camel@space-ghost> <200204300519.g3U5Js306727@aztec.santafe.edu> <1020320725.27616.54.camel@space-ghost> <200205031825.g43IPuD00768@aztec.santafe.edu> <1020502030.5286.25.camel@space-ghost> <200205051746.g45Hk5P01808@aztec.santafe.edu> <1020662101.5288.76.camel@space-ghost> <87helleq50.fsf@tc-1-100.kawasaki.gol.ne.jp> <1020725723.5138.127.camel@space-ghost> <1020743734.5288.153.camel@space-ghost> <200205072007.g47K7bv04781@aztec.santafe.edu> <1020803891.5288.198.camel@space-ghost> <200205090245.g492jBX05558@aztec.santafe.edu> <1020918483.1286.888.camel@space-ghost> <200205100030.g4A0U2D06495@aztec.santafe.edu> <1021574872.27195.902.camel@space-ghost> <87r8kbetsi.fsf@tc-1-100.kawasaki.gol.ne.jp> <1021580236.29245.1058.camel@space-ghost> <87n0uzetas.fsf@tc-1-100.kawasaki.gol.ne.jp> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021582463 20913 127.0.0.1 (16 May 2002 20:54:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 16 May 2002 20:54:23 +0000 (UTC) Cc: Colin Walters , emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 178SGV-0005RA-00 for ; Thu, 16 May 2002 22:54:23 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 178SSf-000582-00 for ; Thu, 16 May 2002 23:06:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 178SGY-0003xq-00; Thu, 16 May 2002 16:54:26 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 178SG8-0003tt-00; Thu, 16 May 2002 16:54:00 -0400 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id BC5B07C016; Thu, 16 May 2002 20:53:58 +0000 (GMT) Original-To: Miles Bader In-Reply-To: <87n0uzetas.fsf@tc-1-100.kawasaki.gol.ne.jp> Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4023 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4023 Miles Bader writes: > Colin Walters writes: > > Well, since categories are just symbols, we use the usual elisp > > technique to avoid namespace clashes: a (hopefully) unique prefix. All > > the occur category symbols start with `occur-', all the ibuffer ones > > start with `ibuffer-', etc. > > They're not buffer local. > > font-lock is supposed to turn on or off faces in the _current buffer_. > With your current code, doing `M-x font-lock' in, say, a shell buffer, > will turn on or off faces in _every_ shell buffer (because they all > use the same category properties). What would it take to make categories buffer local ? At least, it seems (without having looked at the code lately) an order of magnitude simpler than making faces buffer local... -- Kim F. Storm http://www.cua.dk