From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id nvgDIahJVWEjzwAAgWs5BA (envelope-from ) for ; Thu, 30 Sep 2021 07:22:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +DgmHKhJVWGpNQAA1q6Kng (envelope-from ) for ; Thu, 30 Sep 2021 05:22:48 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C126A18027 for ; Thu, 30 Sep 2021 07:22:47 +0200 (CEST) Received: from localhost ([::1]:34730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVoWr-00086A-5m for larch@yhetil.org; Thu, 30 Sep 2021 01:22:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVoVx-000861-AN for emacs-orgmode@gnu.org; Thu, 30 Sep 2021 01:21:49 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:37755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVoVu-0001NP-VB; Thu, 30 Sep 2021 01:21:48 -0400 Received: by mail-pj1-x1033.google.com with SMTP id me5-20020a17090b17c500b0019af76b7bb4so5857220pjb.2; Wed, 29 Sep 2021 22:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:references:user-agent:in-reply-to :message-id:mime-version; bh=fQRa0ehpN7ML4LJgquMaKn9ctJU2Z7kDGr+i9W/fF6E=; b=CcivsMyxYECj/ovg4Wp/393GowUxNe3TZz7fbaLGMn+JEwTw4w3CrGeeM7mzE862Ko M4asNUPHideR2qKmFGymWYVHY5/IJuxZrMmBkVMrb3vVs28X9l+F8OGqLndcrynh63iA vyneiojLL3RbOTb5/OEYVdlhkuJRCvtdUqQ5V1euRoxZVq60YUPiO0mM8e6IbRtzRKr0 755uTROszXhMqNRbFmSReU7JvVLIiSzN13kcPLkX2LsTDZKIKuabyDm54XYOgCBnp13f tjbhbi+sumIQ2w2qk6S6/9sdgdhIrf5egcyOUHii7iNHyYxkXoHPy+esn91k69IHKr+L HcoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=fQRa0ehpN7ML4LJgquMaKn9ctJU2Z7kDGr+i9W/fF6E=; b=y9k0yyJG3TR6WTgPF1H062BZMToSJ7asBgR64SlyT9O68GzUfngUUALgDP8UC7Jg9g wPbS4aF4X/bGW2xZ4DPzQuqd6a/VCKy8K6CkYtWxjYuXTlRCiXu+aPlo/Sqpg9DPBu5T YQnEMMzFki3qFo+QTvMkZo4JdNCgdXA2f58XYXC/4f9XgDQ0cZV4uTy9Yjgw+s81z01h qo4Bo+4zJUGX763h3oi+OQxRdv35hTlLZSapL+DG4l1dYL9HSJ2bmKqOav+k/F+TvQ8n VOQkoikr3qhui5kLvuCNDKL1ELnXyiIjzAin8+lIXc7383Fm0ZkqO4Lo7oJ7n3ey19wq nQQg== X-Gm-Message-State: AOAM531wdR87HwWnVbWWvtZ7aWLuYN70q/j4+gVubW+V2vyjONhftuMV pUEgW1bh4pFyEeAFSYMy1+M= X-Google-Smtp-Source: ABdhPJzQHxTD34zbsvwlbgKzthleI0n1X+sL9fijFGozdtK6D01U4xtUyz1PqTI48vuDBWzUzA8Kcw== X-Received: by 2002:a17:902:b102:b0:134:a329:c2f8 with SMTP id q2-20020a170902b10200b00134a329c2f8mr2269408plr.71.1632979303389; Wed, 29 Sep 2021 22:21:43 -0700 (PDT) Received: from localhost (61-245-128-160.3df580.per.nbn.aussiebb.net. [61.245.128.160]) by smtp.gmail.com with ESMTPSA id q13sm1493349pfk.128.2021.09.29.22.21.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Sep 2021 22:21:43 -0700 (PDT) From: Timothy To: Greg Minshall Subject: Re: Grabbing the link to a message on the archive Date: Thu, 30 Sep 2021 13:18:44 +0800 References: <87ilyjuoed.fsf@bzg.fr> <1461762.1632974404@apollo2.minshall.org> User-agent: mu4e 1.6.5; emacs 28.0.50 In-reply-to: <1461762.1632974404@apollo2.minshall.org> Message-ID: <87v92i4p0c.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=tecosaur@gmail.com; helo=mail-pj1-x1033.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastien , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632979368; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fQRa0ehpN7ML4LJgquMaKn9ctJU2Z7kDGr+i9W/fF6E=; b=R3ZLsByzqQ35TUgdZopbXUylJcTsGolkb+Y0Xrm+t1vmregP7IrbDymLDANbmR4IQy1uiM pzrfeQqoJtUFJ+/FnIGodoZIpbOKNrgOcOTcVMh7JywjqrOnKWkAUI9+woY+jCGfsMaTZN vrk/Q0kKKEVL4WHA1GVLJ9TrjjC/Sc+uisvsfW6hV1Ai05sSop6lj/IU8e/3q4GqDPvgZ9 smL4LKwLxhc7F66q2ypPtfA39SgMAfklOAkQzdAZ2mN4eVPmK+uTmORbMglKQzmaX7DKFI B25e34CAsM8LuwFoOqlwL+h9uzOm0a6isCBULmwHasF/LUq5xjb+btyDJbchTw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632979368; a=rsa-sha256; cv=none; b=ncryAfSZ4nBaqY0mvBdmuVGlWRiY7wPmnW5mypyxF8jcOhTd+LZOQJbD1w+Wlw3HP+47Y8 fdU8Ozy7v1TXN27Wb2QttVgXd0qHN2oo619XV0vY3e5G8uRz/awK6QZpqNGMZ9aNsSQ4fz jhQuxdErpZWoeLebhXKpVRoJ5yDpRgiIlWVaBK2VhjQJi2MvelOGp22ntYF+Uh3uwvfMH2 v+VegrJT/zAhrTpXL9k1VzucDEohzVr2JTkbfdF5clnluZbyvvpoD3sy768dA3YHeUVUtl SKRe1qrBJ7BTHdpBKRPEgEn3ylOsyXBPpEh1hn88JCiYFHu6whqLBH9xVJLlAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=CcivsMyx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=CcivsMyx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: C126A18027 X-Spam-Score: -2.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4OiXTpK7lVSi --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 . (though i also > worry this might open us up to some sort of spam, or other, attack?) > > and, i=E2=80=99ll add my thanks and congratulations on 9.5! > > cheers, Greg If you use mu4e, the following may be of some interest: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 (defun +mu4e-ml-message-link (msg) =E2=94=82 (cond =E2=94=82 ((string=3D "emacs-orgmode.gnu.org" (mu4e-message-field msg :m= ailing-list)) =E2=94=82 (message "Link %s copied to clipboard" (gui-select-text (form= at "https://list.orgmode.org/%s" (mu4e-message-field msg :message-id))))) =E2=94=82 (t (user-error "Mailing list %s not supported" (mu4e-message-f= ield msg :mailing-list))))) =E2=94=82 (add-to-list 'mu4e-view-actions (cons "link to message ML" #'+mu4= e-ml-message-link t)) =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 I expect this could be adapted to other clients (notmuch, gnus, etc.) without much trouble :) All the best, Timothy --==-=-= Content-Type: text/org Content-Disposition: inline #+OPTIONS: html-postamble:nil H:5 num:nil ^:{} toc:nil author:nil email:nil tex:dvipng d:nil #+STARTUP: hidestars indent inlineimages :PROPERTIES: :reply-to: nil :attachment: nil :alternatives: (utf-8 org) :END: 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: #+begin_src elisp (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)) #+end_src I expect this could be adapted to other clients (notmuch, gnus, etc.) without much trouble :) #+begin_signature All the best,\\ @@html:@@Timothy@@html:@@ #+end_signature --==-=-=-- --=-=-=--