From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36778 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Dormant and ticked not independent in nnimap? Date: Wed, 04 Jul 2001 11:32:03 +0200 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035172307 10404 80.91.224.250 (21 Oct 2002 03:51:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:51:47 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 15387 invoked from network); 4 Jul 2001 09:31:31 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 4 Jul 2001 09:31:31 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated) by dolk.extundo.com (8.11.3/8.11.3) with ESMTP id f649VWq13110; Wed, 4 Jul 2001 11:31:33 +0200 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Wed, 04 Jul 2001 10:08:56 +0200") Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.103 Original-Lines: 31 Xref: main.gmane.org gmane.emacs.gnus.general:36778 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36778 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > I have tried to make dormant marks be per-user on our old Cyrus 1.6.x > IMAP server. To this end, I use this Lisp code: > > (setcdr (assq 'dormant nnimap-mark-to-flag-alist) > (format "gnus-dormant-%s" (user-login-name))) > (setcdr (assq 'dormant nnimap-mark-to-predicate-alist) > (format "KEYWORD gnus-dormant-%s" (user-login-name))) > > Alas, it seems if user A marks a message as dormant, then user B sees > it as ticked! Yes, uhm, nnimap translates "dormant" into \Flagged + gnus-dormant. This is so the article "stand out" when you're using some other IMAP client. The flag is added at line ~943, and removed internally at line ~910. It should be easy to comment this two parts out. Maybe I should make this conditional, so you can disable this behaviour? Btw, very interesting idea! This is a nice way to get user-specific flags without server support for the idea. It might even be possible to extend to all flag (i.e. different set of Read-flags for different users). > Is there anything I can do about this? Or do I have to wait for Cyrus > 2.x to get per-user article marks? I'm not sure if even Cyrus 2.x helps. \Read and maybe some other are user-specific, but I don't think \Flagged etc are. But I maybe wrong.