From mboxrd@z Thu Jan 1 00:00:00 1970 From: Louis Turk Subject: Substitute for (bh/org-agenda-to-appt) Date: Wed, 13 Jul 2016 19:01:00 +0800 Message-ID: <57861F6C.8050207@dayspringpublisher.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNIE7-0005xO-Iu for emacs-orgmode@gnu.org; Wed, 13 Jul 2016 07:21:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNIE3-00024j-B1 for emacs-orgmode@gnu.org; Wed, 13 Jul 2016 07:21:14 -0400 Received: from gproxy5-pub.mail.unifiedlayer.com ([67.222.38.55]:40783) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1bNIE3-00023c-0D for emacs-orgmode@gnu.org; Wed, 13 Jul 2016 07:21:11 -0400 Received: from [125.162.193.51] (port=17004 helo=[192.168.1.10]) by box521.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_2) (envelope-from ) id 1bNHua-0006Bl-UN for emacs-orgmode@gnu.org; Wed, 13 Jul 2016 05:01:05 -0600 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org With this fuction appointments are set up when Emacs starts: (bh/org-agenda-to-appt) 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). I generally open one instance of emacs with org-mode, and leave it open for weeks at a time. But I'm opening and closing non-org-mode files all day long. So, is there such a function? Lou