unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: auto-saving files
Date: Mon, 24 May 2010 10:00:59 +0200	[thread overview]
Message-ID: <m1y6f9vidg.fsf@gmail.com> (raw)
In-Reply-To: 87k4qwktti.fsf@engster.org

David Engster <deng@randomsample.de> writes:

>
> I guess you mean the .newsrc-dribble file? I'm using this:
>
> (add-hook 'gnus-started-hook
> 	  (lambda ()
> 	    (when (buffer-live-p gnus-dribble-buffer)
> 	      (with-current-buffer gnus-dribble-buffer
> 		(setq buffer-save-without-query t)))))
>
> This will get .newsrc-dribble automatically saved by
> save-some-buffers. The other newsrc-files are usually not kept open
> during a Gnus session.
>

Ok great I think it's more then enough :)
But why by the way gnus must keep a buffer open for it's own job?

I mean I don't need that buffer open, can't it work on the file without
visiting it on a buffer?




  reply	other threads:[~2010-05-24  8:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-22 11:50 auto-saving files Andrea Crotti
2010-05-22 12:24 ` David Engster
2010-05-24  8:00   ` Andrea Crotti [this message]
2010-05-24  8:13     ` Tassilo Horn
2010-05-24 21:07     ` David Engster
2010-05-22 12:25 ` Tassilo Horn

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1y6f9vidg.fsf@gmail.com \
    --to=andrea.crotti.0@gmail.com \
    --cc=help-gnu-emacs@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.
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).