I fixed my lisp. Just to archive the solution, here's my new defun:
(defun regex-replace (regex string)
(point-to-register 'rrr)
(goto-char (point-min))
(while (re-search-forward regex nil t)
(replace-match string))
(jump-to-register 'rrr))
On 2010-10-03 23:01, Indraneel Majumdar w
Thanks Matt and Suvayu,
I messed up with my lisp and that was causing the error. So now I have
another problem, how to fix the lisp code...
I'm using a org export hook to make all targets invisible by a regex
replace. This is probably messing up the selection, so what do I do to
not lose th
Indraneel Majumdar writes:
> On 2010-10-03 20:57, suvayu ali wrote:
>> On 3 October 2010 06:31, Indraneel Majumdar wrote:
>>> Hi,
>>>
>>> I'm running into a problem with latex export. I have several essays under a
>>> top level heading "Essays". How can I export say only one essay without the