help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus: How to reference an article from a gmane mailing list


From: Michael Heerdegen
Subject: Re: Gnus: How to reference an article from a gmane mailing list
Date: Sat, 11 Dec 2021 02:27:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:

>   (with-current-buffer
>       (url-retrieve-synchronously
>        (concat
>         ;; For some reason, literal "+" chars cause the search to fail.
>         ;; Escape them.
>         "https://lists.gnu.org/archive/cgi-bin/namazu.cgi";
>         "?query=%2Bmessage-id:"
>         (replace-regexp-in-string "\\+" "%2B" id)

AFAIK you can use `url-hexify-string' or `browse-url-url-encode-chars'
for this task.

Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]