From: Michael Heerdegen <michael_heerdegen@web.de>
To: emacs-devel@gnu.org
Subject: Re: Gnus: user save directory not respected?
Date: Sat, 07 Aug 2021 08:20:26 +0200 [thread overview]
Message-ID: <87h7g1dbdh.fsf@web.de> (raw)
In-Reply-To: p914kc280e5.fsf@google.com
"T.V Raman" <raman@google.com> writes:
> Easiest to cite the code below:
> Doc says it uses gnus-article-save-directory' as the default directory
> to save, but that doesn't appear to happen in practice, and the code
> appears to not check that custom variable.
>
> (defun gnus-summary-save-in-mail (&optional filename)
> "Append this article to Unix mail file.
> Optional argument FILENAME specifies file name.
> Directory to save to is default to `gnus-article-save-directory'."
> (setq filename (gnus-read-save-file-name
> "Save %s in Unix mail file" filename
> gnus-mail-save-name gnus-newsgroup-name
> gnus-current-headers 'gnus-newsgroup-last-mail))
Hmm - it does check it: look at that `gnus-read-save-file-name' call.
The third arg FUNCTION is specified as `gnus-mail-save-name', defaulting
to the function `gnus-plain-save-name' - and that function uses
`gnus-article-save-directory's value.
If saving doesn't work for you, I have no idea why, I guess you have to
dig further or provide more information.
Michael.
prev parent reply other threads:[~2021-08-07 6:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-07 2:16 Gnus: user save directory not respected? T.V Raman
2021-08-07 6:20 ` Michael Heerdegen [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h7g1dbdh.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.