From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65496: 30.0.50; Issue with the regexp used to auto-detect PBM image data Date: Mon, 04 Sep 2023 20:36:06 +0300 Message-ID: <83wmx54z95.fsf@gnu.org> References: <2fea228e-a8e8-5b8e-b91d-2d808d624649@orange.fr> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15640"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65496@debbugs.gnu.org To: David Ponce Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 04 19:37:17 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qdDVk-0003sI-AU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Sep 2023 19:37:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdDVX-0007Ib-Iu; Mon, 04 Sep 2023 13:37:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdDVW-0007IR-BC for bug-gnu-emacs@gnu.org; Mon, 04 Sep 2023 13:37:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdDVW-0000aD-3M for bug-gnu-emacs@gnu.org; Mon, 04 Sep 2023 13:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdDVW-0000hJ-2G for bug-gnu-emacs@gnu.org; Mon, 04 Sep 2023 13:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Sep 2023 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65496 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65496-submit@debbugs.gnu.org id=B65496.16938489972647 (code B ref 65496); Mon, 04 Sep 2023 17:37:02 +0000 Original-Received: (at 65496) by debbugs.gnu.org; 4 Sep 2023 17:36:37 +0000 Original-Received: from localhost ([127.0.0.1]:52491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdDV6-0000gd-Jo for submit@debbugs.gnu.org; Mon, 04 Sep 2023 13:36:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdDV1-0000gK-Ej for 65496@debbugs.gnu.org; Mon, 04 Sep 2023 13:36:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdDUv-0000RH-FR; Mon, 04 Sep 2023 13:36:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KmDwH/W1jXTyVvR3YKHBqo28dZiiAQQPxS38j06m/VU=; b=QFWwfLq38SeR 3DIw0o79Zbmm/jIWhfl1LW+Ve6m8pkEMe2rWXFt/H8/7i2gINsYUOSTqfuHF6S22+X2h8P6z3avhW bQj/1KSETFt7eUaIoE23GN3lpI/KdU0fSyH+ohG/LUdoMpoBRiieJuU5ntT/as5r4ZRUSVWqPY3yh bcQsooIqj8GmI8GthCOSP4h4GkLw62xdxNfp3HJYtI6SLA2EK9bQ3DuwJP1UHQVEm1RsRsq1TYKZi 3O30/OVHfO2FVAZYyc7fX8ePj6zy/kKzdw962ql90HKrPwJL6AZngTKNGvwZ4R89zEK08o//PMMeb 3ae28mf1Mt+CapP7Yr5yjA==; In-Reply-To: (message from David Ponce on Mon, 4 Sep 2023 18:32:22 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269269 Archived-At: > Date: Mon, 4 Sep 2023 18:32:22 +0200 > From: David Ponce > > I wonder if it is expected that matching a regular expression > against a string object depends on the syntax-table setup in current > buffer? Shouldn't (standard-syntax-table) implied when matching a > regexp against a string object, that is, regardless of any buffer > context? Not necessarily, because you wouldn't expect, say, looking-at to return a different result than (string-match-p (buffer-string)), would you? This belongs to the gray areas of Emacs. The same situation exists with functions like downcase, which use the buffer-local value of case-table.