Re: [O] info URL « open at point » patch

2018-07-01 Thread Vincent Belaïche
Hello Eli, Concerning the patch, I understood that you agree with it provided that it is upgraded to mention the change in the etc/NEWS file. So I did that & pushed the change. Concerning your point « Modularity doesn't mean each module must be standalone and self-contained », I agree, and I did

Re: [O] info URL « open at point » patch

2018-06-27 Thread Eli Zaretskii
> From: Vincent Belaïche > CC: "emacs-orgmode@gnu.org" , "brandel...@gmail.com" > , "emacs-de...@gnu.org" > Date: Wed, 27 Jun 2018 17:39:33 + > > Concerning the patch, I understood that you agree with it provided that > it is upgraded to mention the change in the etc/NEWS file. So I

Re: [O] info URL « open at point » patch

2018-06-26 Thread Eli Zaretskii
> From: Vincent Belaïche > CC: "emacs-de...@gnu.org" > Date: Tue, 26 Jun 2018 05:47:04 + > > 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. There is such a function:

Re: [O] info URL « open at point » patch

2018-06-26 Thread Eli Zaretskii
> From: Vincent Belaïche > CC: "emacs-orgmode@gnu.org" > Date: Tue, 26 Jun 2018 05:19:32 + > > Just to be factual: > 1) Does anybody objects the patch as it is --- if not I would push it to the > repo ? It needs to be called out in NEWS. > 2) Does anybody agrees that the coding of

Re: [O] info URL « open at point » patch

2018-06-26 Thread Vincent Belaïche
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

Re: [O] info URL « open at point » patch

2018-06-26 Thread Vincent Belaïche
Just to be factual: 1) Does anybody objects the patch as it is --- if not I would push it to the repo ? 2) Does anybody agrees that the coding of Info-get-token is not futureproof (length of regexp string used for max length of matchable string). Vincent. De : Eli Zaretskii Envoyé : lundi

Re: [O] info URL « open at point » patch

2018-06-26 Thread Vincent Belaïche
I agree it is a bit strange, but the reason for it is simple : I would like a single entry point for all the manuals installed on my PC, so that my old and tired brain does not have to remember where the manual is located, and what format is it written in. So it would be nice if all the manuals

Re: [O] info URL « open at point » patch

2018-06-26 Thread Vincent Belaïche
I generated the regexp with (regexp-opt '("ftp" "http" "https" "file")). I admit that the list of protocols is not clear from the regexp, but it was already done this way before my change, and I tried to minimize the change. More concerning in my opinion is how the Info-get-token is written. As

Re: [O] info URL « open at point » patch

2018-06-26 Thread Vincent Belaïche
See (info "(texinfo) Reference Syntax")… De : Vincent Belaïche Envoyé : dimanche 24 juin 2018 18:48 À : Eli Zaretskii Cc : emacs-de...@gnu.org; emacs-orgmode@gnu.org Objet : RE: info URL « open at point » patch   Hello Eli, To my understanding @xref works only for info links (node names

Re: [O] info URL « open at point » patch

2018-06-26 Thread Vincent Belaïche
What I want to do is to refer an HTML or PDF document from an Info document. So I want the info browser to launch the web browser for it to open a « file: » protocol document. Here is the Texinfo source which I would like to use: --8<8<8<8<8<-- begin

Re: [O] info URL « open at point » patch

2018-06-26 Thread Vincent Belaïche
Hello Eli, To my understanding @xref works only for info links (node names or anchors, or qualified thereof where the qualificator is the info document name) --- maybe I am wrong, tell me if so --- but I want to refer to an HTML or PDF document. Vincent.

Re: [O] info URL « open at point » patch

2018-06-24 Thread Eli Zaretskii
> From: Vincent Belaïche > CC: "emacs-de...@gnu.org" , "emacs-orgmode@gnu.org" > > Date: Sun, 24 Jun 2018 20:34:26 + > > I agree it is a bit strange, but the reason for it is simple : I would > like a single entry point for all the manuals installed on my PC, so > that my old and

Re: [O] info URL « open at point » patch

2018-06-24 Thread Eli Zaretskii
> From: Vincent Belaïche > CC: "emacs-de...@gnu.org" , "emacs-orgmode@gnu.org" > > Date: Sun, 24 Jun 2018 18:21:20 + > > What I want to do is to refer an HTML or PDF document from an Info document. > So > I want the info browser to launch the web browser for it to open a > « file: »

Re: [O] info URL « open at point » patch

2018-06-24 Thread Eli Zaretskii
> From: Vincent Belaïche > CC: "emacs-de...@gnu.org" , "emacs-orgmode@gnu.org" > > Date: Sun, 24 Jun 2018 16:48:30 + > > To my understanding @xref works only for info links (node names or anchors, > or qualified thereof where the > qualificator is the info document name) --- maybe I

Re: [O] info URL « open at point » patch

2018-06-24 Thread Jean-Christophe Helary
> On Jun 24, 2018, at 15:57, Vincent Belaïche wrote: > > Bonjour tout l'monde ! > I am writing to both Emacs-devel and org-mode list because this concerns > browsing URL, and Org-mode already has quite some stuff on this. > Recently I came across this that in an Info file a « file: » protocol

Re: [O] info URL « open at point » patch

2018-06-24 Thread Eli Zaretskii
> From: Vincent Belaïche > Date: Sun, 24 Jun 2018 06:57:53 + > > I am writing to both Emacs-devel and org-mode list because this concerns > browsing URL, and Org-mode already has quite some stuff on this. > Recently I came across this that in an Info file a « file: » protocol > URL is not