From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25802 Path: main.gmane.org!not-for-mail From: Hannu Koivisto Newsgroups: gmane.emacs.gnus.general Subject: Re: Attaching notes to messages Date: 11 Oct 1999 02:29:12 +0300 Sender: owner-ding@hpc.uh.edu Message-ID: <87zoxqre0n.fsf@senstation.vvf.fi> References: <87iu4ffek7.fsf@senstation.vvf.fi> 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 1035163123 15924 80.91.224.250 (21 Oct 2002 01:18:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:18:43 +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 TAA08051 for ; Sun, 10 Oct 1999 19:31:48 -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 SAB05675; Sun, 10 Oct 1999 18:31:28 -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 18:31:51 -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 SAA18232 for ; Sun, 10 Oct 1999 18:31:40 -0500 (CDT) Original-Received: from senstation.vvf.fi (senstation.vvf.fi [195.74.10.211]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id TAA08038 for ; Sun, 10 Oct 1999 19:29:43 -0400 (EDT) Original-Received: from azure by senstation.vvf.fi with local (Exim 3.03 #1 (Debian)) id 11aSOu-0003UQ-00; Mon, 11 Oct 1999 02:29:12 +0300 Original-To: ding@gnus.org In-Reply-To: Harry Putnam's message of "10 Oct 1999 11:53:31 -0700" Original-Lines: 91 User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25802 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25802 Harry Putnam writes: | Editing is also possibe in News groups with `C-u e' Hmm, what exactly happens in this case? Does the article get saved to a local disk like in the case of marking it persistent? | 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' Are these SAVE-TO-FILE and `C-c a' things part of your code? I can't see the connection and, on the other hand, they are not default stuff. | 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. As far as I can see, this doesn't provide any way to get to the annotation from the message... | I'll post the code on a web site or here if you'd like to see if its | useful to you. ...so I don't think so. What you suggested first and what Jonas Steverund also suggested, i.e. editing the message and adding some `X-Gnus-Annotation: foob' line, might be considerable, but first I want to know what happens to by-force -edited news articles. Although it still feels a bit hacky, I think this sounds the best way to go at least if I manage to wrap up some functions to ease using it. Oh well, one can't get everything. -- Warning! Dont continue further; what follows is just venting of my manic-depressive mind What I really would like to do is to write a annotated-article mixin class for article class and put slots for it for special information and one for arbitrary text and be done with it (well, of course I'd have add method to article display protocol too to make Gnus display notes on a separate window along the actual article and perhaps to printing protocol to make Gnus print these annotations with the article). I would not have to take care of ugly saving details based on whether some backend by default stores the actual article content on the local disk or somewhere else; article objects would just end up to a PLOB!-like object database, along with the article text or just a reference to nntp or imap server. But oooh no, I'm stuck to this freaking alternative reality that somehow splitted up somewhere in the '80s and everything just started going backwards. I'm stuck to this pale shade of Lisp OS called Emacs based on this &/%¤# Elisp and C running on top of this everything-is-text Unix-lookalike, kept together with chewing-gum and Perl (that looks like cat's vomit and leads to even more disgusting chewing-gum-and-Perl software). On this Emacs I run Gnus that I need to turn upside down every time I want to even consider adding some small extension, and in this case all I would get is a text file, at the corner of some stupid filesystem with close to zero accessibility on different machines I use, with no semantic content and associations to my other personal information anyway. "Fortunately" I don't have time to do Gnus hacking right now as after about 7h sleep I need to wake up to write AI code that I eventually need to translate from CL to C++, which is a requirement on our course. Not to mention that for the evening I've scheduled myself to write Java for a course whose lecturer looks world through C++/Java-glasses and preaches about design patterns that really are just a service pack to get around C++'s limitations, just like there are oodles of services packs and small tune-this-and-that utils to give a feeling that one has momentarily got around the brokeness of MS' software. At some point this whole tower of crap will collapse and I want to be somewhere else then. *phew*. Did I mention that I need a holiday? :) -- Hannu (loop (luuk |Pink Floyd|:|Sorrow| :loud t))