From mboxrd@z Thu Jan 1 00:00:00 1970 From: srandby@gmail.com Subject: Re: Reveal Problem Date: Mon, 28 Jul 2008 12:22:14 -0400 Message-ID: <488DF236.5000507@gmail.com> References: <488D4906.1050706@gmail.com> <8A3D75D3-D0B9-475D-9F74-38550181D871@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNVUy-00056k-De for emacs-orgmode@gnu.org; Mon, 28 Jul 2008 12:23:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNVUw-00056T-T0 for emacs-orgmode@gnu.org; Mon, 28 Jul 2008 12:23:00 -0400 Received: from [199.232.76.173] (port=49283 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNVUw-00056O-JJ for emacs-orgmode@gnu.org; Mon, 28 Jul 2008 12:22:58 -0400 Received: from wr-out-0506.google.com ([64.233.184.236]:59583) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNVUw-0004Rh-M0 for emacs-orgmode@gnu.org; Mon, 28 Jul 2008 12:22:58 -0400 Received: by wr-out-0506.google.com with SMTP id c30so4129249wra.14 for ; Mon, 28 Jul 2008 09:22:57 -0700 (PDT) In-Reply-To: <8A3D75D3-D0B9-475D-9F74-38550181D871@uva.nl> 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: "[Orgmode]" Hi Carsten, I understand and appreciate your point, but in my case there is no danger of accidentally typing in invisible text. The reason I don't want to display the next headline is that I wish to fold the headlined region I'm working in and return everything to the state it was when I first did the search. However, I've resolved the issue by placing a blank headline between tagged headlines as follows: * Grades ** Student 1 *** Exams :exams: Exam scores *** *** Homework :homework: Homework scores This way the blank headline is displayed instead of the tagged headline and everything looks nice when I refold headlined regions. (I hope I'm using correct terminology here.) Many thanks for your help. Scott Randby Carsten Dominik wrote: > 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 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 > >