all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Manuel Giraud via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: <help-gnu-emacs@gnu.org>
Subject: Re: Org agenda and appointments
Date: Fri, 10 Mar 2023 14:58:04 +0100	[thread overview]
Message-ID: <87a60k3dzn.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <87h6us3epv.fsf@ledu-giraud.fr> (Manuel Giraud's message of "Fri,  10 Mar 2023 14:42:20 +0100")

Manuel Giraud <manuel@ledu-giraud.fr> writes:

> Robert Pluim <rpluim@gmail.com> writes:
>
> [...]
>
>> I think this is what `org-capture-after-finalize-hook' is for.
>
> Thanks.  It is indeed a more specialized hook.  But I thought I was
> missing something simpler than setting up a hook.

Ok, it was just a one-liner:

(add-hook 'org-capture-after-finalize-hook #'org-agenda-to-appt)

Now what's left is the "changing day" update (as done in
'appt-activate')
-- 
Manuel Giraud



      reply	other threads:[~2023-03-10 13:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-10 10:31 Org agenda and appointments Manuel Giraud via Users list for the GNU Emacs text editor
2023-03-10 11:10 ` Robert Pluim
2023-03-10 13:42   ` Manuel Giraud via Users list for the GNU Emacs text editor
2023-03-10 13:58     ` Manuel Giraud via Users list for the GNU Emacs text editor [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=87a60k3dzn.fsf@ledu-giraud.fr \
    --to=help-gnu-emacs@gnu.org \
    --cc=manuel@ledu-giraud.fr \
    --cc=rpluim@gmail.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.