From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32419 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-undo-mode and nnimap Date: 13 Sep 2000 15:31:07 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <8766o1rkgs.fsf@delivery.cam.eu.citrix.com> <87em2ppqbd.fsf@delivery.cam.eu.citrix.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168710 19740 80.91.224.250 (21 Oct 2002 02:51:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:51:50 +0000 (UTC) Cc: Toby Speight , ding@gnus.org Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id 6A670D051E for ; Wed, 13 Sep 2000 09:35:46 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id IAC08484; Wed, 13 Sep 2000 08:32:15 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 13 Sep 2000 08:31:32 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id IAA00728 for ; Wed, 13 Sep 2000 08:31:22 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 46FF5D051E for ; Wed, 13 Sep 2000 09:31:46 -0400 (EDT) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id PAA17296; Wed, 13 Sep 2000 15:31:07 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id PAA18140; Wed, 13 Sep 2000 15:31:07 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id PAA08633; Wed, 13 Sep 2000 15:31:07 +0200 Original-To: Simon Josefsson In-Reply-To: Simon Josefsson's message of "13 Sep 2000 14:29:14 +0200" User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.90 Original-Lines: 25 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32419 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32419 On 13 Sep 2000, Simon Josefsson wrote: > It has some complications though. Should it be possible to undo a > "Answered" flag? What would that mean? And if you undo a "dormant" > flag, should you remove the article from the cache? What about > "Saved" flags? "Downloadable" flags? "Bookmark" flags? "Expire" > flags when using total/auto-expire? > > Perhaps we should only allow undo of tick flags. Note that the ticked and dormant marks have the same issue w.r.t. the cache. Hm. When gnus-use-cache is t and a message was entered into the cache because it was ticked or marked as dormant, then marking it as read does not immediately remove it from the cache. I'm not sure when it is removed from the cache, though. Maybe when the group is exited? I think as a first approach, the unread, read, and expirable flags should be taken into consideration for undoing. It does not make sense to undo an answered flag, and undoing a saved flag would mean deleting the file in question. Not what we want, I think. kai -- I like BOTH kinds of music.