[-- Attachment #1: Type: text/plain, Size: 571 bytes --] Hi I updated to the new version of ORG, and a problem arose (although a hidden bless too): - now when I open a link to a folder, Dired is launched. This behaviour is different, before the update these links where open in an external window of Windows OS. Even when I use attach and choose to open in external program, Dired is used as default. Is it possible to open links to folders out of emacs? - The bless is that I didn't know Dired, absolutely, and now I found some features quite attractive, like finding files in a folder just writing their name. Best regards [-- Attachment #2: Type: text/html, Size: 948 bytes --]
> Is it possible to open links to folders out of emacs? Take a look at `org-file-apps' variable. You can remove (directory . emacs) part of it to return using default system app. Best, Ihor Ypo <ypuntot@gmail.com> writes: > Hi > > I updated to the new version of ORG, and a problem arose (although a hidden bless too): > - now when I open a link to a folder, Dired is launched. This behaviour is different, before the update these links where open in an external window of Windows OS. Even when I use attach and choose to open in external program, Dired is used as default. > Is it possible to open links to folders out of emacs? > > - The bless is that I didn't know Dired, absolutely, and now I found some features quite attractive, like finding files in a folder just writing their name. > > Best regards
Thanks. It seems the problem is that "file:" links have changed their behaviour. They must be replaced by "file+sys:" links. In this way, folders are open in Windows OS.
BTW: I've tried to use M-% to make the change, but it doesn't seem to work, probably because there links have a [[][description]] that occurs them.
Sep 19, 2020 06:48:55 Ihor Radchenko <yantar92@gmail.com>:
>> Is it possible to open links to folders out of emacs?
>
> Take a look at `org-file-apps' variable. You can remove
> (directory . emacs) part of it to return using default system app.
>
> Best,
> Ihor
>
> Ypo <ypuntot@gmail.com> writes:
>
>> Hi
>>
>> I updated to the new version of ORG, and a problem arose (although a hidden bless too):
>> - now when I open a link to a folder, Dired is launched. This behaviour is different, before the update these links where open in an external window of Windows OS. Even when I use attach and choose to open in external program, Dired is used as default.
>> Is it possible to open links to folders out of emacs?
>>
>> - The bless is that I didn't know Dired, absolutely, and now I found some features quite attractive, like finding files in a folder just writing their name.
>>
>> Best regards
>
> BTW: I've tried to use M-% to make the change, but it doesn't seem to work, probably because there links have a [[][description]] that occurs them. AFAIK M-% does not search invisible text. When link has a description in org, the link itself is hidden. You can set `search-invisible' to t to make M-% replace invisible text or, alternatively, you can use non-interactive functions (re-search-forward + replace-match). Ypo <ypuntot@gmail.com> writes: > Thanks. It seems the problem is that "file:" links have changed their behaviour. They must be replaced by "file+sys:" links. In this way, folders are open in Windows OS. > > BTW: I've tried to use M-% to make the change, but it doesn't seem to work, probably because there links have a [[][description]] that occurs them. > > Sep 19, 2020 06:48:55 Ihor Radchenko <yantar92@gmail.com>: > >>> Is it possible to open links to folders out of emacs? >> >> Take a look at `org-file-apps' variable. You can remove >> (directory . emacs) part of it to return using default system app. >> >> Best, >> Ihor >> >> Ypo <ypuntot@gmail.com> writes: >> >>> Hi >>> >>> I updated to the new version of ORG, and a problem arose (although a hidden bless too): >>> - now when I open a link to a folder, Dired is launched. This behaviour is different, before the update these links where open in an external window of Windows OS. Even when I use attach and choose to open in external program, Dired is used as default. >>> Is it possible to open links to folders out of emacs? >>> >>> - The bless is that I didn't know Dired, absolutely, and now I found some features quite attractive, like finding files in a folder just writing their name. >>> >>> Best regards >>
[-- Attachment #1: Type: text/plain, Size: 1836 bytes --] (setq search-invisible t) Working. Thanks! :-) El 21/09/2020 a las 10:17, Ihor Radchenko escribió: >> BTW: I've tried to use M-% to make the change, but it doesn't seem to work, probably because there links have a [[][description]] that occurs them. > AFAIK M-% does not search invisible text. When link has a description in > org, the link itself is hidden. You can set `search-invisible' to t to > make M-% replace invisible text or, alternatively, you can use > non-interactive functions (re-search-forward + replace-match). > > > Ypo <ypuntot@gmail.com> writes: > >> Thanks. It seems the problem is that "file:" links have changed their behaviour. They must be replaced by "file+sys:" links. In this way, folders are open in Windows OS. >> >> BTW: I've tried to use M-% to make the change, but it doesn't seem to work, probably because there links have a [[][description]] that occurs them. >> >> Sep 19, 2020 06:48:55 Ihor Radchenko <yantar92@gmail.com>: >> >>>> Is it possible to open links to folders out of emacs? >>> Take a look at `org-file-apps' variable. You can remove >>> (directory . emacs) part of it to return using default system app. >>> >>> Best, >>> Ihor >>> >>> Ypo <ypuntot@gmail.com> writes: >>> >>>> Hi >>>> >>>> I updated to the new version of ORG, and a problem arose (although a hidden bless too): >>>> - now when I open a link to a folder, Dired is launched. This behaviour is different, before the update these links where open in an external window of Windows OS. Even when I use attach and choose to open in external program, Dired is used as default. >>>> Is it possible to open links to folders out of emacs? >>>> >>>> - The bless is that I didn't know Dired, absolutely, and now I found some features quite attractive, like finding files in a folder just writing their name. >>>> >>>> Best regards [-- Attachment #2: Type: text/html, Size: 2948 bytes --]
Hello,
Ypo <ypuntot@gmail.com> writes:
> Thanks. It seems the problem is that "file:" links have changed their
> behaviour. They must be replaced by "file+sys:" links. In this way,
> folders are open in Windows OS.
file+sys: links are deprecated, tho.
I suggest to not use them.
Regards,
--
Nicolas Goaziou
Thanks, Nicolas
Then could it be a bug? Before the update file: links to a folder opened it out of emacs. Now it doesn't, even using "attach"'s option which offers to open links out of emacs.
Sep 21, 2020 21:08:44 Nicolas Goaziou <mail@nicolasgoaziou.fr>:
> Hello,
>
> Ypo <ypuntot@gmail.com> writes:
>
>> Thanks. It seems the problem is that "file:" links have changed their
>> behaviour. They must be replaced by "file+sys:" links. In this way,
>> folders are open in Windows OS.
>
> file+sys: links are deprecated, tho.
>
> I suggest to not use them.
>
> Regards,
> --
> Nicolas Goaziou
>
Ypo writes:
> Then could it be a bug? Before the update file: links to a folder
> opened it out of emacs. Now it doesn't, even using "attach"'s option
> which offers to open links out of emacs.
Which attach option is that?
Did you follow Ihor's suggestion of removing (directory . emacs) from
org-file-apps? That entry was added to org-file-apps in v9.4 and should
explain the change in behavior you're seeing. If that's the case,
removing it should restore the old behavior. If that doesn't work, you
can try adding (directory . system) to org-file-apps.