From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/15854 Path: news.gmane.org!not-for-mail From: Daniel Corbe Newsgroups: gmane.emacs.gnus.user Subject: Re: gnus in an IMAP multi-client setup. Date: Fri, 28 Sep 2012 20:09:02 -0400 Organization: Unlimited download news at news.astraweb.com Message-ID: <864nmhr8pt.fsf@corbe.net> References: <86bogsb0wl.fsf@corbe.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1348877409 17830 80.91.229.3 (29 Sep 2012 00:10:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Sep 2012 00:10:09 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Sep 29 02:10:12 2012 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1THkdI-0004RW-3X for gegu-info-gnus-english@m.gmane.org; Sat, 29 Sep 2012 02:10:12 +0200 Original-Received: from localhost ([::1]:51121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THkdC-0005oz-ML for gegu-info-gnus-english@m.gmane.org; Fri, 28 Sep 2012 20:10:06 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (windows-nt) Cancel-Lock: sha1:3lRDIa1ZwlHnG0FrB8qK6U3JA6A= Original-Lines: 76 Original-NNTP-Posting-Host: e7d4fb39.news.astraweb.com Original-X-Trace: DXC=YOi2cAF1[@b:LXj0CA`3KmL?0kYOcDh@j:N3d2MAkd1lEXJFMHeKS0o3iYaF2BG7:eW8g[XF7AKi`>_Ndj3V[RXg09^N@ci7=VhIEH8K[f> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:15854 Archived-At: William Gardella writes: > Daniel Corbe writes: > >> I hope this is the right place to ask for general advice. gnus makes an >> awesome news reader and with all the performance gains with the version >> of gnus distributed with emacs24 I'd like to use it as an IMAP mail >> reader as well. >> >> I need gnus to behave in a cooperative way with other IMAP clients. >> gnus is marking entire folders as read as soon as I open them >> up in the group summary buffer. This is undesirable behavior, because >> then my other IMAP clients also show the message marked as read. >> >> Can someone point me in the right direction? I'd like to be able to >> manually toggle the read status of a message or even have it done >> automatically -- but only after I've viewed the message. >> >> -Daniel > > Daniel, > > Could we see your setup? How are you accessing IMAP mail? > > I use my two IMAP accounts as secondary select methods and they don't > mark mail as read (technically, set the IMAP Seen flag) until I have either > actually read them or told Gnus to mark them as read. The two accounts > are set up like this: > > > (setq gnus-secondary-select-methods > '((nnimap "imap.pitt.edu" > (nnimap-server-port 993) > (nnimap-stream ssl) > (nnir-search-engine imap)) > (nnimap "imap.gmail.com" > (nnimap-server-port 993) > (nnimap-stream ssl) > (nnir-search-engine imap)))) > > I have experienced behavior like you describe when experimenting with > Fetchmail as an IMAP retrieval agent, however. Fetchmail rudely sets > Seen when it fetches. It's a very good reason not to use Fetchmail for > IMAP; if you like that sort of utility, better to use getmail or > offlineimap, which behave more properly from an IMAP standpoint. I had the sort of the opposite configuration in place. nnimap was my primary select method. Making nnimap my secondary select method seems to have stopped it from making *eveything* in my IMAP folder as read; however, now nothing is being marked as read after I read the mail message. For posterity, here's all my gnus-affecting settings: (custom-set-variables '(send-mail-function (quote smtpmail-send-it)) '(smtpmail-smtp-server "smtpcorp.com") '(smtpmail-smtp-service 2525)) (setq user-mail-address "corbe@corbe.net") (setq user-full-name "Daniel Corbe") (setq gnus-select-method '(nntp "us.news.astraweb.com")) (setq gnus-secondary-select-methods '((nnimap "apollo.corbe.net" (nnimap-address "apollo.corbe.net") (nnimap-authenticator login) (nnimap-server-port 1143) (nnimap-stream network) (nnimap-expunge-on-close 'never)))) (setq gnus-mime-display-multipart-related-as-mixed nil) (setq mm-text-html-renderer 'w3m) (setq mm-inline-text-html-with-images t) (setq mm-inline-text-html-with-w3m-keymap nil)