From: Myles English <mylesenglish@gmail.com>
To: Louis Turk <lou@dayspringpublisher.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Substitute for (bh/org-agenda-to-appt)
Date: Sat, 16 Jul 2016 12:35:57 +0100 [thread overview]
Message-ID: <87lh11bysi.fsf@gmail.com> (raw)
In-Reply-To: <57861F6C.8050207@dayspringpublisher.com>
Hello Lou,
Louis Turk writes:
> With this fuction appointments are set up when Emacs starts:
>
> (bh/org-agenda-to-appt)
Presumably you got this function from here:
http://doc.norang.ca/org-mode.html
> I would like to substitute it with a function that sets the appointments
> up when org-mode starts instead of when emacs starts. The reason being
> that (bh/org-agenda-to-appt) causes all the org-agenda-files to load,
> which is very irritating when I'm editing none org-mode files (which is
> probably 95% of the time).
That webpage goes on to say:
#+BEGIN_QUOTE
; Rebuild the reminders everytime the agenda is displayed
(add-hook 'org-finalize-agenda-hook 'bh/org-agenda-to-appt 'append)
; This is at the end of my .emacs - so appointments are set up when Emacs starts
(bh/org-agenda-to-appt)
#+END_QUOTE
So just comment out that line, like this:
;; (bh/org-agenda-to-appt)
or delete it, and that function won't be called when your emacs starts,
only when the agenda is displayed (assuming you set it up like that).
Myles
next prev parent reply other threads:[~2016-07-16 11:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-13 11:01 Substitute for (bh/org-agenda-to-appt) Louis Turk
2016-07-16 11:35 ` Myles English [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-07-13 11:39 John Kitchin
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=87lh11bysi.fsf@gmail.com \
--to=mylesenglish@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=lou@dayspringpublisher.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 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).