From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32762 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: (provide 'nnmaildir) Date: 04 Oct 2000 21:52:34 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168989 21567 80.91.224.250 (21 Oct 2002 02:56:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:56:29 +0000 (UTC) Cc: 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 C19B3D0526 for ; Wed, 4 Oct 2000 15:55:34 -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 OAC02711; Wed, 4 Oct 2000 14:52:01 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 04 Oct 2000 14:51:16 -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 OAA06666 for ; Wed, 4 Oct 2000 14:51:05 -0500 (CDT) Original-Received: from dolk.extundo.com (dolk.extundo.com [195.42.214.242]) by mailhost.sclp.com (Postfix) with ESMTP id 8EB6AD0524 for ; Wed, 4 Oct 2000 15:51:30 -0400 (EDT) Original-Received: from barbar.josefsson.org (localhost.localdomain [127.0.0.1]) (authenticated) by dolk.extundo.com (8.11.0/8.11.0) with ESMTP id e94JpTi00424; Wed, 4 Oct 2000 21:51:29 +0200 Original-To: prj@po.cwru.edu (Paul Jarc) In-Reply-To: Mail-Copies-To: nobody Original-Lines: 47 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32762 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32762 prj@po.cwru.edu (Paul Jarc) writes: > > Wasn't `nnfoo-request-set-mark' enough? nnimap store marks on the > > imap server. > > I never got an answer to my question: > -request-set-mark isn't documented, AFAICT, at least not in the 5.7 > info. How does it work? >>From current documentation: `(nnchoke-request-set-mark GROUP ACTION &optional SERVER)' Set/remove/add marks on articles. Normally Gnus handles the article marks (such as read, ticked, expired etc) internally, and store them in `~/.newsrc.eld'. Some backends (such as IMAP) however carry all information about the articles on the server, so Gnus need to propagate the mark information to the server. ACTION is a list of mark setting requests, having this format: (RANGE ACTION MARK) Range is a range of articles you wish to update marks on. Action is `set', `add' or `del', respectively used for removing all existing marks and setting them as specified, adding (preserving the marks not mentioned) mark and removing (preserving the marks not mentioned) marks. Mark is a list of marks; where each mark is a symbol. Currently used marks are `read', `tick', `reply', `expire', `killed', `dormant', `save', `download' and `unsend', but your backend should, if possible, not limit itself to these. Given contradictory actions, the last action in the list should be the effective one. That is, if your action contains a request to add the `tick' mark on article 1 and, later in the list, a request to remove the mark on the same article, the mark should in fact be removed. An example action list: (((5 12 30) 'del '(tick)) ((10 . 90) 'add '(read expire)) ((92 94) 'del '(read))) The function should return a range of articles it wasn't able to set the mark on (currently not used for anything). There should be no result data from this function.