Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Unusual archiving behavior.
@ 2010-12-27 18:58 David Brown
  2011-01-02  7:30 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: David Brown @ 2010-12-27 18:58 UTC (permalink / raw)
  To: info-gnus-english

I have

  (setq gnus-default-archive-saver 'gnus-summary-save-in-mail)

and the nnfolder default copied out of the manual, as one of my
gnus-secondary-select-methods:

	(nnfolder "archive"
		  (nnfolder-directory "~/Mail/archive")
		  (nnfolder-active-file "~/Mail/archive/active")
		  (nnfolder-get-new-mail nil)
		  (nnfolder-inhibit-expiry t)))

And my gnus-message-archive-group is set to

  (setq gnus-message-archive-group
        '((concat "nnfolder+archive:" (format-time-string "%Y"))))

If I invoke a message from within Gnus, this seems to work, it adds the
message to ~/Mail/archive/2010 as I would expect.

However, if I compose a message from elsewhere in Emacs (C-x m), the
message is archived to ~/Mail/2010 and not under the archive folder.

Any ideas what might be happening here?  I'm running the Gnus that is
part of Emacs 23.2

Thanks,
David Brown

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unusual archiving behavior.
  2010-12-27 18:58 Unusual archiving behavior David Brown
@ 2011-01-02  7:30 ` Lars Magne Ingebrigtsen
  2011-01-02 18:22   ` David Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-01-02  7:30 UTC (permalink / raw)
  To: info-gnus-english

David Brown <gnus@davidb.org> writes:

> However, if I compose a message from elsewhere in Emacs (C-x m), the
> message is archived to ~/Mail/2010 and not under the archive folder.

Yes, that's a Gnus archiving method.  If you're using the non-Gnus mail
stuff, Gnus won't be used for archiving.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unusual archiving behavior.
  2011-01-02  7:30 ` Lars Magne Ingebrigtsen
@ 2011-01-02 18:22   ` David Brown
  2011-01-05  1:29     ` Philipp Haselwarter
  0 siblings, 1 reply; 4+ messages in thread
From: David Brown @ 2011-01-02 18:22 UTC (permalink / raw)
  To: info-gnus-english

On Sat, Jan 01 2011, Lars Magne Ingebrigtsen wrote:

> David Brown <gnus@davidb.org> writes:
>
>> However, if I compose a message from elsewhere in Emacs (C-x m), the
>> message is archived to ~/Mail/2010 and not under the archive folder.
>
> Yes, that's a Gnus archiving method.  If you're using the non-Gnus mail
> stuff, Gnus won't be used for archiving.

It is putting a Gcc header in the message when I compose, and it is
getting archived somewhere, just not the same place as if I invoked it
from within Gnus.

But, more significantly, if I press (C-x m) while Gnus is running, the
message is archived in the correct place.  It's only if I compose email
after quitting Gnus that it gets archived somewhere else.  I'll dig
through the code some more, since it looks like something is not getting
set when composing before Gnus starts.

David

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unusual archiving behavior.
  2011-01-02 18:22   ` David Brown
@ 2011-01-05  1:29     ` Philipp Haselwarter
  0 siblings, 0 replies; 4+ messages in thread
From: Philipp Haselwarter @ 2011-01-05  1:29 UTC (permalink / raw)
  To: info-gnus-english

Where do you set your Gcc: ? In your .gnus.el, by any chance?
Maybe something like this could help:

--8<---------------cut here---------------start------------->8---
(eval-after-load "message" '(require 'gnus))
(eval-after-load "message" '(load-file "~/.gnus.el"))
--8<---------------cut here---------------end--------------->8---


-- 
Philipp Haselwarter

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-05  1:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-27 18:58 Unusual archiving behavior David Brown
2011-01-02  7:30 ` Lars Magne Ingebrigtsen
2011-01-02 18:22   ` David Brown
2011-01-05  1:29     ` Philipp Haselwarter

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 NNTP newsgroup(s).