>>>>> "AR" == Andrea Russo <[EMAIL PROTECTED]> writes:

  AR> Hi all,

  AR> Reading the gnus manual:

  AR> ,----[ (info "(gnus)Batching Agents") ] | You can run a complete
  AR> batch command from the command line with the | following
  AR> incantation:
  AR> | 
  AR> |      #!/bin/sh
  AR> |      emacs -batch -l ~/.emacs -l ~/.gnus.el gnus-agent-batch >/dev/null 
2>&1
  AR> `----

  AR> My concern is that if I use this script to download
  AR> asynchronously mails while using an instance of gnus on a non
  AR> batch emacs to read and write mails, there are race conditions
  AR> that can lead to currupted or lost files?

  AR> And in case of concurrent running of the same batch script?

It will all go horrible wrong if you do this. If you are already
running an Emacs, I presume that you want to read in batch because
emacs hangs while reading? In which case, you might want to use the
gnus-demon instead which will read in the idle cycle. You might also
want to look at the nnmaildir backend which is supposed to cope with
concurrent modification. Never tried it, although I mean to at some
time. 

Phil
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to