emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Emacs batch and bbdb Issue


From: Pip Cet
Subject: Re: [O] Emacs batch and bbdb Issue
Date: Tue, 18 Aug 2015 20:56:26 +0000

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 `ask-user-about-lock'. Of course, file locking is there for
a reason, so I strongly suggest making sure your bbdb is being backed
up regularly before trying this.

On 8/18/15, Aric Gregson <address@hidden> wrote:
> 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
>     /\_,
> ###-\  |_
> (*) / (*)
>
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]