From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: ANN: org-sticky-header Date: Wed, 19 Apr 2017 17:03:08 +0200 Message-ID: References: <8760i25gg3.fsf@t3610> <87wpahylph.fsf@t3610> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c03c988b9f60e054d86535a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0r9n-0008Do-Jm for emacs-orgmode@gnu.org; Wed, 19 Apr 2017 11:04:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0r9m-00033P-He for emacs-orgmode@gnu.org; Wed, 19 Apr 2017 11:04:35 -0400 Received: from mail-it0-x22b.google.com ([2607:f8b0:4001:c0b::22b]:38313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0r9m-00032y-D5 for emacs-orgmode@gnu.org; Wed, 19 Apr 2017 11:04:34 -0400 Received: by mail-it0-x22b.google.com with SMTP id e132so16545003ite.1 for ; Wed, 19 Apr 2017 08:04:34 -0700 (PDT) In-Reply-To: <87wpahylph.fsf@t3610> 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" To: Eric S Fraga , org-mode list --94eb2c03c988b9f60e054d86535a Content-Type: text/plain; charset=UTF-8 On Wed, Apr 19, 2017 at 8:07 AM, Eric S Fraga wrote: > On Tuesday, 18 Apr 2017 at 23:53, Adam Porter wrote: > > I was using three spaces, which looked okay on my system, but I'm sure > > it didn't look right on everyone's. I added an option to configure it > > now. It would be nice to calculate it automatically somehow, but this > > should be an improvement. > > Excellent. Thank you. > > One other minor issue: if there are any inline tasks, the sticky header > shows "END" if there is such an inline task not in the window but > between point and the previous headline. I think that if point is not > within an inline task, you should be skipping inline tasks (my own > preference) or displaying the headline for the task and not the END > line. > That would be hard to implement. Skipping inline tasks entirely would be easy enough, just truncate the list of path entries to below org-inlinetask-min-level. Carsten > > Thanks again, > eric > > -- > : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.5-444-g998576 > --94eb2c03c988b9f60e054d86535a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Wed, Apr 19, 2017 at 8:07 AM, Eric S Fraga <e.fraga@ucl.ac.uk&g= t; wrote:
On Tues= day, 18 Apr 2017 at 23:53, Adam Porter wrote:
> I was using three spaces, which looked okay on my system, but I'm = sure
> it didn't look right on everyone's.=C2=A0 I added an option to= configure it
> now.=C2=A0 It would be nice to calculate it automatically somehow, but= this
> should be an improvement.

Excellent.=C2=A0 Thank you.

One other minor issue: if there are any inline tasks, the sticky header
shows "END" if there is such an inline task not in the window but=
between point and the previous headline.=C2=A0 I think that if point is not=
within an inline task, you should be skipping inline tasks (my own
preference) or displaying the headline for the task and not the END
line.

That would be hard to implement.= =C2=A0 Skipping inline tasks entirely would
be easy enough, just = truncate the list of path entries to below
org-inlinetask-min-lev= el.

Carsten
=C2=A0

Thanks again,
eric

--
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.5-444-g998576

--94eb2c03c988b9f60e054d86535a--