From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#23917: 25.0.95; commit 3a9d6296b35e5317c497674d5725eb52699bd3b8 causing org-capture to error out Date: Fri, 08 Jul 2016 14:42:02 +0200 Message-ID: <8760sgnvxh.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467981809 13563 80.91.229.3 (8 Jul 2016 12:43:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2016 12:43:29 +0000 (UTC) To: 23917@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 08 14:43:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bLV7m-0007Av-A6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jul 2016 14:43:18 +0200 Original-Received: from localhost ([::1]:45477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLV7l-0007lA-H8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jul 2016 08:43:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLV7a-0007l4-Tq for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2016 08:43:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLV7W-0005Or-L4 for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2016 08:43:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLV7W-0005On-IU for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2016 08:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bLV7W-0007O4-Dl for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2016 08:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Jul 2016 12:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23917 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146798174128346 (code B ref -1); Fri, 08 Jul 2016 12:43:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Jul 2016 12:42:21 +0000 Original-Received: from localhost ([127.0.0.1]:41841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLV6r-0007N8-Ck for submit@debbugs.gnu.org; Fri, 08 Jul 2016 08:42:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLV6p-0007Mv-Hy for submit@debbugs.gnu.org; Fri, 08 Jul 2016 08:42:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLV6j-0005He-Ed for submit@debbugs.gnu.org; Fri, 08 Jul 2016 08:42:14 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLV6j-0005HL-Ba for submit@debbugs.gnu.org; Fri, 08 Jul 2016 08:42:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLV6h-0007aB-8z for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2016 08:42:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLV6d-0005GD-12 for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2016 08:42:10 -0400 Original-Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:33279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLV6c-0005G0-Qk for bug-gnu-emacs@gnu.org; Fri, 08 Jul 2016 08:42:06 -0400 Original-Received: by mail-wm0-x241.google.com with SMTP id n127so6528627wme.0 for ; Fri, 08 Jul 2016 05:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version; bh=knSB1tA9SGEihqgTE8rHR5+QAlFuyiZWH+mvFMXqq8s=; b=anxQZdNRFUVbfVsHUXFfuCEg5WZ4H9AMT6OsZbPhrsyWIpokdI6BfrT6xgK08DovVt rURg/1+eMm/3gAMXl18l8GUEB1g8wWWOn4PrUfeAJKQTeCfSdUxhc1+fHa6WMi5tbwCp 7gNiVx68dLUcwbQpd+XKgjXEXpUpSzQtK6u0sznYPKzhy67JYZgfTia4N8DWFEsBACSL RUjj0i0M0G3Ygjs3zkWTzz8LZNlPfDlKjobd453yW26bzg86mbZf745wDqux9kFLicGK 3Sn70PSPIMNd2ks0kuQ5xAJ4CD0lpxiDR4nEmrgRVHlptgeUHoe1WaaYc/CUMbjccdtk HmZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=knSB1tA9SGEihqgTE8rHR5+QAlFuyiZWH+mvFMXqq8s=; b=PBgnoevlvuXiZelu5ewfi1p/5TagWztLG7A4wKvaXDTVs6H2vpRmECytKPsS3wEZFd dSqIOoQMnZm7eYCRYm6f+lnPq5joNgx7gfJFIWycc5QQPAhLHiH14Z6Yb2IbZPqNY5XW RpZWf+sr7iK83jY85dpCtRsbbZf4JVNWLhdNEgN2gpU/JV81kMTTvfULfdx4jQrYVFn5 OowfVipG3KmOg0+rBtT1adnTq1b5A0iIse2lUdeFW0KHu/Qh4HxpBgyKrYbwGWIkZC3t FCWeSs5Km+WKpU7W7RmwssfHidIlHJ0Jwf6CLz6dEnbOqJBRnqNivColgd18LLMYic5i 5ByA== X-Gm-Message-State: ALyK8tIcls+B+aEg0tfKfQP4eSVMnW+7Sk3bBkX56UGBHt/5yj41IMmHwzaVV4mxxtOGMw== X-Received: by 10.28.163.70 with SMTP id m67mr3202787wme.38.1467981725358; Fri, 08 Jul 2016 05:42:05 -0700 (PDT) Original-Received: from rpluim-XPS-15-9530 ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id r130sm2869536wmf.20.2016.07.08.05.42.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jul 2016 05:42:04 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120623 Archived-At: (this is with org-20160704 from elpa. The org version ("8.2.10") in emacs-25 does not exhibit this error) This is from emacs -Q, with a subsequent changing of load-paths to point at the elpa org. Reverting the commit mentioned above makes the error go away. In gdb: Breakpoint 3, Freplace_match (newtext=8699012, fixedcase=, literal=0, string=, subexp=) at search.c:2710 2710 error ("Match data clobbered by buffer modification hooks"); (gdb) xbacktrace "replace-match" (0xffffc680) "org-capture-empty-lines-after" (0xffffc850) "org-capture-place-entry" (0xffffca30) "org-capture-place-template" (0xffffcc10) "org-capture" (0xffffcf20) "funcall-interactively" (0xffffcf18) "call-interactively" (0xffffd180) "command-execute" (0xffffd328) "execute-extended-command" (0xffffd580) "funcall-interactively" (0xffffd578) "call-interactively" (0xffffd820) "command-execute" (0xffffd998) Based on the discussion in Bug#23869, there's a hook somewhere that needs to do save-match-data, but I have no idea how to figure out which one.