Hi Bastien. > - (while (string-match "\\<\\([a-zA-Z]+\\)\\([0-9]+\\>\\|&\\)\\|\\(;[^\r\n:]+\\|\\<remote([^)]*)\\)" s start) > + (while (string-match "\\<\\([a-zA-Z]+\\)\\([0-9]+\\>\\|&\\)\\|\\(;[^\r\n:]+\\|\\<remote([^,]*[ \t]*\\|)\\)" s start) I fail to see the meaning of ([^,]*[ \t]*\\|) replacing ([^)]*) The \\| is wrong, right?
Yep, you can remove the \\|. I think I need an example with such a remote reference, the way org-table-convert-refs-to-rc would have converted it, and the way it does with your patch. Real example from a formula in a table of mine: B3=(B2*remote(Factors,F10))/remote(Factors,G10) The old org-table-convert-refs-to-rc would have converted it to: "@3$2=(@2$2*remote(Factors,F10))/remote(Factors,G10)" The new version to: "@3$2=(@2$2*remote(Factors,@10$6))/remote(Factors,@10$7)" i.e. the old version was not converting the A0 coordinates to rc coordinates. -- Jose E. Marchesi http://www.jemarch.net GNU Project http://www.gnu.org