emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Carsten Dominik <carsten@orgmode.org>, emacs-orgmode@gnu.org
Subject: Re: Inline image display and Emacs 22
Date: Thu, 15 Jul 2010 07:50:22 -0400	[thread overview]
Message-ID: <87y6dddkw1.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <8739vlf0lp.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Thu\, 15 Jul 2010 07\:25\:38 -0400")

Bernt Hansen <bernt@norang.ca> writes:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Jul 15, 2010, at 3:30 AM, Bernt Hansen wrote:
>>
>>> Bernt Hansen <bernt@norang.ca> writes:
>>>
>>>>    5. org-reveal (C-c C-r) works slightly differently in Emacs 22 and
>>>>       23.  I actually prefer the Emacs 22 version.
>>>>
>>>>       If I am in a folded buffer and C-c C-r on a headline the
>>>>       following task is /not/ revealed in Emacs 23 but it is in
>>>>       Emacs 22.
>>
>> What do you mean by "the following task".
>> Can you make a step-by-step guide, please?

What do you mean by "the following task"  ;)

My confusion seems to be what is the 'following headline' in the
description for org-show-following-headline.

This turns out to be pilot error I think.  It's a combination of
narrowing to subtree and not understanding that org-reveal shows only
the next SIBLING task (as opposed to the next child task.)

>
> Okay.  Of course today I can't reproduce that behaviour at will :-P
> I'll post a recipe when I can reproduce it reliably with a simple
> example.

Here;s my recipe:

This works the same in Emacs 22 and Emacs 23 so I was mistaken about it
being an Emacs 23 only issue -- I just notice this more in Emacs 23 at
work.

,----[ sample.org ]
| * one
| * two
| ** two.one
| ** two.two
| *** TODO two.two.one
| **** TODO next subtask
| *** TODO two.two.three
| ** two.three
| * three
`----

If you put the point on the headline for two.two
C-x n s
M-x hide-other RET

then

C-c C-r

seems to do nothing.

It does not reveal the task two.two.one which is what I want so I can
safely edit the content of two.two.

C-c C-r seems to do nothing when the buffer is narrowed to subtree and
there is no sibling task after the current task you want to reveal --
even if that task has child tasks.  I think it is working as designed
but it isn't as convenient as it could be.

I have
   org-show-hierarchy-above t
and
   org-show-following-heading t

I expected (incorrectly it seems) that org-show-following-heading would
show the next heading in the file (i.e. two.two.one (the child of
two.two) not the sibling which is not part of the narrowed buffer)

Regards,
Bernt

  reply	other threads:[~2010-07-15 11:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-15  1:14 Inline image display and Emacs 22 Bernt Hansen
2010-07-15  1:24 ` Bernt Hansen
2010-07-15  1:30   ` Bernt Hansen
2010-07-15  7:26     ` Carsten Dominik
2010-07-15 11:25       ` Bernt Hansen
2010-07-15 11:50         ` Bernt Hansen [this message]
2010-07-15  1:30 ` Samuel Wales
2010-07-15  1:32   ` Bernt Hansen
2010-07-15  1:34     ` Samuel Wales
2010-07-15  7:24 ` Carsten Dominik

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=87y6dddkw1.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=carsten.dominik@gmail.com \
    --cc=carsten@orgmode.org \
    --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).