From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help Subject: Find article permalink in archive. Date: Tue, 11 Oct 2016 12:11:00 +0300 Organization: Oleksandr Gavenko , http://defun.work/ Message-ID: <87twcj45ej.fsf@gavenkoa.example.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1476191141 28238 195.159.176.226 (11 Oct 2016 13:05:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2016 13:05:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 11 15:05:34 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btwkG-00057x-93 for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Oct 2016 15:05:24 +0200 Original-Received: from localhost ([::1]:55705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btwkE-0003cE-Qc for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Oct 2016 09:05:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btt67-0005PE-1s for help-gnu-emacs@gnu.org; Tue, 11 Oct 2016 05:11:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btt61-0005xx-Om for help-gnu-emacs@gnu.org; Tue, 11 Oct 2016 05:11:41 -0400 Original-Received: from [195.159.176.226] (port=57884 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btt61-0005vA-HS for help-gnu-emacs@gnu.org; Tue, 11 Oct 2016 05:11:37 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1btt5g-0007Jf-RR for help-gnu-emacs@gnu.org; Tue, 11 Oct 2016 11:11:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:3cDLF6lRqbSYgy7a8A9UYf/f3wI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-Mailman-Approved-At: Tue, 11 Oct 2016 09:04:28 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111503 Archived-At: I have: (setq gnus-visible-headers (concat gnus-visible-headers "\\|^Archived-At:")) and as I read all lists mostly from Gmane it gives me permalink for saving for further reference. Gmane shut down Web interface and these links are no longer worked. As alternative I wrote: --8<---------------cut here---------------start------------->8--- (defun my/gnus-search-web-by-message-id () "Search for article archive by Message-Id in Google." (interactive) (let ( (msgid (message-fetch-field "Message-Id")) (subj (message-fetch-field "Subject")) ) (setq msgid (replace-regexp-in-string "[<>]" "" msgid)) (setq subj (replace-regexp-in-string "[\"#]" " " subj)) (browse-url (format "https://www.google.com.ua/search?q=%s" (url-encode-url (format "%s OR \"%s\"" msgid subj)))) (browse-url (format "http://mid.mail-archive.com/%s" (url-encode-url msgid))))) --8<---------------cut here---------------end--------------->8--- But search engines usually fail to find messages. ================================================================ Another approach is to use ``List-Archive`` header, like: List-Archive: and try to determine list hosting/archiving software (like ``namazu``) and automatically fill form and browse result in browser. For example, Namazu has ``+message-id:<...>`` syntax for searching by ``Message-Id``. It is complicated task. Anyone works on this? -- http://defun.work/