[O] Emacs batch and bbdb Issue

2015-08-18 Thread Aric Gregson
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

Re: [O] Emacs batch and bbdb Issue

2015-08-18 Thread Pip Cet
I've had the same problem, and I found it a little hard to find the right thing in the source code, so maybe this helps: I think what you want is (setq create-lockfiles nil), which doesn't steal the lockfile but ignores it; if you need to make sure it's stolen, try overriding