emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Grabbing the link to a message on the archive
Date: Fri, 1 Oct 2021 22:07:14 +0700	[thread overview]
Message-ID: <sj7873$5b0$1@ciao.gmane.io> (raw)
In-Reply-To: <87v92i4p0c.fsf@gmail.com>

On 30/09/2021 12:18, Timothy wrote:
> Hi Greg,
> 
>> i love the searching on list.orgmode.org, but i have this recurrent
>> dream: that some day each e-mail message will come with a header listing
>> the URL for that message on <https://list.orgmode.org>.  (though i also
>> worry this might open us up to some sort of spam, or other, attack?)
>>
>> and, i’ll add my thanks and congratulations on 9.5!
>>
>> cheers, Greg
> 
> If you use mu4e, the following may be of some interest:
> ┌────
> │ (defun +mu4e-ml-message-link (msg)
> │   (cond
> │    ((string= "emacs-orgmode.gnu.org" (mu4e-message-field msg :mailing-list))
> │     (message "Link %s copied to clipboard" (gui-select-text (format "https://list.orgmode.org/%s" (mu4e-message-field msg :message-id)))))
> │    (t (user-error "Mailing list %s not supported" (mu4e-message-field msg :mailing-list)))))
> │ (add-to-list 'mu4e-view-actions (cons "link to message ML" #'+mu4e-ml-message-link t))
> └────
> 
> I expect this could be adapted to other clients (notmuch, gnus, etc.)
> without much trouble :)

lists.gnu.org allows to map Message-ID to URL as well:

https://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=%2Bmessage-id%3A87tuolhyl7.fsf%40posteo.net&idxname=emacs-orgmode

Unfortunately I have no idea how to get Message-ID having a link to 
particular message on lists.gnu.org without search by e.g. subject and 
author.

I had an impression that mailman mangles links like
https://list.orgmode.org/87tuolhyl7.fsf@posteo.net
since they resemble email addresses, so should be protected from 
spammers. I do not have links to prove it for mailman but debbugs 
certainly does it. In this sense links to lists.gnu.org are safer:
https://lists.gnu.org/archive/html/emacs-orgmode/2021-04/msg00133.html
A cheat for debbugs maybe the following: replace "@" to "%40" 
https://list.orgmode.org/87tuolhyl7.fsf%40posteo.net/T/#u
(Message that I used in these examples: Juan Manuel Macías. [tip] search 
this mailing list with helm-surfraw. 2021-04-05  9:25 UTC)

list.orgmode.org (public inbox) is an ordinary subscriber just as you, 
so it can not add any link to messages delivered to you. There is a 
dedicated header Archived-At that mail list may add, unfortunately 
mailman does not know URL at the time of message processing, so it adds 
only a link to whole archive as List-Archive.

https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/handlers/docs/rfc-2369.html#archive-headers

Curiously news.gmane.io still adds Archived-At despite web interface was 
disabled years ago.



  parent reply	other threads:[~2021-10-01 15:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29 20:18 orgmode.org setup Bastien
2021-09-29 20:24 ` Samuel Banya
2021-09-29 20:38   ` Bastien
2021-09-29 21:20 ` Russell Adams
2021-09-29 21:29   ` Bastien
2021-09-30  4:00 ` Greg Minshall
2021-09-30  5:18   ` Grabbing the link to a message on the archive Timothy
2021-09-30  6:53     ` Greg Minshall
2021-10-01 15:07     ` Max Nikulin [this message]
2021-10-01 18:50       ` Greg Minshall
2021-10-02 14:26       ` Ihor Radchenko
2021-10-02 15:48         ` Max Nikulin
2021-10-02 16:12           ` Kyle Meyer
2021-10-04  0:20     ` Jorge P. de Morais Neto
2021-10-04  0:21       ` Jorge P. de Morais Neto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='sj7873$5b0$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).