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 16:53:21 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec501669d2740a3049ea9cbbb Return-path: Received: from [140.186.70.92] (port=39946 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q08xP-0002Ns-Vi for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 04:53:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q08xO-000676-KN for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 04:53:23 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:33604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q08xO-000671-Hw for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 04:53:22 -0400 Received: by vws4 with SMTP id 4so3006677vws.0 for ; Thu, 17 Mar 2011 01:53:22 -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: Carsten Dominik Cc: Orgmode Mailing List --bcaec501669d2740a3049ea9cbbb Content-Type: text/plain; charset=ISO-8859-1 On Thu, Mar 17, 2011 at 3:02 PM, Carsten Dominik wrote: > (defadvice session-jump-to-last-change (after org-expand activate compile) > "Reveal hidden point after jumping." > (when (and (eq major-mode 'org-mode) > (outline-invisible-p)) > (org-reveal))) > Thanks Carsten! That's xactly what I wanted. I'll coordinate with session's author to get this change integrated. -- Le --bcaec501669d2740a3049ea9cbbb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Thu, Mar 17, 2011 at 3:02 PM, Carsten Dominik= <carsten= .dominik@gmail.com> wrote:
(defadvice session-jump-to-last-change (after org-expand ac= tivate compile)
=A0"Reveal hidden point after jumping."
=A0(when (and (eq major-mode 'org-mode)
=A0 =A0 =A0 =A0 =A0 =A0 (outline-invisible-p))
=A0 =A0(org-reveal)))

Thanks Carsten!=A0 That'= ;s xactly what I wanted.=A0 I'll coordinate with session's author t= o get this change integrated.

--
Le
--bcaec501669d2740a3049ea9cbbb--