From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Hl-line and visual-line Date: Fri, 21 May 2010 12:16:23 +0200 Message-ID: <201005211216.23491.tassilo@member.fsf.org> References: <45790724-63FC-4B80-A70D-8CD49A92FEE3@gmail.com> <201005210834.28589.tassilo@member.fsf.org> <83wruxpt2z.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1274438151 13487 80.91.229.12 (21 May 2010 10:35:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 May 2010 10:35:51 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 21 12:35:49 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFPa0-0004Kt-QJ for ged-emacs-devel@m.gmane.org; Fri, 21 May 2010 12:35:49 +0200 Original-Received: from localhost ([127.0.0.1]:39396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFPZz-0001F0-4O for ged-emacs-devel@m.gmane.org; Fri, 21 May 2010 06:35:47 -0400 Original-Received: from [140.186.70.92] (port=33927 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFPHm-0002PL-Vf for emacs-devel@gnu.org; Fri, 21 May 2010 06:17:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFPHG-0003Vi-GS for emacs-devel@gnu.org; Fri, 21 May 2010 06:16:28 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:28626) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFPHG-0003VY-7g for emacs-devel@gnu.org; Fri, 21 May 2010 06:16:26 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id ECFE878A4693 for ; Fri, 21 May 2010 12:16:24 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20996-04 for ; Fri, 21 May 2010 12:16:24 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad.localnet (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 07E1678A46A6 for ; Fri, 21 May 2010 12:16:24 +0200 (CEST) User-Agent: KMail/1.13.3 (Linux/2.6.34-gentoo; KDE/4.4.3; x86_64; ; ) In-Reply-To: <83wruxpt2z.fsf@gnu.org> X-Face: `TY6r/ws=N5uqO1E`M=Sups<}n%T[E^o_?MJj< =?utf-8?q?O4j=265ljV6lU=7DcXU7oftH=26/x=5F=7EK=7B=26zv9=7D=0A=09sB=7D5/Ea=5B?= =?utf-8?q?hU=7BCS=23=3F=3F0=3F=3Fn?=@sX+ft]?{(l?, mp"a`u 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:124985 Archived-At: On Friday 21 May 2010 10:17:08 Eli Zaretskii wrote: Hi Eli, > > > On another note, I first thought of just implementing hl-line in > > > the redisplay code, or perhaps as an option to the cursor display. > > > When the cursor is drawn, we just highlight the line. No moving > > > around overlays in Lisp... > > > > At a first glance, that would be cool. I like hl-line-mode, but I > > have to disable it in some modes, because the hl-line-overlay's face > > overrides the normal font-lock face > > Fixing that would mean introducing some feature that will allow you to > request that an overlay's priority is below text properties. That would be as fine as David's suggestion. > That sounds like a simpler change (we have negative priority values > vacant for that, I think) than pushing line highlight to the level of > the basic redisplay. Negative overlay priorities with that semantics would be very nice. Bye, Tassilo