From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QBAbMPlIWmEvSQAAgWs5BA (envelope-from ) for ; Mon, 04 Oct 2021 02:21:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8HrXK/lIWmHvbAAA1q6Kng (envelope-from ) for ; Mon, 04 Oct 2021 00:21:13 +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 139FB15C31 for ; Mon, 4 Oct 2021 02:21:13 +0200 (CEST) Received: from localhost ([::1]:39860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXBjE-0003yF-43 for larch@yhetil.org; Sun, 03 Oct 2021 20:21:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXBiY-0003wR-JT for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 20:20:30 -0400 Received: from knopi.disroot.org ([178.21.23.139]:60692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXBiW-0005c0-7H for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 20:20:30 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DB650624CB for ; Mon, 4 Oct 2021 02:20:23 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IZEFFizz06TX for ; Mon, 4 Oct 2021 02:20:22 +0200 (CEST) From: Jorge P. de Morais Neto DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1633306822; bh=d0a9cT3OO8NKTH09hUVIMj7GrRfKfSW2YUjykW0qe18=; h=From:To:Subject:In-Reply-To:References:Date; b=M7D2fX2SoZkSJ5fq9NCHiokG+9ExIsrcMv4bqhwj78tO2sUCVdxBzus8XMfuF5PC3 xUpKziY+XHHI2pHWD2y80xf9ssE75YXXJD9skYMgkx4dLEqIWKqzN6l9wo6SRw79S8 6fev86diYP6YjzZusgE94IvxroBwZsTh8KMDhbibyD0rsFIpqZe46zbnroSFU9yc/P kGrP631DVY5KgSSiO8t9/0EFtDd5a2WNR7/u3loum7djWxQb1nT2ioHyrWyE7sZPqC lQPV/ztoN7iVbe9mX7vJVubDUT1JMt1Go92DLiHq4UP2FOwSuNmPnxYdRogrjVq/Jz FPwMlc8NBzQww== To: emacs-orgmode@gnu.org Subject: Re: Grabbing the link to a message on the archive In-Reply-To: <87v92i4p0c.fsf@gmail.com> References: <87ilyjuoed.fsf@bzg.fr> <1461762.1632974404@apollo2.minshall.org> <87v92i4p0c.fsf@gmail.com> Mail-Followup-To: emacs-orgmode@gnu.org Date: Sun, 03 Oct 2021 21:20:12 -0300 Message-ID: <87ilydprnn.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=jorge+list@disroot.org; helo=knopi.disroot.org 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, RCVD_IN_MSPIKE_H2=-0.001, 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: , 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=1633306873; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=tCBG178nIEDkTY39AUBAHKE57+Sd2+WBOkCwYi7kOmg=; b=d56Z2sTlhNqwIa0+mnx1Oh7uCufKcMXXc7BRFe4ZPiGYQlSpU1jqbKrW7cQ29coPSrFOdO EWoGE03rW4/Cc4RFQ7GWTyvj85McayXCnIoO2osww3gktIWgoQoR+l4UJXh/yhNwuIpsHo MlyywyJFs6l4v7eJI5PqPj20ExR2qv+FA1Q/tPbdyNzSUJwbjaONwKHpIUbDxaenn4iCAS /7Vsr6Ygl7BjAFHXuVAqRks6S6CtgCoHd3ofBLbuMCjc9kjNVXXvq5BM7SillY7mZeiK2W vOKe5JJiTVjMxHLJAeuMNNNHKazTBOHDPuya9K0vWDVgxvLl3mB8cowgGiZv7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633306873; a=rsa-sha256; cv=none; b=SnkT6gtlJJboMxEWio21/dAKw0MfT3zHwnmvsQiGH9iJhT4Ryj8BP6j3XPzcTK6kgQLrlL 4aoKWUdHwPpbV9pIo1KoRpEsJDpuQFBefqOxW606z2h1w6NFK3Zp8O201lSrl9erNvf09c vBpYa9Z1CvEFgjdxk5twNdkfsnMGVLtD0qyjwSllfTNYiRRJa83GbZiyDuNkHcY2L1MHuJ qBTKMhRrnbysPdn5i2Kd0thyYZhBfbHZZy57vqnr4MCDYmCcI16cv95aywAVkDDToXk2ui 3QrrB5p48WrASAhYLOSlb2DfF0+CzYjSavxCNU0UqwuSPfkg99Jr6AAjVcEw2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=M7D2fX2S; 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: -3.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=M7D2fX2S; dmarc=pass (policy=quarantine) header.from=disroot.org; 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: 139FB15C31 X-Spam-Score: -3.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: LMG08tk9SHSj Hi Timothy, Em [2021-09-30 qui 13:18:44+0800], Timothy escreveu: > 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 = :mailing-list)) > =E2=94=82 (message "Link %s copied to clipboard" (gui-select-text (fo= rmat "https://list.orgmode.org/%s" (mu4e-message-field msg :message-id))))) > =E2=94=82 (t (user-error "Mailing list %s not supported" (mu4e-message= -field msg :mailing-list))))) > =E2=94=82 (add-to-list 'mu4e-view-actions (cons "link to message ML" #'+m= u4e-ml-message-link t)) > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 In this snippet you call ~cond~ with three arguments, but it takes only two. Regards --=20 - Many people hate injustice but few check the facts. This provokes misinformation. Ask me about - I am Brazilian. I hope my English is correct and I welcome feedback. - Free Software Supporter: https://www.fsf.org/free-software-supporter - If an email of mine arrives at your spam box, please notify me.