Re: [O] Escaping links

2017-08-19 Thread Nicolas Goaziou
Hello, Fabrice Popineau writes: > You could also prefix the link by a string holding (in ascii) the number of > bytes of the unencoded link. > > But that makes raw/manual editing of an org file much harder. I'd rather have something simple. Here are some

Re: [O] Escaping links

2017-08-14 Thread Fabrice Popineau
You could also prefix the link by a string holding (in ascii) the number of bytes of the unencoded link. But that makes raw/manual editing of an org file much harder. 2017-08-14 18:26 GMT+02:00 Neil Jerram : > Except if your original string was "%org-9.0"... > > For

Re: [O] Escaping links

2017-08-14 Thread Neil Jerram
Except if your original string was "%org-9.0"... For this kind of approach to work, you generally need to prefix everything; specifically included the cases that are _not_ encoded. Regards - Neil On 12/08/17 16:01, John Kitchin wrote: I was thinking of something like how all PDF files

Re: [O] Escaping links

2017-08-12 Thread John Kitchin
I was thinking of something like how all PDF files start with something like %PDF-1.3. So any string that started with %org-9.0, for example would be certain to be encoded, whereas any other beginning would not be certain. Nicolas Goaziou writes: > Hello, > > John Kitchin

Re: [O] Escaping links

2017-08-12 Thread Nicolas Goaziou
Hello, John Kitchin writes: > Could you put some magic at the beginning of the string that indicates it > is encoded? I don't know. Could you elaborate a bit? Regards, -- Nicolas Goaziou0x80A93738

Re: [O] Escaping links

2017-08-11 Thread Fabrice Popineau
2017-08-11 19:31 GMT+02:00 John Kitchin : > Could you put some magic at the beginning of the string that indicates it > is encoded? > > For my own needs, yes I could probably define a handler for my special kind of abbreviations. I have a too small number of such files,

Re: [O] Escaping links

2017-08-11 Thread John Kitchin
Could you put some magic at the beginning of the string that indicates it is encoded? On Fri, Aug 11, 2017 at 8:15 AM Nicolas Goaziou wrote: > Hello, > > Fabrice Popineau writes: > > > Are links to a file whose name already holds

Re: [O] Escaping links

2017-08-11 Thread Nicolas Goaziou
Hello, Fabrice Popineau writes: > Are links to a file whose name already holds (url-)escaped chars supported? > > If I have a directory named "c:/temp/foo bar/" > and files in this directory named > foo.txt > foo bar.txt > foo%2Fbar.txt > > I can create links in an

[O] Escaping links

2017-08-11 Thread Fabrice Popineau
Hi, Are links to a file whose name already holds (url-)escaped chars supported? If I have a directory named "c:/temp/foo bar/" and files in this directory named foo.txt foo bar.txt foo%2Fbar.txt I can create links in an Org buffer by using `insert' but I find the situation a bit confusing.

[O] Escaping links while doing an org-publish to html

2012-05-25 Thread c b
Hi, I have been using org-mode for a year now and love it. I just started experimenting with org-publish and am trying to use org-mode with octopress as described here http://jaderholm.com/blog/blogging-with-org-mode-and-octopress When I export an org file using org-publish, I want to

Re: [O] Escaping links while doing an org-publish to html

2012-05-25 Thread Bastien
Hi c (?), c b 24x7x...@gmail.com writes: Is there a way to do prevent org-mode from setting up A-links or IMG-links? Not with the current HTML exporter (perhaps Nicolas as a solution for the next HTML exporter.) But you can use `org-export-html-final-hook' to postprocess the exported