Re: [O] regexp link on windows problem

2011-03-20 Thread David Maus
At Fri, 11 Mar 2011 13:41:45 + (UTC), Rafal wrote: Bastien bzg at altern.org writes: Hi Bastien, Can you give an example? So I'm trying to write a custom function to set regexp search string for c/c++ code by writing org-create-file-search-functions hook. (code #1 below ) After

Re: [O] regexp link on windows problem

2011-03-11 Thread Bastien
Hi Rafal, Rafal Florek r...@irmak.com.pl writes: The `org-insert-link' function destroys my regexp by changing all backslashes to slashes. Can you give an example? (I construct the regexp like this: (concat token1 [ \\t]* token2)) It happens only under windows, under linux it is ok. The

Re: [O] regexp link on windows problem

2011-03-11 Thread Rafal
Bastien bzg at altern.org writes: Hi Bastien, Can you give an example? So I'm trying to write a custom function to set regexp search string for c/c++ code by writing org-create-file-search-functions hook. (code #1 below ) After using the hook by issuing org-store-link in c/c++ buffer, and

[O] regexp link on windows problem

2011-03-08 Thread Rafal Florek
Hello, While writing custom function to set regexp search string for c/c++ code I stumbled upon a backslash to slash translation problem. The `org-insert-link' function destroys my regexp by changing all backslashes to slashes. (I construct the regexp like this: (concat token1 [ \\t]*