From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18221 Path: main.gmane.org!not-for-mail From: Jari Aalto Newsgroups: gmane.emacs.gnus.general Subject: [comp.emacs] DejaNews URLs (was: Shell directory tracking) Date: 27 Oct 1998 09:37:29 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156783 5022 80.91.224.250 (20 Oct 2002 23:33:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:33:03 +0000 (UTC) Cc: 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 CAA17344 for ; Tue, 27 Oct 1998 02:39:20 -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 BAB07476; Tue, 27 Oct 1998 01:38:07 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 27 Oct 1998 01:37:54 -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 BAA06956 for ; Tue, 27 Oct 1998 01:37:43 -0600 (CST) Original-Received: from uta.fi (uta.fi [153.1.1.12]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id CAA17333 for ; Tue, 27 Oct 1998 02:37:40 -0500 (EST) Original-Received: from olkikukka.uta.fi (ssjaaa@olkikukka [153.1.16.17]) by uta.fi (8.8.7/8.8.2) with ESMTP id JAA10739; Tue, 27 Oct 1998 09:37:36 +0200 (EET) Original-Received: (from ssjaaa@localhost) by olkikukka.uta.fi (8.8.5/8.8.2) id JAA08244; Tue, 27 Oct 1998 09:37:31 +0200 (EET) Original-To: wmperry@spry.com Original-Lines: 68 X-Mailer: Gnus v5.3/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:18221 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:18221 I just noticed this interesting Article. Would it be possible to add this kind of functionality to Gnus or W3? jari ------- Start of forwarded message ------- From: Toby Speight Newsgroups: comp.emacs Subject: DejaNews URLs (was: Shell directory tracking) Date: 22 Oct 1998 14:36:57 +0100 Organization: Digitivity, Inc. Message-ID: References: <7016p9$4h7$1@camelot.ccs.neu.edu> <708mm5$a94$1@camelot.ccs.neu.edu> Mail-Copies-To: never Kai> Kai Grossjohann 0> In , Kai wrote: Kai> &LNG=ALL&format=terse&showsort=score&maxhits=100&subjects=tcsh Kai> &groups=*emacs*&authors=&fromdate=&todate=> Kai> Kai> Try the above URL, result number 15 has the subject `tcsh completion' Kai> and is from `Anonymous'. That's what I was referring to. It's more usual (and useful) to refer to news articles by Message-ID (that's what Message-IDs are for!). In this case, [1]. If you are so attached to DejaNews, you could suggest [2] (though for some reason this returns text/plain for something which is clearly a message/rfc822). Either of which is an unambiguous URL, not subject to the same time-dependent changes as your directions above. URLs were designed exactly to remove the need for such descriptions. [1] [2] ObEmacs: ;; works with Gnus 5.5 and W3 4.0pre23 ;; I'm not actively maintaining this, so post fixes to Usenet (defun fetch-message-intelligently (message-id) "Fetch MESSAGE-ID." (interactive "sMessage-Id: ") (save-excursion (or (fetch-message-from-nntp message-id) (fetch-message-from-dejanews message-id)))) (defun fetch-message-from-dejanews (message-id) "Fetch MESSAGE-ID from DejaNews archive." (interactive "sMessage-Id: ") (w3-fetch (concat "http://search.dejanews.com/msgid.xp?MID=%3C" message-id "%3E&fmt=raw")) (let ((gnus-article-buffer w3-last-buffer) (inhibit-read-only t)) (gnus-article-highlight))) (defun fetch-message-from-nntp (message-id) (interactive "sMessage-Id: ") ;; can use either `gnus-request-article' or `nntp-request-article' here... (and (nntp-request-article (concat "<" message-id ">")) (eval-and-compile (condition-case nil (require 'url-news) (error nil))) (url-format-news))) ------- End of forwarded message -------