From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: follow-link not on mouse-face Date: Tue, 25 Oct 2005 23:59:59 +0300 Organization: JURTA Message-ID: <87vezluue0.fsf@jurta.org> References: <87ll0n11ey.fsf@jurta.org> <87pspzm0ou.fsf@pacem.orebokech.com> <87zmp2q1pl.fsf@jurta.org> <87br1hwxyd.fsf@pacem.orebokech.com> <87wtk4sfgh.fsf@pacem.orebokech.com> <87zmoz77u3.fsf@pacem.orebokech.com> <877jc2mnse.fsf@jurta.org> <87y84hwc4s.fsf@pacem.orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130278464 8610 80.91.229.2 (25 Oct 2005 22:14:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2005 22:14:24 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 26 00:14:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EUX0T-0000tn-Up for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2005 00:10:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUX0T-0004c6-Ax for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2005 18:10:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EUWzu-0004Nn-OK for emacs-devel@gnu.org; Tue, 25 Oct 2005 18:10:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EUWzt-0004MK-Kw for emacs-devel@gnu.org; Tue, 25 Oct 2005 18:10:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUWzt-0004M0-EO for emacs-devel@gnu.org; Tue, 25 Oct 2005 18:10:21 -0400 Original-Received: from [194.126.101.98] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EUWzo-0007ke-En; Tue, 25 Oct 2005 18:10:16 -0400 Original-Received: from mail.neti.ee (80-235-44-41-dsl.mus.estpak.ee [80.235.44.41]) by Relayhost1.neti.ee (Postfix) with ESMTP id 12D3B15E3; Wed, 26 Oct 2005 01:10:28 +0300 (EEST) Original-To: Romain Francoise In-Reply-To: <87y84hwc4s.fsf@pacem.orebokech.com> (Romain Francoise's message of "Tue, 25 Oct 2005 22:54:43 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (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: news.gmane.org gmane.emacs.devel:44875 Archived-At: >> Is it possible to do that but including the colon with the line >> number? > > It's possible but only if the line number uses a different face for > mouse-face. I don't want the line-number highlight to look different > since it does the same thing as the highlight on match data, so that > would mean defining a new face that inherits from 'highlight, and use it > for the line numbers. I don't find it terribly elegant. Surely, it is not elegant, and only introduces unnecessary clutter. I see nothing wrong with highlighting the whole line (line number + colon + matching line) as one block with the `highlight' face. You can try out how well it worked in Emacs 21.4. I see no reason to change this. -- Juri Linkov http://www.jurta.org/emacs/