From: Carsten Dominik <carsten.dominik@gmail.com>
To: Keith Swartz <gnu@oneroad.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Looking for some org-mode hooks
Date: Thu, 14 May 2009 14:53:08 +0200 [thread overview]
Message-ID: <1A7B6B12-3F2E-4F25-BC87-06B001A9670D@gmail.com> (raw)
In-Reply-To: <4A09EDC3.9030507@oneroad.com>
We did not have hooks in these locations, but now we do:
org-after-refile-insert-hook
org-after-sorting-entries-or-items-hook
HTH
- Carsten
On May 12, 2009, at 11:44 PM, Keith Swartz wrote:
> Hi there,
>
> I've recently switched to using org-mode for tracking todo items,
> and I'm finding it to be well worth the effort. I've read through
> the manual, and browsed past messages on the mail archive, but have
> a few questions about whether or not a few enhancements I want to do
> are currently possible in the latest version.
>
> First, is there a hook that gets executed after sorting a subtree?
> In other words, if I'm viewing a subtree as folded/children only,
> then sort it, it changes to display all subtrees. I want it to
> automatically revert back to the visibility I had. I'm hoping I can
> just set the visibility in a hook.
>
> Second, along the same lines, is there a hook that gets executed
> after refiling an item? In this case, I'd like to resort the node to
> which the item has been refiled. So, for instance, if I refile an
> item with priority A to a new node, I'd like that node sorted so
> that the new item appears at or near the top (assuming I sort by
> priority first).
>
> Thanks in advance,
> Keith S.
>
>
>
> _______________________________________________
> 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
prev parent reply other threads:[~2009-05-14 12:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-12 21:44 Looking for some org-mode hooks Keith Swartz
2009-05-14 12:53 ` Carsten Dominik [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1A7B6B12-3F2E-4F25-BC87-06B001A9670D@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=gnu@oneroad.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.