From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Vincent_Bela=EFche?= Subject: =?UTF-8?B?UkU6IGluZm8gVVJMIMKrIG9wZW4gYXQgcG9pbnQgwrsgcGF0Y2g=?= Date: Tue, 26 Jun 2018 05:47:04 +0000 Message-ID: References: , <83h8lstfwh.fsf@gnu.org> , <8336xct8v0.fsf@gnu.org> , <83y3f4rpjt.fsf@gnu.org> , <83vaa7simv.fsf@gnu.org>, Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Language: fr-FR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sender: "Emacs-devel" To: Eli Zaretskii , "emacs-orgmode@gnu.org" , Jean-Christophe Helary Cc: "emacs-devel@gnu.org" List-Id: emacs-orgmode.gnu.org One more point : do org-mode experts have an idea about whether there are any better way to match a URL that can be browsed with the browse-url function. My point is that for a modular design, the same package that provides the browse-url function, should also provide some match-url-at-point-p predicate, e.g. - 1st optional argument would give a point in the current buffer, (point) i= f omitted =20 - 2nd optional argument would be an include/exclude list of protocols which= you want/don't want to browse with browse-url. All browsable protocols would be assumed if omitted. For instance the info browser would exclude info protocol, so that it can directly browse it. This way the package calling browse-url would be independant/futureproof w.r.t. to URL format/evolultion. V.