From: Le Wang <l26wang@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: `session-jump-to-last-change' and org-mode
Date: Wed, 13 Apr 2011 09:59:13 +0800 [thread overview]
Message-ID: <BANLkTin6u_ChBnRK3oWTsU5_o7DGXu6n0A@mail.gmail.com> (raw)
In-Reply-To: <F7DA7E3D-D09C-48B7-B734-BDA265852F3E@gmail.com>
On Fri, Mar 18, 2011 at 4:13 AM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
> A good solution would be for session to provide a hook that we can use.
Christoph has submitted version 2.3a of session
http://sourceforge.net/projects/emacs-session/files/session/
The required hook has been added, maybe someone who knows org-mode can
add it to the appropriate file?
From my .emacs:
(add-hook 'session-after-jump-to-last-change-hook
(lambda ()
(when (and (eq major-mode 'org-mode)
(outline-invisible-p))
(org-reveal))))
--
Le
prev parent reply other threads:[~2011-04-13 1:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 15:18 `session-jump-to-last-change' and org-mode Le Wang
2011-03-16 16:13 ` Samuel Wales
2011-03-16 16:27 ` Le Wang
2011-03-17 6:20 ` Le Wang
2011-03-17 7:02 ` Carsten Dominik
2011-03-17 8:53 ` Le Wang
2011-03-17 14:27 ` Nick Dokos
2011-03-17 14:54 ` Le Wang
2011-03-17 18:30 ` Eric S Fraga
2011-03-17 20:13 ` Carsten Dominik
2011-04-13 1:59 ` Le Wang [this message]
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=BANLkTin6u_ChBnRK3oWTsU5_o7DGXu6n0A@mail.gmail.com \
--to=l26wang@gmail.com \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).