From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: why does occur depropertize matching lines? Date: Mon, 06 Dec 2004 23:40:24 +0200 Organization: JURTA Message-ID: <87r7m35cmv.fsf@jurta.org> References: <87653zkezn.fsf@jurta.org> <87653uqqox.fsf@jurta.org> <874qj04rxm.fsf@jurta.org> <87hdmzb333.fsf@jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1102369399 17330 80.91.229.6 (6 Dec 2004 21:43:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2004 21:43:19 +0000 (UTC) Cc: rms@gnu.org, drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 06 22:43:08 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CbQdP-000714-00 for ; Mon, 06 Dec 2004 22:43:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbQnB-0002lm-0g for ged-emacs-devel@m.gmane.org; Mon, 06 Dec 2004 16:53:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CbQmp-0002kA-Bp for emacs-devel@gnu.org; Mon, 06 Dec 2004 16:52:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CbQmo-0002jq-Kp for emacs-devel@gnu.org; Mon, 06 Dec 2004 16:52:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbQmo-0002jg-Fh for emacs-devel@gnu.org; Mon, 06 Dec 2004 16:52:50 -0500 Original-Received: from [194.126.101.111] (helo=MXR-5.estpak.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CbQcb-0004PC-Lj; Mon, 06 Dec 2004 16:42:17 -0500 Original-Received: from mail.neti.ee (80-235-35-149-dsl.mus.estpak.ee [80.235.35.149]) by MXR-5.estpak.ee (Postfix) with ESMTP id ADCBAE9FDD; Mon, 6 Dec 2004 23:42:12 +0200 (EET) Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Mon, 06 Dec 2004 15:33:50 -0500") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at neti.ee 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: main.gmane.org gmane.emacs.devel:30771 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30771 Stefan Monnier writes: >> Yes, in heavily highlighted text bold doesn't stand out sufficiently. > > That's the problem: the highlight we copy from the source buffer > might take *any* form. It could very well be the exact same > highlight used for by occur itself. Most faces don't change background color. Only very special faces (that are very rarely used in buffers on which occur is usually called) have background different from default. So any face with a different background would be visible among highlighted text with no background. > What we really want is to copy the face info from the source but "dim" it > a bit so it doesn't overshadow occur's own highlighting. There is one problem with dimmed faces: they might be not readable, especially for visually impaired users. -- Juri Linkov http://www.jurta.org/emacs/