unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* autosave (drafts) folder for message.
@ 2010-04-17 22:31 mafeusek
  0 siblings, 0 replies; only message in thread
From: mafeusek @ 2010-04-17 22:31 UTC (permalink / raw)
  To: help-gnu-emacs


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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-17 22:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-17 22:31 autosave (drafts) folder for message mafeusek

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).