emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Pip Cet <pipcet@gmail.com>
To: Aric Gregson <aorchid@mac.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Emacs batch and bbdb Issue
Date: Tue, 18 Aug 2015 20:56:26 +0000	[thread overview]
Message-ID: <CAOqdjBcnTcEWNoQ3ZkQFSn0zfHph2ZDAH4dAGEfD-ZzeA0zfLA@mail.gmail.com> (raw)
In-Reply-To: <86egj0z7f5.fsf@mac.com>

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 <aorchid@mac.com> 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	other threads:[~2015-08-18 20:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18 20:08 Emacs batch and bbdb Issue Aric Gregson
2015-08-18 20:56 ` Pip Cet [this message]

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=CAOqdjBcnTcEWNoQ3ZkQFSn0zfHph2ZDAH4dAGEfD-ZzeA0zfLA@mail.gmail.com \
    --to=pipcet@gmail.com \
    --cc=aorchid@mac.com \
    --cc=emacs-orgmode@gnu.org \
    /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).