From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#33414: 27.0.50; inhibit-changing-match-data can be t in syntax-propertize functions, breaking backtrace and looking-at Date: Sat, 17 Nov 2018 14:14:04 +0000 Message-ID: References: <83lg5ru88i.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1542463986 10751 195.159.176.226 (17 Nov 2018 14:13:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2018 14:13:06 +0000 (UTC) Cc: 33414@debbugs.gnu.org To: eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 17 15:13:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gO1LK-0002cp-BK for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2018 15:13:02 +0100 Original-Received: from localhost ([::1]:49490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gO1NQ-0006BM-My for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2018 09:15:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gO1NJ-00068l-LI for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2018 09:15:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gO1NG-0007HX-EI for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2018 09:15:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52900) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gO1NG-0007GV-9T for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2018 09:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gO1NF-0002C7-T6 for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2018 09:15:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Nov 2018 14:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33414 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33414-submit@debbugs.gnu.org id=B33414.15424640898402 (code B ref 33414); Sat, 17 Nov 2018 14:15:01 +0000 Original-Received: (at 33414) by debbugs.gnu.org; 17 Nov 2018 14:14:49 +0000 Original-Received: from localhost ([127.0.0.1]:57157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gO1N3-0002BR-5c for submit@debbugs.gnu.org; Sat, 17 Nov 2018 09:14:49 -0500 Original-Received: from mail-lj1-f179.google.com ([209.85.208.179]:46579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gO1N2-0002BF-20 for 33414@debbugs.gnu.org; Sat, 17 Nov 2018 09:14:48 -0500 Original-Received: by mail-lj1-f179.google.com with SMTP id v15-v6so22704014ljh.13 for <33414@debbugs.gnu.org>; Sat, 17 Nov 2018 06:14:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sM0BB+ZG4DWHi8Ut1CzSg4mmUQOvB6a+4XPF+QuSwEE=; b=SvJKLY9rf0Oc2J3y2IfiwsQGZfZ9V8spKGCm53x72eRjiz0RmFfXF1Sgr9i6VZf3Tx eE16AXq5m/c8X0501hGJDWLbnkGVSiFkklw0fv9KXOSWMcanzO5mfubzojFmCmijwQig He7yQ28nqC7/mNbffniJGaXaZwC0k0Btk7xTD9cJANCSS8jkQ64e/JArC19OjgYgUW3R itCMZ0GVyV8sk2/U4CEjTgORD8wE0GFiIBu0zVPg3+Tz2oDPTomuON26gzbtt33LEpEv MoT6LMMWlV6ycOCsOc/MddAWgsAjG5pNt7QM8tJR+J0yaNEd08Ngk2jDMOyI/027o3lb 6XRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sM0BB+ZG4DWHi8Ut1CzSg4mmUQOvB6a+4XPF+QuSwEE=; b=l/xwgS8PPzWUSy3ROxOV+R2UkX/jrPK2FAyAKwJBrHFDogDpfvLwjxOchw4Quxp5OI vb3SbSJJUER9FzzWqTyYoGTVJ2B16Z0bI3CfeC0flG68RRCoHMmzoR1EdaqS2owL5m/9 0JJo48MZq/TpyjopnKTL/7L5m+MSWjY6lDX/TMbeNFBmw714mNvDtDTBqr1mWRZHdlUJ zWI6AfRMqE54UWns3RzKdgoG/he6ZtjcSIB+f9Ppwn0LCkTqTiCIVrEV38bxz/q4FRQw KERbbd+EuojiyeOpJ+JnhFRuA+O+l7MNe6o0Tdb8D37XdHPKZnYiGpqCd+cyxyWLvVu9 Di4w== X-Gm-Message-State: AGRZ1gJLGBCnMQLrxiLWwBFaH6hq1uBXkhVIR5ieHYQBUusz8Z5HU35c fAhuj0ijfFbZ8FkRz+8pkjPJOKxHktx/BGnOEWQ= X-Google-Smtp-Source: AJdET5cRIbAyeoRWYUMhNjMEW/rZ57FHh+aAN/H8QYVf555zrZX8Umo2Gjvx5n3JpAUEJ9x8a1L7mMgsh2l7EQmQdgc= X-Received: by 2002:a2e:2b85:: with SMTP id r5-v6mr8010445ljr.91.1542464081963; Sat, 17 Nov 2018 06:14:41 -0800 (PST) In-Reply-To: <83lg5ru88i.fsf@gnu.org> 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:152472 Archived-At: On Sat, Nov 17, 2018 at 1:47 PM Eli Zaretskii wrote: > > > From: Pip Cet > > Date: Sat, 17 Nov 2018 13:30:04 +0000 > > > > This was a bit tricky to debug because (backtrace) doesn't work when > > inhibit-changing-match-data is t. (In emacs -Q, enter > > > > (let ((inhibit-changing-match-data t)) (backtrace)) > > > > into the *scratch* buffer and evaluate with C-M-x.) > > This works on the release branch, so I think it's a regression that > needs to be fixed. If I'm testing correctly, (let ((inhibit-changing-match-data t)) (debug)) fails on both branches, which is also bad; I think that means the issue is present in some form on both branches. Maybe `save-match-data' should save/restore `inhibit-changing-match-data' along with the actual match data?