From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aric Gregson Subject: Emacs batch and bbdb Issue Date: Tue, 18 Aug 2015 13:08:14 -0700 Message-ID: <86egj0z7f5.fsf@mac.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRnBP-0006Iu-U0 for emacs-orgmode@gnu.org; Tue, 18 Aug 2015 16:08:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRnBM-00015q-Mg for emacs-orgmode@gnu.org; Tue, 18 Aug 2015 16:08:31 -0400 Received: from plane.gmane.org ([80.91.229.3]:57744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRnBM-00015d-Fv for emacs-orgmode@gnu.org; Tue, 18 Aug 2015 16:08:28 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZRnBF-0001U1-HH for emacs-orgmode@gnu.org; Tue, 18 Aug 2015 22:08:22 +0200 Received: from 149.142.103.161 ([149.142.103.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Aug 2015 22:08:21 +0200 Received: from aorchid by 149.142.103.161 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Aug 2015 22:08:21 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, I have cron set up to send me an email with my org calendar each morning as follows: /usr/local/bin/emacs --batch -l ~/.emacs --eval '(org-batch-agenda "a" org-agenda-span (quote day))' It works fine unless Gnus starts running. When that happens, bbdb is taken by Gnus and then the emacs --batch gets stuck because it wants to know if emacs should steal the bbdb file. I use diary in org. I am not sure if there is a way to not use bbdb file and still use diary? Is there a way to make stealing the bbdb file the default for emacs upon start-up? Thanks, Aric -- ~O /\_, ###-\ |_ (*) / (*)