From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25796 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: Attaching notes to messages Date: 10 Oct 1999 11:53:31 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87iu4ffek7.fsf@senstation.vvf.fi> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035163118 15903 80.91.224.250 (21 Oct 2002 01:18:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:18:38 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA05828 for ; Sun, 10 Oct 1999 14:56:17 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAB05128; Sun, 10 Oct 1999 13:55:59 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 10 Oct 1999 13:56:01 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA16002 for ; Sun, 10 Oct 1999 13:55:51 -0500 (CDT) Original-Received: from mail.networkone.net (qmailr@mail.networkone.net [209.144.112.75]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id OAA05804 for ; Sun, 10 Oct 1999 14:53:55 -0400 (EDT) Original-Received: (qmail 24049 invoked from network); 10 Oct 1999 18:53:53 -0000 Original-Received: from pm3-2-93.la.networkone.net (HELO satellite.local.lan) (reader@209.144.126.93) by mail.networkone.net with SMTP; 10 Oct 1999 18:53:53 -0000 Original-Received: (from reader@localhost) by satellite.local.lan (8.9.3/8.9.1) id LAA06036; Sun, 10 Oct 1999 11:53:49 -0700 Original-To: ding@gnus.org In-Reply-To: Hannu Koivisto's message of "10 Oct 1999 17:58:16 +0300" User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.3 Original-Lines: 63 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25796 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25796 Hannu Koivisto writes: > Greetings, > > Has anyone thought about or, even better, implemented some way of > attaching arbitrary notes to messages? Many times I mark some > messages with important URLs or other information persistent and > ticked, but usually their subjects don't give any indication of the > reason why I saved them, so I can't later find them just by > interactively searching for something in the summary buffer. This may be too amateurish for what you are after but it is a method I've used for some time on groups where 'gnus-edit-article' is allowed. Editing is also possibe in News groups with `C-u e' Add a "Keywords:" header where you can put brief comments or single words that will allow you to grep that topic later. (G for gnus) Keywords: $TOPIC edit articles attach notes annotate messages Where $TOPIC is a few characters. You can then easily scan the "Keywords" lines with grep or rgrep, or get a file number to use in gnus summary buffer with "j". rgrep -r "^Keywords: $TOPIC" ~/Mail To see all keyword lines for that topic. A more developed method is possible esp. if you don't care to save the original form. But even if you do, below should be getting close to what you describe. I have code pieced together with help from Kai and Lars (the botchiness is all mine) That allows the user to save an edited message from any gnus editing mode to any group with a few key strokes. And leaves the original in place untouched. It also allows a way to do this: Press "F" or "R" on a message you wish to keep and annotate Type in your annotation between [] or similar, then save that portion to file with M-x save-to-file. Remove the annotation with C-w then attach it with 'C-c a' Save the Message plus attachment (to desired group) with the code I mentioned above then kill the edit buffer. The result of all this is an annotation attached to a copy of original message, saved in a special group. While leaving the original message untouched in its group. I'll post the code on a web site or here if you'd like to see if its useful to you.