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: kill ring menu Date: 17 May 2002 05:23:07 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: <87n0uzetas.fsf@tc-1-100.kawasaki.gol.ne.jp> 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> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1021580668 17279 127.0.0.1 (16 May 2002 20:24:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 16 May 2002 20:24:28 +0000 (UTC) Cc: 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 178RnX-0004Ua-00 for ; Thu, 16 May 2002 22:24:27 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 178Rzh-0004Rr-00 for ; Thu, 16 May 2002 22:37:01 +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 178RnZ-0008Ii-00; Thu, 16 May 2002 16:24:29 -0400 Original-Received: from smtp01.fields.gol.com ([203.216.5.131]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 178RmI-0008Dr-00; Thu, 16 May 2002 16:23:11 -0400 Original-Received: from tc-2-220.kawasaki.gol.ne.jp ([203.216.25.220] helo=tc-1-100.kawasaki.gol.ne.jp) by smtp01.fields.gol.com with esmtp (Magnetic Fields) id 178RmG-0007gC-00; Fri, 17 May 2002 05:23:09 +0900 Original-Received: by tc-1-100.kawasaki.gol.ne.jp (Postfix, from userid 1000) id 4B8FC30AC; Fri, 17 May 2002 05:23:07 +0900 (JST) Original-To: Colin Walters System-Type: i686-pc-linux-gnu In-Reply-To: <1021580236.29245.1058.camel@space-ghost> Original-Lines: 16 X-Abuse-Complaints: abuse@gol.com 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:4018 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4018 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). -Miles -- Fast, small, soon; pick any 2.