Re: [O] [ANN] Changes to link syntax

2019-04-07 Thread stardiviner
stardiviner writes: > After finished this upgrading, I will write a blog post about this for > helping user migration. As I said, I wrote a simple blog post about how to upgrade to new link syntax. https://stardiviner.github.io/Blog/upgrade-Org-link-syntax-to-new.html -- [ stardiviner ]

Re: [O] [ANN] Changes to link syntax

2019-04-02 Thread Nicolas Goaziou
Hello, stardiviner writes: > I found a simple and better solution to replace those. I use =rg (ripgrep)= to > search you mentioned escape characters "%20 %25 %5B %5D". I then use =wgrep= > on > results. I spend pretty long time to processing all links. There are about > 4 > links matched.

Re: [O] [ANN] Changes to link syntax

2019-03-26 Thread stardiviner
Nicolas Goaziou writes: > stardiviner writes: > >> Hi, @Nicolas, will you release a method to update all existing Org >> file links? > > On second though, you may want to test the following: > > (defun org-update-link-syntax () > "Update syntax for links in current buffer." >

Re: [O] [ANN] Changes to link syntax

2019-03-26 Thread stardiviner
Nicolas Goaziou writes: > stardiviner writes: > >> Hi, @Nicolas, will you release a method to update all existing Org >> file links? > > On second though, you may want to test the following: > > (defun org-update-link-syntax () > "Update syntax for links in current buffer." >

Re: [O] [ANN] Changes to link syntax

2019-03-19 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> So I have to consider a safer and larger method to upgrade link. I can't >> manually open every Org files and run linter on them. > > I already offered a function for replacing it in a file. You can wrap it > within a `dolist' on

Re: [O] [ANN] Changes to link syntax

2019-03-18 Thread Nicolas Goaziou
Hello, stardiviner writes: > So I have to consider a safer and larger method to upgrade link. I can't > manually open every Org files and run linter on them. I already offered a function for replacing it in a file. You can wrap it within a `dolist' on `directory-files-recursively'. > (Maybe

Re: [O] [ANN] Changes to link syntax

2019-03-17 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Hi, @Nicolas, will you release a method to update all existing Org >> file links? > > This is not limited to file links. > > There is no method that can, with certainty, convert old syntax into the > new one. More accurately, it is

Re: [O] [ANN] Changes to link syntax

2019-03-15 Thread Nicolas Goaziou
Hello, stardiviner writes: > Hi, @Nicolas, will you release a method to update all existing Org > file links? This is not limited to file links. There is no method that can, with certainty, convert old syntax into the new one. More accurately, it is possible to convert them with:

Re: [O] [ANN] Changes to link syntax

2019-03-15 Thread Nicolas Goaziou
stardiviner writes: > Hi, @Nicolas, will you release a method to update all existing Org > file links? On second though, you may want to test the following: (defun org-update-link-syntax () "Update syntax for links in current buffer." (org-with-point-at 1 (let

Re: [O] [ANN] Changes to link syntax

2019-03-14 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > I finally pushed changed about escape syntax in bracket links. Here is > the excerpt from ORG-NEWS: > > Org used to percent-encode sensitive characters in the URI part of the > bracket links. > > Now, escaping mechanism uses the usual backslash

Re: [O] [ANN] Changes to link syntax

2019-03-12 Thread Nicolas Goaziou
Hello, Amin Bandali writes: > On 2019-03-10 1:02 PM, Samuel Wales wrote: >> the org capture firefox extensions, and similar extensions, or >> org-protocol, might need changing. >> >> > > [...] > > Also seems like there are a couple more internal Org functions that need > changing: when opening

Re: [O] [ANN] Changes to link syntax

2019-03-11 Thread Diego Zamboni
Thanks! It works again :) On Tue, Mar 12, 2019 at 12:07 AM Nicolas Goaziou wrote: > Hello, > > Diego Zamboni writes: > > > I can confirm this behavior. After updating to latest org from master and > > restarting Emacs, my documents now show the link destinations instead of > > their

Re: [O] [ANN] Changes to link syntax

2019-03-11 Thread Nicolas Goaziou
Hello, Diego Zamboni writes: > I can confirm this behavior. After updating to latest org from master and > restarting Emacs, my documents now show the link destinations instead of > their descriptions (nothing changed in my configuration). > > Best, > --Diego > > > On Mon, Mar 11, 2019 at 6:52

Re: [O] [ANN] Changes to link syntax

2019-03-11 Thread Diego Zamboni
I can confirm this behavior. After updating to latest org from master and restarting Emacs, my documents now show the link destinations instead of their descriptions (nothing changed in my configuration). Best, --Diego On Mon, Mar 11, 2019 at 6:52 PM Marco Wahl wrote: > Hi Nicolas and all, >

Re: [O] [ANN] Changes to link syntax

2019-03-11 Thread Marco Wahl
Hi Nicolas and all, Is it just me or does [[https://duckduckgo.com][DDG]] show up now as https://duckduckgo.com with `org-link-descriptive' set to t? I would instead expect DDG to appear. Wild guess: this is an issue in `org-activate-links'? Ciao -- Marco

Re: [O] [ANN] Changes to link syntax

2019-03-11 Thread Daniele Nicolodi
On 11-03-2019 10:35, Nicolas Goaziou wrote: > Hello, > > Daniele Nicolodi writes: > >> On 10/03/2019 11:19, Nicolas Goaziou wrote: >>> When in doubt, use the function ~org-link-escape~ in order to turn >>> a link string into its properly escaped form. >>> >>> The old

Re: [O] [ANN] Changes to link syntax

2019-03-11 Thread Eric S Fraga
Hello Nicolas, With the new syntax, are link descriptions meant to be displayed instead of the actual links? I only seem to have the actual links displayed. Have I missed some setting? Thanks, eric -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.2-286-gc020e9

Re: [O] [ANN] Changes to link syntax

2019-03-11 Thread Nicolas Goaziou
Hello, Daniele Nicolodi writes: > On 10/03/2019 11:19, Nicolas Goaziou wrote: >> When in doubt, use the function ~org-link-escape~ in order to turn >> a link string into its properly escaped form. >> >> The old ~org-link-escape~ and ~org-link-unescape~ functions have >> been

Re: [O] [ANN] Changes to link syntax

2019-03-10 Thread Daniele Nicolodi
On 10/03/2019 11:19, Nicolas Goaziou wrote: > When in doubt, use the function ~org-link-escape~ in order to turn > a link string into its properly escaped form. > > The old ~org-link-escape~ and ~org-link-unescape~ functions have > been renamed into ~org-link-encode~ and

Re: [O] [ANN] Changes to link syntax

2019-03-10 Thread Amin Bandali
On 2019-03-10 1:02 PM, Samuel Wales wrote: > the org capture firefox extensions, and similar extensions, or > org-protocol, might need changing. > > [...] Also seems like there are a couple more internal Org functions that need changing: when opening a new empty org file using latest Org

Re: [O] [ANN] Changes to link syntax

2019-03-10 Thread Samuel Wales
the org capture firefox extensions, and similar extensions, or org-protocol, might need changing. On 3/10/19, Nicolas Goaziou wrote: > Hello, > > I finally pushed changed about escape syntax in bracket links. Here is > the excerpt from ORG-NEWS: > > Org used to percent-encode sensitive