From mboxrd@z Thu Jan 1 00:00:00 1970 From: Le Wang Subject: Re: `session-jump-to-last-change' and org-mode Date: Thu, 17 Mar 2011 00:27:06 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec501669d022549049e9c04ef Return-path: Received: from [140.186.70.92] (port=36297 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PztZ6-0007Xx-07 for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 12:27:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PztYx-0002T0-QD for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 12:27:09 -0400 Received: from mail-vw0-f52.google.com ([209.85.212.52]:45578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PztYx-0002Sv-Mv for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 12:27:07 -0400 Received: by vws16 with SMTP id 16so2317297vws.39 for ; Wed, 16 Mar 2011 09:27:07 -0700 (PDT) In-Reply-To: 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: Samuel Wales Cc: Orgmode Mailing List --bcaec501669d022549049e9c04ef Content-Type: text/plain; charset=ISO-8859-1 Yes, I didn't know about `org-reveal'. That could work. But how do I figure out if I need to expand the heading? The last change could be to a folded heading itself, in which case, it shouldn't be expanded. Is there a org-goto-char type of function that always goes to that location in the buffer, expanding sections along the way? On Thu, Mar 17, 2011 at 12:13 AM, Samuel Wales wrote: > You can defadvice it to do org-reveal in org buffers. > > Or wrap it. > > -- > AIDS 2.0 is here now: > > http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html > I support the Whittemore-Peterson Institute (WPI) > === > I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MRV > paper. > -- Le --bcaec501669d022549049e9c04ef Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Yes, I didn't know about `org-reveal'.=A0 That could work.=A0 But h= ow do I figure out if I need to expand the heading?=A0 The last change coul= d be to a folded heading itself, in which case, it shouldn't be expande= d.

Is there a org-goto-char type of function that always goes to that loca= tion in the buffer, expanding sections along the way?



On Thu, Mar 17, 2011 at 12:13 AM, Samuel Wales <samologist@gmail.com= > wrote:
You can defadvice it to do org-reveal in or= g buffers.

Or wrap it.

--
AIDS 2.0 is here now:
=A0http://thekafkapandemic.= blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html
I support the Whittemore-Peterson Institute (WPI)
=3D=3D=3D
I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MRV pa= per.



--
Le
--bcaec501669d022549049e9c04ef--