emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: bug in version 5.06


From: J. David Boyd
Subject: [Orgmode] Re: bug in version 5.06
Date: Mon, 27 Aug 2007 12:33:29 -0400
User-agent: Gnus/5.1100000000000003 (Gnus v5.11) Emacs/22.1 (cygwin)

Leo <address@hidden> writes:

> On 2007-08-27 15:01 +0100, J. David Boyd wrote:
>> I used to be able to open an org file, and with the cursor in the top left
>> hand corner of the file, where it defaults to, press <Tab> repeatedly to 
>> cycle
>> through showing the different levels of my file.
>
> See the ChangeLog on org mode page. I remembered it says something about
> this.
>
> -- 
> Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)
>
>          Gnus is one component of the Emacs operating system.


Hmm, I do see this when I do a Ctl-h k on the <tab> key:

<tab> runs the command org-cycle
  which is an interactive Lisp function in 
`/home/Dave/.emacs.d/org-5.06/org.el'.

It is bound to <tab>, TAB, <menu-bar> <Tbl> <Next Field>, <menu-bar>
<Org> <Show/Hide> <Cycle Visibility>.  (org-cycle &optional arg)

Visibility cycling for Org-mode.

- When this function is called with a prefix argument, rotate the entire
  buffer through 3 states (global cycling)
  1. OVERVIEW: Show only top-level headlines.
  2. CONTENTS: Show all headlines of all levels, but no body text.
  3. SHOW ALL: Show everything.

- When point is at the beginning of a headline, rotate the subtree started
  by this line through 3 different states (local cycling)
  1. FOLDED:   Only the main headline is shown.
  2. CHILDREN: The main headline and the direct children are shown.
               From this state, you can move to one of the children
               and zoom in further.
  3. SUBTREE:  Show the entire subtree, including body text.

- When there is a numeric prefix, go up to a heading with level arg, do
  a `show-subtree' and return to the previous cursor position.  If arg
  is negative, go up that many levels.

- When point is not at the beginning of a headline, execute
  `indent-relative', like TAB normally does.  See the option
  `org-cycle-emulate-tab' for details.

- Special case: if point is at the beginning of the buffer and there is
  no headline in line 1, this function will act as if called with prefix arg.




The last point, the 'Special case' seems to be the problem.  

I'm on the first line in the buffer, there is no headline, but it
doesn't work.

If I do a Ctl-U <tab>, it works okay.

Dave





reply via email to

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