emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: david@adboyd.com (J. David Boyd)
To: emacs-orgmode@gnu.org
Subject: Re: bug in version 5.06
Date: Mon, 27 Aug 2007 12:33:29 -0400	[thread overview]
Message-ID: <876431hr8m.fsf@adboyd.com> (raw)
In-Reply-To: m2k5rhm5xy.fsf@cam.ac.uk

Leo <sdl.web@gmail.com> 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	other threads:[~2007-08-27 16:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-27 14:01 bug in version 5.06 J. David Boyd
2007-08-27 14:02 ` Leo
2007-08-27 16:33   ` J. David Boyd [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=876431hr8m.fsf@adboyd.com \
    --to=david@adboyd.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).