From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: hl-line obscures org-habit tracking in agenda [7.8.11] Date: Sun, 23 Dec 2012 19:06:55 +0100 Message-ID: <87fw2wz4lm.fsf@bzg.ath.cx> References: <9E821942-1DDB-4A55-BCE4-59A040085401@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tmvj3-0004oq-3f for emacs-orgmode@gnu.org; Sun, 23 Dec 2012 19:17:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tmvix-0006Qo-E5 for emacs-orgmode@gnu.org; Sun, 23 Dec 2012 19:17:01 -0500 Received: from mail-we0-f175.google.com ([74.125.82.175]:34167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tmvix-0006QX-7x for emacs-orgmode@gnu.org; Sun, 23 Dec 2012 19:16:55 -0500 Received: by mail-we0-f175.google.com with SMTP id z53so3066460wey.6 for ; Sun, 23 Dec 2012 16:16:54 -0800 (PST) In-Reply-To: (Vincent Beffara's message of "Mon, 10 Dec 2012 13:46:24 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Vincent Beffara Cc: emacs-orgmode@gnu.org, Boyan Penkov Hi Boyan and Vincent, Vincent Beffara writes: > Same thing here except with TODO keywords, the font is configured to be > black-on-red and hl-line lays on top of that, giving a > black-on-darkgrey. Looking at docs about how emacs determines the face at a > given location, they speak about a stack of specifications but nothing > about the ordering of that stack - certainly org should be above hl-line ? > Any way to change that ? (Maybe hl-line uses an "overlay", in which case it > seems to be hopeless ...) Yes, I think this is pretty hopeless. Before switching to Vi, maybe you can try to activate `hl-line-mode' within `org-agenda-finalize-hook', because fontification is done late in the agenda creation and this hook is called just before it. Not tested, though. 2 cts, -- Bastien