From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.help Subject: Re: Handling the message:// protocol in Emacs Date: Mon, 30 Dec 2024 06:29:55 +0200 Message-ID: <2047.55826141394$1735533034@news.gmane.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13880"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Jean-Christophe Helary To: Jean-Christophe Helary via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 30 05:30:26 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tS7Q8-0003S4-65 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 30 Dec 2024 05:30:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tS7Pp-00079A-25; Sun, 29 Dec 2024 23:30:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tS7Pj-00078c-KL for help-gnu-emacs@gnu.org; Sun, 29 Dec 2024 23:29:59 -0500 Original-Received: from thaodan.de ([2a03:4000:4f:f15::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tS7Pi-0004fN-7a for help-gnu-emacs@gnu.org; Sun, 29 Dec 2024 23:29:59 -0500 Original-Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49]) by thaodan.de (Postfix) with ESMTPSA id E4919D00071; Mon, 30 Dec 2024 06:29:55 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1735532996; bh=y+Q+plKRB21XvtL/207B84sAGUmIS16qvKl8MkmV92M=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=ZOC/YQRbH6rY5xBAdrOMVghgYGUtRSXlmYnjeXkLDiL32AXAPQFEsHW4LrKa0+9Bu 1nagF10qhmJiHW8UZG9j62jmyuXiUsS9n5DGE7BhdxkOezwya9l9Cw/e7byFpr3dhU McCCbYBDStVJ5NfP0QvNFty7dEJlhrURIHudlwYFsppxWqtk5VCXs9AJtpI+pzBbR5 hXpdln1E2SXF5Ac8iF/wP6VBvXa0IYz16ME0TlsNU/dbMR8oQn4APgLnhKzY3FDVGk gK+gDdki58nmllPrMc1UIkDggw5nxm4k1+AxdVThRbrp1fB9vcOvuyWsGMWfjMMIuR +7rBwRMgkCfjKbccRbePLFNcSis4pUyvuYMUTtFMUDDbEvtzxlOKKtUDSQCfhhOHNB QkxJLXZO6HTYoIcebVi8Von9o1fM5msWyfOkHfGssJuzxlp1Eiq6gpdUXvX39G43mW Yq4A1I7VB30s0Bvtt+4MYgk1AVn91Rnr1WbfwBx6j5nK4/MiS0xDmdhlev+eFLMPAk JCoVLJbmzwJ2XT78rm8r1nZP5SADHp44dQp9bWaLWAsEunUhkCHM8ELIYZsA08d9Bv bf+C/8hS2F4a0djvS3D2s7Zz9CB9ivBuj6EmjUaFXCanJzhvKTIb5cgMjAeZL7s1uO 4sKwSr97X1vt5MHVfZNW44L8= In-Reply-To: (Jean-Christophe Helary via Users list for the's message of "Mon, 30 Dec 2024 02:22:14 +0000") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH Received-SPF: pass client-ip=2a03:4000:4f:f15::1; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 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, INVALID_MSGID=0.568, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:149061 Archived-At: Jean-Christophe Helary via Users list for the GNU Emacs text editor writes: > I=E2=80=99d like to have URIs defined as: > > message://[string] > > open in the default macOS Mail reader (Mail.app). > > How would I go about to achieve that? You would have to write your own browse-url function and register it to `browse-url-handlers'. Read: (info "(emacs) Browse-URL")