From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +JK/AMHtgmSZ+wAASxT56A (envelope-from ) for ; Fri, 09 Jun 2023 11:15:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UGe2AMHtgmR+RwEA9RJhRA (envelope-from ) for ; Fri, 09 Jun 2023 11:15:45 +0200 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 8E92535BEF for ; Fri, 9 Jun 2023 11:15:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7YCU-0007VR-AX; Fri, 09 Jun 2023 05:14:30 -0400 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 1q7YCS-0007V4-4M for emacs-orgmode@gnu.org; Fri, 09 Jun 2023 05:14:28 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7YCQ-0002Xj-Au for emacs-orgmode@gnu.org; Fri, 09 Jun 2023 05:14:27 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1932E240027 for ; Fri, 9 Jun 2023 11:14:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1686302065; bh=sXJEzRvtAOTSRN0OQrNeykTcuB+3kZ47zERSLDSClVY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=PSODVnuWxLjv+sjWR5wJ3Vvic8A5+z2WlF1BIf6GCSXN1pmWAK5QkCXppO6ysmacY uWl4ajmgKLFeuKOnCMwiJISqxdZHQC3xfrqxiz93aDREIvdK70UvGpTplTjUDVZu0O varE2Y5E5h2dGL3xJikVvzc1scdqSnF2nz15pFkqKNwOJ37ojkueWUjWbzcWAVAPRL UFe6tfs73yelYEasEdJu2MwiMA3oChciR6AeN2EWkwZsZeYth7T/PnP+k5z1vcJQeJ TdXxNpl+yiBk/7mvN8J0nwkrNKU7LgyLMgYsVS64Ga3cOAqp4s9XCiSvt1OOHc363u R4Hl0iVGTysGQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QcwPr4VB8z6tvq; Fri, 9 Jun 2023 11:14:24 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: mailto link issue in 9.5.5 and 9.6.6 In-Reply-To: References: <87cz2ala8k.fsf@localhost> <87cz27ctws.fsf@localhost> Date: Fri, 09 Jun 2023 09:19:11 +0000 Message-ID: <878rctuh68.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686302144; 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=mnoGIEJ7WfAgjTNViEzakjfjPA4C2eKUzvjrOHchgHc=; b=q3QEn04e2txh8/tLNxgW5aGYTojP70gfhKqSibr8+HT/+G92oI3Pl32SB3aevCWYYEsMBj 7AUZj9YEHVF/iX3bEvTwPbX7vR/MzrYzfTzaVJ0B8D4B4JY7aWEJDlKBVtmu5YFnLuVFIr Xf65qj6f2/veNi7nPhme74XocWS9RAx5HDM84kfn8xRGiFAcXsceYGVJQnttYGkkoXd1e3 MNafjdAyBhSzNS68TGDPB9iu+79JpIPbijhejMOJA2iPmoA6161IovPp9+c5A5bbuW3BET +GOrq2q7HVbpE/QQL/rt77MDFrga3L+X52e689eAmdsFluKFYd+oqngF7agqVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PSODVnuW; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686302144; a=rsa-sha256; cv=none; b=qHCurMlIxhz/QTrNIPnJefOVZH7abHIXFuWA6APLO0Nb2exAjacADGV5nDQgU+mfa+Fmcl 9zVaI2ztciV2CV1nOKJWnu6/L9JA+HYzqx1iGMwn0eHqktUuYSeZQp95ZCgSNtO2qDjN3D 9xRxNOC+u7ALnRKq0g888W4xdSYXP/l1zCbNCqURAfCxtxGuDXYu/vhmxrOsoOQN0PPV7v iexaQirSlZYW9QypW4VT23mFJTkP88uo6qookKU31oXZPaS2J6iMDvfEP8jDo0QBekbNJQ KjlWE1E9HunKYvI+rBIeVHJ677DA26Hc836FYeLis8Hllzt7kgANDn9ymqAzAg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.18 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PSODVnuW; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8E92535BEF X-Spam-Score: -6.18 X-TUID: ChqbFZaD5SfF Max Nikulin writes: >> May you elaborate? (Or, better, send a patch) > > The typo in https://orgmode.org/worg/org-faq.html#mailto-links > > browse-url~browser-function > ----------^ Fixed. https://git.sr.ht/~bzg/worg/commit/60bed811 > Looking at > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c4adfbae24d9 > Allow for custom URL handlers in browse-url. > (included into Emacs-28) > >> +(defun browse-url--mailto (url &rest args) >> + "Calls `browse-url-mailto-function' with URL and ARGS." >> + (funcall browse-url-mailto-function url args)) > > I decided that it is consistent with > >> nil("mailto:srandby@gmail.com" (nil)) >> browse-url--mailto("mailto:srandby@gmail.com" nil) > > when `browse-url-mailto-function' is set to nil. However docstring to > this variable allows nil (perhaps there is really an Emacs bug). Now I > am puzzled why setting `browse-url-mailto-function' to > `browse-url-default-browser' does not help. I have no idea what should > be suggested to users instead of nil. This is Emacs bug that should be reported. I do not think that we need to document every workaround for Emacs bugs. Especially given that Emacs 29 is just around the corner. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at