emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: srandby@gmail.com
Cc: "[Orgmode]" <emacs-orgmode@gnu.org>
Subject: Re: Reveal Problem
Date: Mon, 28 Jul 2008 08:05:47 -0700	[thread overview]
Message-ID: <8A3D75D3-D0B9-475D-9F74-38550181D871@uva.nl> (raw)
In-Reply-To: <488D4906.1050706@gmail.com>

Hi Scott,

this is supposed to be a *feature*.  The problem is, if you show the  
text below such a headline in a sparse tree, then the next heading is  
still attached to the last line of the text made visible, and that  
causes problems when editing.  You can try this by going to one of those
headline revealed by the sparse tree command and typing

   M-s show-entry

Then the last line of the text made visible contains ellipses.   
Suppose you now start editing this text, move the cursor directly  
before the 3 points and type a few characters.  Strange things will  
happen and when you later make the whole buffer visible with `C-c C-a'  
you wil see that you typed somewhere in invisible text, but not where  
you intended to.

Therefore, when making the text under a headline visible, I also force  
the next headline to be visibile so that editing is safe, assuming  
that you are intending to edit that text.

Why does it bother you so much?

- Carsten

On Jul 27, 2008, at 9:20 PM, srandby@gmail.com wrote:

> I upgraded my org-mode to 6.06b which took care of the problem of  
> showing undesired headlines after a search, but a new issue has  
> arisen.
>
> Say I have the following text:
>
> * Grades
> ** Student 1
> *** Exams  :exams:
>    Exam scores
> *** Homework  :homework:
>    Homework scores
> ** Student 2
> *** Exams  :exams:
>    Exam scores
> *** Homework  :homework:
>    Homework scores
>
> If I do 'C-c \ exams' I get the following:
>
> * Grades
> ** Student 1
> *** Exams  :exams:
> ** Student 2
> *** Exams  :exams:
>
> If I now hit <TAB> with the cursor on the third line down, I get this:
>
> * Grades
> ** Student 1
> *** Exams  :exams:
>    Exam scores
> *** Homework  :homework:
> ** Student 2
> *** Exams  :exams:
>
> The problem is that I don't want the '*** Homework :homework:' line  
> to be displayed. I've played around with the org-reveal-location  
> customizations, but I can't find any way to stop the display of the  
> unwanted headline. Is there a way to do this?
>
> Scott Randby
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2008-07-28 15:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-28  4:20 Reveal Problem srandby
2008-07-28 15:05 ` Carsten Dominik [this message]
2008-07-28 16:22   ` srandby

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=8A3D75D3-D0B9-475D-9F74-38550181D871@uva.nl \
    --to=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=srandby@gmail.com \
    /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).