From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: agenda cycling Date: Wed, 19 Aug 2009 19:25:29 -0700 Message-ID: <20524da70908191925u77777cataf9308dd29ed027d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdxLL-0003h7-QK for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 22:25:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdxLG-0003fs-CH for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 22:25:34 -0400 Received: from [199.232.76.173] (port=37293 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdxLG-0003fp-5N for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 22:25:30 -0400 Received: from mail-iw0-f185.google.com ([209.85.223.185]:50287) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MdxLF-0003lx-Oo for emacs-orgmode@gnu.org; Wed, 19 Aug 2009 22:25:29 -0400 Received: by iwn15 with SMTP id 15so251208iwn.14 for ; Wed, 19 Aug 2009 19:25:29 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode In at least org-version "6.29trans", I find the behavior of org-agenda-cycle-show to be different from its docstring, and also different from what I would find most useful. The docstring says: Show the current entry in another window, with default settings. Default settings are taken from `org-show-hierarchy-above' and siblings. When use repeadedly in immediate succession, the remote entry will cycle through visibility entry -> subtree -> subtree with logbook emacs -q --load org-testcase.el , minimal, produces these states: 1) folded 2) only the first subtask shows, with no indication that there are any other subtasks 3) same as 2 4) everything except logbook 5) everything including logbook I find states 2 and 3 to be confusing, because it makes me think that there are no other subtasks. What I would expect for state 2 is to show children. This is, in fact, the most useful state for me. The behavior that I would find most familiar is the same as the cycling behavior when point is on the parent headline in the outline. I imagine most users would find the same. I don't mind experimenting with extra configurable states for cycling, of course. With my .emacs, the behavior is the same. My .emacs has (setf org-show-following-heading t) (setf org-show-siblings t) Also, I have some ideas for cycling from the agenda, which seem appropriate to include here. Point could change to show more of the outline. I think that the following would work well. 1) folded, with point in the middle 2) children, with point near the top 3) subtree, with point near the top Also, window configuration could change, to a generous size for children and subtree, at least if they cannot fit in the window. Then it could return for folded, so that you can see more of the agenda as usual. I use the default, half-height window for that. Finally, a 4th state, which is to not show the outline at all, is a possibility. Thus, cycling 4 times gets you back to the beginning. Here is a full design. 1) folded, with point in the middle, default window splitting 2) children, with point near the top, generous window splitting 3) subtree, with point near the top, generous window splitting 4) agenda window fills the screen Thanks. -- Myalgic encephalomyelitis causes death (Jason et al. 2006) and severe suffering. Conflicts of interest are destroying research. What people "know" is wrong. Silence = death. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm