[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-capture: Capture template ‘g’: Match data clobbered by buffer mo
From: |
Alex Bennée |
Subject: |
Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks |
Date: |
Fri, 15 Jul 2016 22:56:15 +0100 |
User-agent: |
mu4e 0.9.17; emacs 25.0.95.10 |
Noam Postavsky <address@hidden> writes:
> On Fri, Jul 15, 2016 at 3:12 PM, Alex Bennée <address@hidden> wrote:
>>
>> Eli Zaretskii <address@hidden> writes:
>>
>>>> From: Alex Bennée <address@hidden>
>>>> Cc: Eli Zaretskii <address@hidden>
>>>> Date: Fri, 15 Jul 2016 17:39:48 +0100
>>>>
>>>> This seems to have been introduced by commit:
>>>>
>>>> 3a9d6296b35e5317c497674d5725eb52699bd3b8
>
>> Wrapping the org-capture with save-match-data or even just clearing it:
>>
>> (defun my-org-maybe-capture-review-tag ()
>> "Check buffer for DCO tags and if found queue a review comment."
>> (interactive)
>> (let ((tags (my-capture-review-tags)))
>> (when tags
>> (kill-new (mapconcat 'identity tags "\n"))
>> (set-match-data nil)
>> (org-capture nil "g"))))
>>
>> Had no effect. I'm guessing this must be something happening in org-mode
>> then....
>
> See Bug #23917 "commit 3a9d6296b35e5317c497674d5725eb52699bd3b8
> causing org-capture to error out"
OK thanks, will watch the bug and see if I can diagnose.
--
Alex Bennée
- org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks, Alex Bennée, 2016/07/15
- Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks, Eli Zaretskii, 2016/07/15
- Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks, Alex Bennée, 2016/07/15
- Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks, Noam Postavsky, 2016/07/15
- Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks,
Alex Bennée <=
- Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks), N. Jackson, 2016/07/16
- Re: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks), Eli Zaretskii, 2016/07/16
- Re: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks), John Wiegley, 2016/07/16
- Re: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks), Alex Bennée, 2016/07/17
- Re: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks), Eli Zaretskii, 2016/07/17