From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Pluim Subject: bug#23917: 25.0.95; commit 3a9d6296b35e5317c497674d5725eb52699bd3b8 causing org-capture to error out Date: Thu, 21 Jul 2016 10:08:33 +0200 Message-ID: <87poq7xvjy.fsf__9870.61410346559$1469088678$gmane$org@gmail.com> References: <87vb066ejv.fsf@linaro.org> <8360s67qcp.fsf@gnu.org> <87bn1yyaui.fsf@linaro.org> <87mvlhmv0x.fsf_-_@moondust.awandering> <837fcl5zs9.fsf@gnu.org> <87a8hgkwcb.fsf@linaro.org> <8360s42mcb.fsf@gnu.org> <87eg6rgmlg.fsf@gmail.com> <83lh0y24y6.fsf@gnu.org> <87h9bj2zsl.fsf_-_@moondust.awandering> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQ92Y-0001UD-In for emacs-orgmode@gnu.org; Thu, 21 Jul 2016 04:09:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQ92U-0004yW-94 for emacs-orgmode@gnu.org; Thu, 21 Jul 2016 04:09:06 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87h9bj2zsl.fsf_-_@moondust.awandering> (N. Jackson's message of "Thu, 21 Jul 2016 04:52:42 -0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "N. Jackson" Cc: 23917@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier nljlistbox2@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: 4157159a37b43712440da91a45a6d5f= 71eb96e8a). > > 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-20160= 718)))) 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 t= o the t key. > > I get the error:=20 > > org-capture: Capture template =E2=80=98t=E2=80=99: 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