From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: `session-jump-to-last-change' and org-mode Date: Thu, 17 Mar 2011 10:27:50 -0400 Message-ID: <8120.1300372070@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=57499 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0EBX-0000EF-IG for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 10:28:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0EBW-0002Ax-Hf for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 10:28:19 -0400 Received: from vms173005pub.verizon.net ([206.46.173.5]:38130) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0EBW-0002Ap-9m for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 10:28:18 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LI700LLPHIFXE10@vms173005.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 09:27:57 -0500 (CDT) In-reply-to: Message from Le Wang of "Thu\, 17 Mar 2011 16\:53\:21 +0800." 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: Le Wang Cc: nicholas.dokos@hp.com, Orgmode Mailing List , Carsten Dominik Le Wang wrote: > On Thu, Mar 17, 2011 at 3:02 PM, Carsten Dominik wrote: >=20 > (defadvice session-jump-to-last-change (after org-expand activate com= pile) > =C2=A0"Reveal hidden point after jumping." > =C2=A0(when (and (eq major-mode 'org-mode) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (outline-invisible-p)) > =C2=A0 =C2=A0(org-reveal))) >=20 > Thanks Carsten!=C2=A0 That's xactly what I wanted.=C2=A0 I'll coordinate = with session's author to get this > change integrated. >=20 Why would you need to coordinate with the session author about advising a function? It's your own personal advice and you can do whatever you want. Of course, as Carsten pointed out, there is good advice and there is bad advice, and you should only give good advice. But you are not requesting any changes to the session code. You just stick the advice in your .emacs and that's that. Am I missing something? Nick