From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18180 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Do stuff on nnchoke-accept-article? Date: 26 Oct 1998 03:44:13 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156750 4823 80.91.224.250 (20 Oct 2002 23:32:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:32:30 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id VAA09682 for ; Sun, 25 Oct 1998 21:51:31 -0500 (EST) 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 UAB27623; Sun, 25 Oct 1998 20:51:21 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 25 Oct 1998 20:50:55 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id UAA14486 for ; Sun, 25 Oct 1998 20:50:43 -0600 (CST) Original-Received: from sparky.gnus.org (ppp100.uio.no [129.240.240.105]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id VAA09639 for ; Sun, 25 Oct 1998 21:50:34 -0500 (EST) Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id DAA01526; Mon, 26 Oct 1998 03:50:25 +0100 Mail-Copies-To: never X-Now-Reading: Amy Hempel's _Reasons to Live_ X-Now-Playing: Stereolab's _Aluminium Tunes [Switched On 3] (cd2)_: "The Incredible He Woman" Original-To: ding@gnus.org In-Reply-To: Kai Grossjohann's message of "25 Oct 1998 17:36:17 +0100" User-Agent: Gnus/5.070041 (Pterodactyl Gnus v0.41) Emacs/20.3 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > Wouldn't this be a nifty feature? Sounds nifty. > Lars, can you tell me how we want to do this remembering the groups > and message ids thing? Use the predefined > nnmail-prepare-save-mail-hook or use something new? What should the > new thing look like? I think the most logical place to do this would be in `nnmail-check-duplication'. It already keeps track of Message-ID's -- you could extend it (or rather, `nnmail-cache-insert') to put the group name and number at the end of each line. This should even be backwards- and forwards-compatible. And then you'd write a function to look into the cache and return the group/article number. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen