GNU bug report logs -
#23917
25.0.95; commit 3a9d6296b35e5317c497674d5725eb52699bd3b8 causing org-capture to error out
Previous Next
Reported by: Robert Pluim <rpluim <at> gmail.com>
Date: Fri, 8 Jul 2016 12:43:02 UTC
Severity: normal
Tags: fixed
Found in version 25.0.95
Fixed in version 25.1
Done: npostavs <at> users.sourceforge.net
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
nljlistbox2 <at> gmail.com (N. Jackson) writes:
> At 21:09 +0300 on Monday 2016-07-18, Eli Zaretskii wrote:
>
>> diff --git a/lisp/subr.el b/lisp/subr.el
>> index e9e19d3..1bb1cb3 100644
>> --- a/lisp/subr.el
>> +++ b/lisp/subr.el
>> @@ -3466,7 +3466,7 @@ save-match-data
>> ;; if you need to recompile all the Lisp files using interpreted code.
>> (declare (indent 0) (debug t))
>> (list 'let
>> - '((save-match-data-internal (match-data)))
>> + '((save-match-data-internal (match-data 'integers)))
>> (list 'unwind-protect
>> (cons 'progn body)
>> ;; It is safe to free (evaporate) markers immediately here,
>
> FWIW on my system applying this patch does not resolve the org-capture
> issue. I'm testing with org-20160718 from GNU Elpa and latest Emacs 25
> branch from the git (Repository revision: 4157159a37b43712440da91a45a6d5f71eb96e8a).
>
> With these versions of Org and Emacs and your patch applied, with a
> recipe similar to that posted by Robert Pluim on 2016-07-18,
> specifically
>
> src/emacs -Q
>
> M-: (custom-set-variables '(package-selected-packages (quote (org-20160718)))) RET
> M-x package-initialize RET
>
> C-x C-f ; find file.
> C-S-backspace ; kill-whole-line.
> ~/.notes RET ; Open the file expected by default capture template.
> M-x org-mode RET ; put the buffer into Org Mode.
> M-x org-capture RET t ; Run the default "Task" capture template bound to the t key.
>
> I get the error:
>
> org-capture: Capture template âtâ: Match data clobbered by buffer modification hooks
save-match-data is a macro. Did you recompile org with the modified
emacs?
That patch works for me when using that version of org uncompiled.
Regards
Robert
This bug report was last modified 8 years and 303 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.