From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: Any way to tell Emacs how to open specific URIs? Date: Sun, 29 Nov 2020 00:24:39 +0300 Message-ID: References: <87lfem1ptv.fsf@gnu.org> <87wny52qrf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9827"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 29 06:18:43 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kjF6g-0002Q1-Bq for ged-emacs-devel@m.gmane-mx.org; Sun, 29 Nov 2020 06:18:42 +0100 Original-Received: from localhost ([::1]:50578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjF6f-0005V2-Bm for ged-emacs-devel@m.gmane-mx.org; Sun, 29 Nov 2020 00:18:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjF5p-0004dg-Or for emacs-devel@gnu.org; Sun, 29 Nov 2020 00:17:49 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:55731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjF5n-0002o1-Vh for emacs-devel@gnu.org; Sun, 29 Nov 2020 00:17:49 -0500 Original-Received: from localhost ([::ffff:197.157.0.29]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C1AE5.000000005FC32EF9.00004FED; Sun, 29 Nov 2020 05:17:45 +0000 Content-Disposition: inline In-Reply-To: <87wny52qrf.fsf@gnu.org> Received-SPF: pass client-ip=95.85.24.50; envelope-from=bugs@gnu.support; helo=static.rcdrun.com X-Spam_score_int: 45 X-Spam_score: 4.5 X-Spam_bar: ++++ X-Spam_report: (4.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, RCVD_IN_SBL_CSS=3.335, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:259987 Archived-At: * Tassilo Horn [2020-11-28 23:03]: > Jean Louis writes: > > >> > Is there any current way to define how to open these URIs? > >> > >> I'm not exactly sure if I understand the question, but maybe > >> `browse-url-handlers' (Emacs 28 only) is what you are looking for > >> (assuming that clicking on an URL with goto-browse-mode does calls > >> `browse-url'). > > > > Yes, thank you, Lars added it recently. Great. > > Oh really? I was pretty sure that I added it! ;-) > > Anyway, great that it does the trick. Feel free to ask if anything is > unclear. Then if you added it, good! Thank you. Maybe I have mistaken something from reading the bug reports. That is great feature and allows automatic hyperlinks in any mode. browse-url-handler is called URLl handler but in reality it then handles rather URIs, not only URLs and if feature is new and still in development, maybe you should reconsider the naming of the variable. https://en.wikipedia.org/wiki/Uniform_Resource_Identifier