unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: mafeusek@gmail.com
To: help-gnu-emacs@gnu.org
Subject: autosave (drafts) folder for message.
Date: Sun, 18 Apr 2010 00:31:34 +0200	[thread overview]
Message-ID: <m2pr1xpv7d.fsf@gmail.com> (raw)


Hallo Group Members.

I would like to change folder where emacs writes drafts.

I am running emacs 23.1. My mail user agent is:
(setq mail-user-agent 'message-user-agent)

There is variable that does the job:
message-auto-save-directory

It works as far as gnus is not run.
Otherwise directory is forced to be set to ~/News/drafts/drafts/.

Is it ok?

I mean, if my user agent was gnus-user-agent, then that would be ok, but
i have set it to message-user-agent.

There is a check in message-set-auto-save-file-name function:
    (if (gnus-alive-p)
	(setq message-draft-article
	      (nndraft-request-associate-buffer "drafts"))

  
that couses this. I wonder if (gnus-alive-p) condition should be `and'ed
with condition on user agent == gnus-user-agent?

best regards,
Pawel




                 reply	other threads:[~2010-04-17 22:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=m2pr1xpv7d.fsf@gmail.com \
    --to=mafeusek@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).