From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#11982: 24.1.50; (Contains ERT Test) show-paren-mode doesn't work in C comments if there's a quote between the parenthesis (affects c-mode and modes derived from it) Date: Thu, 22 Aug 2019 11:48:48 -0400 Message-ID: <85ef1djj4v.fsf@gmail.com> References: <87d33sn7u6.fsf@sapo.pt> <20190822134501.GA8100@cventin.lip.ens-lyon.fr> <85h869jl5r.fsf@gmail.com> <20190822152020.GE1999@cventin.lip.ens-lyon.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="223005"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) Cc: 11982@debbugs.gnu.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 22 17:49:19 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i0pKw-000vvJ-Kp for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Aug 2019 17:49:18 +0200 Original-Received: from localhost ([::1]:44660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0pKv-00070R-2K for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Aug 2019 11:49:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55269) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0pKh-000705-EI for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2019 11:49:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i0pKg-0008WE-7w for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2019 11:49:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57609) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i0pKf-0008Vv-UA for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2019 11:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i0pKf-0006Cb-Qm for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2019 11:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Aug 2019 15:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11982 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed fixed Original-Received: via spool by 11982-submit@debbugs.gnu.org id=B11982.156648893823829 (code B ref 11982); Thu, 22 Aug 2019 15:49:01 +0000 Original-Received: (at 11982) by debbugs.gnu.org; 22 Aug 2019 15:48:58 +0000 Original-Received: from localhost ([127.0.0.1]:38197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0pKc-0006CC-0c for submit@debbugs.gnu.org; Thu, 22 Aug 2019 11:48:58 -0400 Original-Received: from mail-io1-f46.google.com ([209.85.166.46]:47075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0pKa-0006Bu-1r; Thu, 22 Aug 2019 11:48:56 -0400 Original-Received: by mail-io1-f46.google.com with SMTP id x4so12703157iog.13; Thu, 22 Aug 2019 08:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=X5epjZAHNE1f+u911mXgVVDiA/VX9FFIXtx7mjT5zdg=; b=DCgQUO9nMZzdq/aelSKb1MkLjjAGMx/Q5qB1sYsrWmbKSJi9iMx5fp/4MXwGDRAsTK CXxPaoS9J03G3ymbNF7G9YR+6u/uyHJERNzOBYH6EuvOZlIxYiE9Fpnq4J3Li6mMnNVh xv64q6Cy7wIOzN+IFwLeem2hJHAmC78ITbkEtDpu/2NUc2UBLQrC/8Ef6P5IbupkHY0z ziF1W/qO439ZU2SeYntQXzO9Tcnr3VxwBM78fJHDgTB4Iqc6/gG9sgxVoovuauJG89bk HxzggSV0hOi0VC/4DG9Qvfo1OfRuB1+FJurZtfAi+pCIjUOXMxmFc3xAxyq82SEBy0Sb M6sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=X5epjZAHNE1f+u911mXgVVDiA/VX9FFIXtx7mjT5zdg=; b=DH+W1Xj+WkUOyqPamTjxr4u2p5dQznalDheh6RYVJ7r1E9sHkcugCWGkveD35wMPnP q4VpbJx1FrfP3m8sVPiI6qnUmGODMx5LFCNhO5p5Q0rYVK6rbLBcPZJWvIR+CfIK/v0B RjS62IgUo8PzIXpnknMlw+dBH4LTOhmfIuKh70dLR8dRmqd8MyRjzD6lzZQJXwgP4zpG O0UKlJX8oiXvZZtSlhlwYiZ6SAgPzLb2HdEMfUPuSf+YwHV21j/i61ZC+uqZqlZfPo2a 3ZgDpneunHSBDNN/oP6OwngjW5fvbvqY8x2DI8JsTnjsIET+A7zrfOTJDXjQI7bQ2aUG t72w== X-Gm-Message-State: APjAAAVjCQCJala/9a43XQjKI9SD9z4KcyeYGZ3wRJxlsiG5nTTaCZJA B4CUmzR/i5sEMZ+NojyDlzWA8cSE X-Google-Smtp-Source: APXvYqy9gYZLVm/bWdOG9L7BNzcbCnjjBE/IKy1zP7rzrFxnSV8kSlFSV8/y4dN2YotiG/dQVm1K9w== X-Received: by 2002:a02:85c7:: with SMTP id d65mr143452jai.8.1566488930234; Thu, 22 Aug 2019 08:48:50 -0700 (PDT) Original-Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id n22sm20274092iob.37.2019.08.22.08.48.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Aug 2019 08:48:49 -0700 (PDT) In-Reply-To: <20190822152020.GE1999@cventin.lip.ens-lyon.fr> (Vincent Lefevre's message of "Thu, 22 Aug 2019 17:20:20 +0200") 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: 209.51.188.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:165595 Archived-At: fixed 11982 27.1 notfixed 11982 26.1 quit Vincent Lefevre writes: > On 2019-08-22 11:05:04 -0400, Noam Postavsky wrote: >> I can reproduce up to 25.3, but it seems to be fixed in 26.1. > > No, not fixed in 26.1, where this depends on some context. > This is rather random, but here's a way to reproduce the > bug in Debian: > > 1. emacs-gtk -Q foo.c > (where foo.c does not exist) > > 2. Paste "// Comments are good (aren't they?)" > > 3. Type C-M-p > > I get an error: > > forward-list: Scan error: "Unbalanced parentheses", 35, 1 > > This problem does not occur without the apostrophe. Oh, interesting, if I delete and re-insert the apostrophe, it stops happening, i.e., there is some hidden state which affects things as well.