unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* GNUS: How to automatically mark archived articles read?
@ 2010-09-20  8:30 Lei Wang
  2010-09-20 13:39 ` Alberto Luaces
  0 siblings, 1 reply; 4+ messages in thread
From: Lei Wang @ 2010-09-20  8:30 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all!

I use gnus as my email client. And use archive as this

(setq gnus-message-archive-method
      '(nnfolder "archive"
		 (nnfolder-inhibit-expiry t)
		 (nnfolder-directory "~/.mail/archive")
		 (nnfolder-active-file "~/.mail/archive/active"))
      gnus-update-message-archive-method nil)
(setq gnus-message-archive-group
      '(("emacs" "sentto-emacs")
	("sawfish" "sentto-sawfish")
	(".*" "sentto-outbox")))

When i send an email, it was archived into a proper group, but its state
is unreaded. I don't want to read it again, then how to mark it read
automatically?

-- 
Regards
Lei



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

* Re: GNUS: How to automatically mark archived articles read?
       [not found] <mailman.0.1284971500.24227.help-gnu-emacs@gnu.org>
@ 2010-09-20  9:25 ` Andreas Politz
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Politz @ 2010-09-20  9:25 UTC (permalink / raw)
  To: help-gnu-emacs

Lei Wang <f3d27b@gmail.com> writes:

> Hi all!
>
> I use gnus as my email client. And use archive as this
>
> When i send an email, it was archived into a proper group, but its state
> is unreaded. I don't want to read it again, then how to mark it read
> automatically?

This does it for me :

(setq gnus-gcc-mark-as-read t)


-ap


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

* Re: GNUS: How to automatically mark archived articles read?
  2010-09-20  8:30 GNUS: How to automatically mark archived articles read? Lei Wang
@ 2010-09-20 13:39 ` Alberto Luaces
  2010-09-20 15:00   ` Lei Wang
  0 siblings, 1 reply; 4+ messages in thread
From: Alberto Luaces @ 2010-09-20 13:39 UTC (permalink / raw)
  To: help-gnu-emacs

Lei Wang writes:

> Hi all!
>
> I use gnus as my email client. And use archive as this
>
> (setq gnus-message-archive-method
>       '(nnfolder "archive"
> 		 (nnfolder-inhibit-expiry t)
> 		 (nnfolder-directory "~/.mail/archive")
> 		 (nnfolder-active-file "~/.mail/archive/active"))
>       gnus-update-message-archive-method nil)
> (setq gnus-message-archive-group
>       '(("emacs" "sentto-emacs")
> 	("sawfish" "sentto-sawfish")
> 	(".*" "sentto-outbox")))
>
> When i send an email, it was archived into a proper group, but its state
> is unreaded. I don't want to read it again, then how to mark it read
> automatically?

I think you want this:

(gnus-gcc-mark-as-read t)

-- 
Alberto




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

* Re: GNUS: How to automatically mark archived articles read?
  2010-09-20 13:39 ` Alberto Luaces
@ 2010-09-20 15:00   ` Lei Wang
  0 siblings, 0 replies; 4+ messages in thread
From: Lei Wang @ 2010-09-20 15:00 UTC (permalink / raw)
  To: help-gnu-emacs

Alberto Luaces <aluaces@udc.es> writes:

> Lei Wang writes:
>
>> Hi all!
>>
>> I use gnus as my email client. And use archive as this
>>
>> (setq gnus-message-archive-method
>>       '(nnfolder "archive"
>> 		 (nnfolder-inhibit-expiry t)
>> 		 (nnfolder-directory "~/.mail/archive")
>> 		 (nnfolder-active-file "~/.mail/archive/active"))
>>       gnus-update-message-archive-method nil)
>> (setq gnus-message-archive-group
>>       '(("emacs" "sentto-emacs")
>> 	("sawfish" "sentto-sawfish")
>> 	(".*" "sentto-outbox")))
>>
>> When i send an email, it was archived into a proper group, but its state
>> is unreaded. I don't want to read it again, then how to mark it read
>> automatically?
>
> I think you want this:
>
> (gnus-gcc-mark-as-read t)

Yes! This is what i want. 

Thank you, Alberto!
-- 
Regards
Lei



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

end of thread, other threads:[~2010-09-20 15:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-20  8:30 GNUS: How to automatically mark archived articles read? Lei Wang
2010-09-20 13:39 ` Alberto Luaces
2010-09-20 15:00   ` Lei Wang
     [not found] <mailman.0.1284971500.24227.help-gnu-emacs@gnu.org>
2010-09-20  9:25 ` Andreas Politz

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