From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Javier Oviedo" Newsgroups: gmane.emacs.help Subject: Re: font-lock question Date: Thu, 12 Feb 2004 13:47:53 -0500 Organization: Texas Instruments Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87znbo9u7t.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1076612512 18439 80.91.224.253 (12 Feb 2004 19:01:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2004 19:01:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 12 20:01:44 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ArM5o-0006fF-00 for ; Thu, 12 Feb 2004 20:01:44 +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 1ArM5B-0000we-Ts for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Feb 2004 14:01:05 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!in.100proofnews.com!in.100proofnews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!attdl1!ip.att.net!news.ti.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: gt64v7121.telogy.design.ti.com Original-X-Trace: home.itg.ti.com 1076611653 23684 158.218.103.164 (12 Feb 2004 18:47:33 GMT) Original-X-Complaints-To: usenet@news.ti.com Original-NNTP-Posting-Date: 12 Feb 2004 18:47:33 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Original-Xref: shelby.stanford.edu gnu.emacs.help:120852 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16800 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16800 How do I do this? Occur mode has already copied the line to the buffer for me. It sounds like you are suggesting that I implement this copy myself but I'm not sure how to override the occur copy nor how to copy the faces with the text. Any hints...thoughts...suggestions? Thanks! -- Javier "Kai Grossjohann" wrote in message news:87znbo9u7t.fsf@emptyhost.emptydomain.de... > "Javier Oviedo" writes: > > > Actually, I implemented something very similar to this exact code. My > > motivation is that the occur mode buffer does not display the matches in the > > original buffers faces. > > The solution here is to just copy the faces along with the text from > the original buffers to the occur buffer. > > But don't let that stop you from the fun experiments ;-) > > Kai