Re: Using search options in HTTP-style links

2024-06-08 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >>> You probably meant to link to some different ticket here. >> >> https://todo.sr.ht/~ushin/ushin/188 > > So, you want an equivalent of `org-safe-remote-resources'. For now, we've added a command `hyperdrive-mark-as-safe`, which causes automati

Re: Using search options in HTTP-style links

2024-05-18 Thread Ihor Radchenko
Joseph Turner writes: >> You probably meant to link to some different ticket here. > > https://todo.sr.ht/~ushin/ushin/188 So, you want an equivalent of `org-safe-remote-resources'. Generally, we might eventually move it to Emacs core, making a more general Emacs safety framework with unified p

Re: Using search options in HTTP-style links

2024-05-18 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >>> The case with hyperdrive.el is not the same. >>> You may want to discuss it on emacs-devel. >> >> Thank you! It is a good idea to get more input on securing >> hyperdrive.el. For now, I went through bug#58744 and took some notes in >> two re

Re: Using search options in HTTP-style links

2024-05-18 Thread Ihor Radchenko
Joseph Turner writes: >> The case with hyperdrive.el is not the same. >> You may want to discuss it on emacs-devel. > > Thank you! It is a good idea to get more input on securing > hyperdrive.el. For now, I went through bug#58744 and took some notes in > two relevant hyperdrive.el issues: > > -

Re: Using search options in HTTP-style links

2024-05-15 Thread Joseph Turner
Ihor Radchenko writes: > I was mostly talking about commands like eww - I simply recall a similar > proposal being made about activating Org mode when the URL points to Org > file. That proposal has been rejected on the grounds of security. See > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=5877

Re: Using search options in HTTP-style links

2024-04-22 Thread Ihor Radchenko
Joseph Turner writes: >> So, there is nothing stopping from creating an ad-hoc convention to >> parse URL locators in links to PDFs or org files or whatnot. > > I'll need to dig a little more to see what changes would need to be made > in order for org-store-link to store properly formatted searc

Re: Using search options in HTTP-style links

2024-04-17 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >> ... >> (eww "https://ushin.org/needs-list.org#%3A%3A%23care";) >> >> ...loads the file in eww-mode with point at the top of the file. >> >> I think it would be more useful to instead activate org-mode (or a mode >> which derives from it - "eww-

Re: Using search options in HTTP-style links

2024-04-15 Thread Ihor Radchenko
Joseph Turner writes: > ... > (eww "https://ushin.org/needs-list.org#%3A%3A%23care";) > > ...loads the file in eww-mode with point at the top of the file. > > I think it would be more useful to instead activate org-mode (or a mode > which derives from it - "eww-org-mode"?), decode the link fragme