emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] org-clock-in menu scrolls off the top of the window


From: Bernt Hansen
Subject: Re: [O] [BUG] org-clock-in menu scrolls off the top of the window
Date: Mon, 08 Apr 2013 19:46:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)


"Sebastien Vauban"
<address@hidden> writes:

> Hi Bernt, Bastien,
>
> Bernt Hansen wrote:
>> Another change I've noticed in master is the display of the clocking
>> task menu when doing
>>
>> C-u M-x org-clock-in
>>
>> I've reduced my clocking menu items a bit due to screen size changes and
>> not being able to see the items that scroll off the top of the screen
>> (normally the most recent items are the ones I'm looking for but on
>> small screens the menu scrolls up and I can't see the recent items).
>>
>> My current setting is (setq org-clock-history-length 23)
>>
>> My menu for clock-in tasks currently runs 1-9,A-N and starts with the
>> "Current Clocking Task" on line 1.  I have a widescreen monitor in
>> windows and the bottom half of the menu is blank when the screen splits
>> horizontally to display the clock in menu -- it seems to be centered
>> near the last item in the list but this scrolls the default and
>> interrupted clocking task entries off the top of the screen.
>>
>> There is no way to scroll this menu that I am aware of.
>>
>> The buffer *Clock Task Select* has
>>
>> ,----
>> | Default Task
>> | [d] Organize        Organization
>> | The task interrupted by starting the last one
>> | [i] Organize        Organization
>> | Current Clocking Task
>> | [c] SomeProject     TODO SomeTask
>> | Recent Tasks
>> | [1] SomeProject     TODO SomeTask
>> | [2] Organize        Organization
>> | [3] refile          TODO foo
>> | ...
>> | [N] refile          SomeOtherRefileTask
>> `----
>>
>> but it scrolls with C-u M-x org-clock-in so it looks like this
>>
>> ,----
>> | Current Clocking Task
>> | [c] SomeProject     TODO SomeTask
>> | Recent Tasks
>> | [1] SomeProject     TODO SomeTask
>> | [2] Organize        Organization
>> | [3] refile          TODO foo
>> | ...
>> | [N] refile          SomeOtherRefileTask
>> | ... <lots of blank lines>
>> `----
>
> As your data is not that true, I can't tell from what you show, but another
> thing that I've seen (in my config) is that many tasks are duplicated, hence
> the list is much longer that needed.
>
> Do you see that as well in your case?
>
> For example, it seems to me that (in the second screen) item 1 is redundant
> with item c. In the first screen, items d, i and 2 seem redundant, while items
> c and 1 seem also redundant.

Hi Seb,

The data has been modified but the duplication isn't new.  The only
tasks I renamed were 'SomeTask' and 'SomeOtherRefileTask'.  I used
capture to create foo as a temporary task (which I subsequently
deleted).  The actual task list came from projects at my work.

Duplicated tasks in my displayed menu are really duplicated and as far
as I know that behaviour hasn't changed.

If there is a default, and current task (all the same) then [d], [c],
and [1] will all be identical.  The default task is only displayed when
a default clocking task is identified (which is always for me).  [c] may
not be that useful to display since we can just quit and leave the clock
alone.

Personally I like the duplication in the history list (it's a true view
of what was clocked in recently)

The main thing I'm reporting is all the whitespace now at the bottom of
the screen since the list is artificially scrolled up.  I used to be
able to determine exactly what fit in the list so I set my history
length appropriately.

Regards,
Bernt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]