Hi Nick, thanks for the reply.
> Here's the backtrace (debug-on-error set to t):Thanks for that! I sent mail requesting the same just a second
>
before I got your mail, so I was wondering if the speed of light limit
had been violated, but I guess not :-)
Looks like the calculation of descre in org-refile-get-location is
wrong:
,----
| (setq descre (concat "^\\*\\{1," (number-to-string
| (if org-odd-levels-only
| (1- (* 2 (cdr desc)))
| (cdr desc)))
| "\\}[ \t]")))
`----
The subexpression gives 0 and re-search-forward does not like things
like "^\\*\\{1,0\\}[ ]". But why that is is not clear to me: it depends
on what (cdr desc) is (presumably 0 in order to get the result you get -
and org-odd-levels-only is false, correct?). In turn, that comes from
org-refile-targets. Have you customized org-refile-targets by any
chance? If so, please send the value.
Nick