From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +EpTFP2kYl++YQAA0tVLHw (envelope-from ) for ; Wed, 16 Sep 2020 23:51:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AGd0EP2kYl+CCgAAbx9fmQ (envelope-from ) for ; Wed, 16 Sep 2020 23:51:25 +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 CF0099401D0 for ; Wed, 16 Sep 2020 23:51:24 +0000 (UTC) Received: from localhost ([::1]:49160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIhCt-0004lY-Gu for larch@yhetil.org; Wed, 16 Sep 2020 19:51:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIhCf-0004lQ-Hq for guix-devel@gnu.org; Wed, 16 Sep 2020 19:51:09 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:44253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIhCb-0000tl-53 for guix-devel@gnu.org; Wed, 16 Sep 2020 19:51:09 -0400 Received: by mail-wr1-x433.google.com with SMTP id s12so73307wrw.11 for ; Wed, 16 Sep 2020 16:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ap2EWYnzUBce29xBdsmKBp4o5xWFIa2a5E/Vdw3qXSs=; b=pn+06uChKzLHtQLtDX6YyqKjtmjMTCB33RoGMSsXiDWHQ1+ZApz8vLwXOIbydJd2+b N0EfVyFRBs9/sp8MYSa/++4qXOh2745un9JloADjKhGq/DrzsaKtZjXjUO7eZVYyniDV R3OkQeHnFUqWkK1xDWyge9tT1SCN//4ykue0LIIx1dX6m2HXMI64plzKAxqMsKfeZLwQ YmlZdug6H210J6D8YLl4PzMsQhu6OObF7T3nl4pUbjya57q1YxDq0RkyhHd7un1cRagY vSU3IAV5dkLhjPM1IiL0KM1uf21/bOb+iXv5SjyFLS9b44OFHqP84T2RRiNPeZqMN5v+ EzaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ap2EWYnzUBce29xBdsmKBp4o5xWFIa2a5E/Vdw3qXSs=; b=GSWdY//yRy9uVi0vdgNMksAR8BjuqcJCTAC8TXPp1NHVWfWSs5k5JULsQjuOKcab7G uENShdizDKROy1ZdG9to8pDQ4/GcjRjaxDTbLu1S49WVynsU4Jbo1tOoEZgWRFDFCEYE tlVNjciXZo33eJ0fcIvTqmsoXX6s8yZdMpHFkbvPknsPLhEOciOfw1aliM7q2Vxyuxk9 3OD7MYwBTepxr/10TG06WuFDJMIsuSQ/K+caWRdGYAFOgvu9XFJz0O+TaN8dQd1KF0jj NsMtfsbIRJABKqEJbNwLPKVV6l9pYcmgPEZ46slcWPJHc5dIlbeUMMq18mu2Pw/5f05s wNkQ== X-Gm-Message-State: AOAM530lygSYCr5+yD0J+klSDKcP8+L/tq9/HXE1gjgVBXMjyab3y1bj AfllW8tjdNn4GuSb53UYsBM= X-Google-Smtp-Source: ABdhPJyYhlzCav1s/i1T0OIjTJuE1jmuiJsLwL4SRZ4fw1BMbxyYEW8DzXMJnEHW9x6w83TQtmrVHg== X-Received: by 2002:adf:8481:: with SMTP id 1mr28214874wrg.231.1600300263581; Wed, 16 Sep 2020 16:51:03 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id j26sm6358778wrc.79.2020.09.16.16.51.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 16:51:03 -0700 (PDT) From: zimoun To: Guix Devel Subject: Mummi wishlist: API using Message-ID Date: Thu, 17 Sep 2020 01:51:01 +0200 Message-ID: <86sgbhz3fe.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x433.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=pn+06uCh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: 39JVuYBfFlaA Dear, Today is really useful and IMHO better than the classic Debbugs interface [1]. Bug reports (and patches) are still sent by email, the core of the Debbugs bug tracker. However, Mummi does not use the unique identifier Message-ID as address, AFAICT. Therefore, it can be tricky to link between my emails reader/writer and the web interface. Let take an example. From my typical use case. :-) My subscription to bug-guix (or guix-patches) sends me emails and I read them with emacs-notmuch (but it is not Emacs related, since any good email reader seems able to do the same). When I want to refer to one specific message, I have to open my web browser and go to then scroll a bit to find the relevant message, click to the date to get the associated number, copy the URL and go back to my email writer and finally paste the link. For example . The number #16 is really difficult to guess. :-) Instead, it is easy to get the Message-ID. (Using emacs-notmuch, only hit the key =E2=80=99ci=E2=80=99) Therefore, it could be nice to be able to= provide e.g., the URL: redirecting to . And maybe the current webpage could provide the Message-ID, easy to copy and then paste in my email reader. Another (Emacs related) example is emacs-debbugs. C-u M-x debbugs-gnu RET guix RET n y M-x debbugs-gnu-bugs RET 33899 RET RET Read messages Well, in the relevant message, I run =E2=80=9CM-x debbugs->url=E2=80=9D and= get the ready-to-be-pasted URL: with the naive Emacs function: --8<---------------cut here---------------start------------->8--- (defun debbugs->url () (interactive) (let ((url "https://yhetil.org/guix-bugs/") mid) (with-current-buffer gnus-article-buffer (gnus-summary-toggle-header 1) (setq mid (message-fetch-field "Message-ID")) (gnus-summary-toggle-header -1)) (while (string-match "[<>]" mid) (setq mid (replace-match "" t t mid))) (kill-new (concat url mid)) (message mid))) --8<---------------cut here---------------end--------------->8--- Last and off-topic to the Subject :-), the tool =E2=80=99public-inbox=E2=80= =99 exposes such API and then it seems easier to refer to relevant message than going by hand on e.g. to find it. An unofficial (but almost? serving org-mode list [2]) example is demonstrated here: Does it make to sense to have something similar, e.g. serving the =E2=80=99public-inbox=E2=80=99? [1] https://debbugs.gnu.org/cgi/pkgreport.cgi?package=3Dguix;max-bugs=3D100= ;base-order=3D1;bug-rev=3D1 [2] All the best, simon