From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Hl-line and visual-line Date: Sat, 22 May 2010 04:35:25 +0200 Message-ID: References: <45790724-63FC-4B80-A70D-8CD49A92FEE3@gmail.com> <8339xmqob9.fsf@gnu.org> <94F28B33-A04E-4511-B93D-E5471EE4D0DE@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: quoted-printable X-Trace: dough.gmane.org 1274495771 20737 80.91.229.12 (22 May 2010 02:36:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 May 2010 02:36:11 +0000 (UTC) Cc: Chong Yidong , Eli Zaretskii , Tassilo Horn , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 22 04:35:57 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 1OFeZ8-0007fN-TV for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 04:35:55 +0200 Original-Received: from localhost ([127.0.0.1]:38179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFeZ8-0002yw-8s for ged-emacs-devel@m.gmane.org; Fri, 21 May 2010 22:35:54 -0400 Original-Received: from [140.186.70.92] (port=59161 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFeZ2-0002xV-Vt for emacs-devel@gnu.org; Fri, 21 May 2010 22:35:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFeZ1-0006Ax-Cp for emacs-devel@gnu.org; Fri, 21 May 2010 22:35:48 -0400 Original-Received: from mail-gx0-f220.google.com ([209.85.217.220]:35389) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFeZ1-0006Ap-8s; Fri, 21 May 2010 22:35:47 -0400 Original-Received: by gxk20 with SMTP id 20so857465gxk.12 for ; Fri, 21 May 2010 19:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=v431k4fepBEOeiyhQlro45nfwqZaMTa/HdbjYTG2I8s=; b=wScjWfYCumwHyp4kO1c6iWgmJey9lkDEsb6wsIhOV119BSegLUlQBNCveHo/6l4dsI lmFlWBtbxerz1uUaRQpQRzxTMAftgZpBko45GynEqm22MSqAPi6GnvW65PANnqHgu4TD J+W5ddQbfDLrH5kjreCjGPPCRTnnazTSD8zKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=WB5H8MAva95iMjDBIs5pTuHdKtlTSs+nMY2DYeke4dA7MSwbLcx+1CgTd7aRUQTXiz QovzyBe4/SDNbfCsy20A16p/6njrkK+tb4krJ0ipLdLUUXHMp2zRwQDU4+aM5qToH5cJ 60ZI61/Hhh8vv+0G4fJ4ThohMHF8/9xhVWwio= Original-Received: by 10.101.193.40 with SMTP id v40mr3261719anp.204.1274495745217; Fri, 21 May 2010 19:35:45 -0700 (PDT) Original-Received: by 10.100.177.20 with HTTP; Fri, 21 May 2010 19:35:25 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:125033 Archived-At: On Sat, May 22, 2010 at 2:18 AM, Stefan Monnier wrote: >> Didn't I send something for that long ago? I am not sure anymore. > > No idea. > >> I am not even sure I understand the code. Is it just a simple change >> in face_at_buffer_position in xfaces.c that is needed? > > No. =C2=A0This is a change to overlays and hence affects all properties, = not > just `face'. =C2=A0Maybe it'll also require changes in xfaces.c as well, = but the > core change should be somewhat around the code that implements > functionality like get-char-property. Thanks, forgot. I looked up all places calling sort_overlays and changed the relevant ones (I skipped mouse overlays). However my current patch does not work as I expect in one regard: When I use hi-lock with text properties marking and an overlay with negative priority behind the text the hi-lock faces seems to disappear when I mark again with hi-lock. I can't figure out what might be wrong. Any ideas?