From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#64652: 28.2; Adding a property bug on Windows 11 Date: Sun, 16 Jul 2023 13:07:01 +0200 Message-ID: <13BD5663-B051-4FFC-BEE5-1768EABF8C0E@gmail.com> References: <87ttu4mm6a.fsf@localhost> <87o7kcmkjf.fsf@localhost> <87jzv0mk3v.fsf@localhost> <87h6q4min4.fsf@localhost> <83mszw9uwy.fsf@gnu.org> <87bkgcmhm7.fsf@localhost> <83jzv09ttl.fsf@gnu.org> <878rbgjn4q.fsf@localhost> <83ilak9rlj.fsf@gnu.org> <87r0p8i69c.fsf@localhost> <83cz0s9qk6.fsf@gnu.org> <83bkgc9qa6.fsf@gnu.org> <87ilaki56f.fsf@localhost> <87fs5oi53l.fsf@localhost> <837cr09mx0.fsf@gnu.org> <87r0p8gnks.fsf@localhost> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12200"; mail-complaints-to="usenet@ciao.gmane.io" Cc: senkijun@gmail.com, ruijie@netyu.xyz, Eli Zaretskii , 64652@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 16 13:08:21 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 1qKzbx-0002zn-H8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Jul 2023 13:08:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKzbg-0006Rv-9P; Sun, 16 Jul 2023 07:08:04 -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 1qKzbe-0006Rd-BC for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 07:08: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 1qKzbe-0005dO-2t for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 07:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qKzbd-0004n2-Mb for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 07:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jul 2023 11:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64652 X-GNU-PR-Package: emacs Original-Received: via spool by 64652-submit@debbugs.gnu.org id=B64652.168950563418354 (code B ref 64652); Sun, 16 Jul 2023 11:08:01 +0000 Original-Received: (at 64652) by debbugs.gnu.org; 16 Jul 2023 11:07:14 +0000 Original-Received: from localhost ([127.0.0.1]:46949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKzar-0004ly-Ss for submit@debbugs.gnu.org; Sun, 16 Jul 2023 07:07:14 -0400 Original-Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:52347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKzan-0004lh-5t for 64652@debbugs.gnu.org; Sun, 16 Jul 2023 07:07:12 -0400 Original-Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2b71ae5fa2fso50369411fa.0 for <64652@debbugs.gnu.org>; Sun, 16 Jul 2023 04:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689505623; x=1692097623; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=+Kn3vBC70kBigpUtYq8GQBr1NfafYKeBOaynHTI9i60=; b=CeoO5O6OFdocnR7ulLi14GDP2iyr50FU3TE+lLhiGgIxTw/SUJZNeRMyDhgWVa9SWn jZSAExuPPVjS2pU/uzWiLrXyk62AQ+ynNlBVmfIlWygrisfgKtLt/2w0xO58Phj2giLq 9veV2qgo+zs4Dg5r7uBV6DiiE1LcgS/5jE6eIwS8YJFhziICU/2UBZkkRPoZxLI9ZahY MWJGhbbKR6SfNwaSpyLRmPrFtGdAA1MSS91cOCnqelr0ss8fOve7kumISRbV8A8RoyAK bHpGP8LJCpM/YKh3oc/Zbgc1jzxdvNf2lxY2AXf/l8Q21H3SR7w4A/CN/aII4S8LqvMc fXRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689505623; x=1692097623; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+Kn3vBC70kBigpUtYq8GQBr1NfafYKeBOaynHTI9i60=; b=Xvh2FDnsn0dIQ8udujfoELlQvjt138/jTHAhHnV4PS+Usyr/g9gXHTr6fvBCSynJv4 uzpLYu9KfvYZVH9bvjpOrxF1MjLZKTN//6UlIM3epn8J34JIbCK9vch/OC00owEReHDa qXidiOdQ5VzjVfvYIKhs67ZiQBYe3wxmb7s+Xn/sJTeRDMJNzDZO58hCAzk5yYNxiqPU l7QEQp9jLLvFzQ8dJk6xqPYS/kub7XUQ7gCzaYlAqBsHYQKwkWJvj3IEoa9U0LoiD++G eVvvEKGgPe7b1o1CD3NBBc8/PSb5oPiG+H9ey4nXF+LSmbE7FcdTsrt1lUnBrog2h9I+ Yp3g== X-Gm-Message-State: ABy/qLZwEwAIZ0uk59hJ0ZBg727XSdVSZdx2kVsoqIlYC2IVgxOT4JDF ZCgyaUpdWeSUAWfzUGtbgCg= X-Google-Smtp-Source: APBJJlH/GMNCoktXMM0ebW38rULsRC6/a7skGivskuld7zI3+bvtCQB1Kv6fV3d3z9HsOdRIsCtSOg== X-Received: by 2002:a2e:9ed3:0:b0:2b4:47ad:8c70 with SMTP id h19-20020a2e9ed3000000b002b447ad8c70mr6058586ljk.11.1689505622911; Sun, 16 Jul 2023 04:07:02 -0700 (PDT) Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se. [188.150.165.235]) by smtp.gmail.com with ESMTPSA id r6-20020a2e9946000000b002b6d781b60esm2974477ljj.82.2023.07.16.04.07.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Jul 2023 04:07:02 -0700 (PDT) In-Reply-To: <87r0p8gnks.fsf@localhost> X-Mailer: Apple Mail (2.3654.120.0.1.15) 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:265316 Archived-At: 16 juli 2023 kl. 12.25 skrev Ihor Radchenko : > Eli Zaretskii writes: >=20 >>> Hmm... One way could be modifying regexps to something like >>> [Pp][Rr][Oo][Pp][Ee][Rr][Tt][Ii][Ee][Ss]. May Emacs provide = something >>> like (regexp-case-quote REGEXP &optional CASE-TABLE)? >>=20 >> What would regexp-case-quote do with REGEXP? >>=20 >> Regarding [Pp][Rr] etc.: does this have any significant effect on >> performance, due to use of character classes? Yes, that would be substantially slower. The regexp engine combines = sequences of literal characters into literal strings that are matched = atomically, without either the overhead of individual NFA ops or pushing = backtracking points on the NFA stack for each character. Indeed a quick micro-benchmark bears that out. How much that affects performance overall is a different matter and can = only be answered by measuring. In general we should make an effort to stop the user's locale leaking = into elisp code logic. Ideally, case-folding should be property of a = regexp or part of it, not controlled by a user-customisable global = variable. I'm just waiting for the horde of irate Turkish Pascal programmers to = complain about broken font-lock.