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#64652: 28.2; Adding a property bug on Windows 11 Date: Sun, 16 Jul 2023 14:36:06 +0300 Message-ID: <83y1jg84wp.fsf@gnu.org> 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> <13BD5663-B051-4FFC-BEE5-1768EABF8C0E@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30193"; mail-complaints-to="usenet@ciao.gmane.io" Cc: senkijun@gmail.com, ruijie@netyu.xyz, yantar92@posteo.net, 64652@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 16 13:36:19 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 1qL030-0007Zh-ML for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Jul 2023 13:36:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qL02m-0001UZ-Tt; Sun, 16 Jul 2023 07:36: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 1qL02k-0001UO-VH for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 07:36: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 1qL02k-00043o-NQ for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 07:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qL02k-00080x-Bd for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 07:36: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: Sun, 16 Jul 2023 11:36:02 +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.168950735130783 (code B ref 64652); Sun, 16 Jul 2023 11:36:02 +0000 Original-Received: (at 64652) by debbugs.gnu.org; 16 Jul 2023 11:35:51 +0000 Original-Received: from localhost ([127.0.0.1]:46970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qL02Y-00080Q-Nm for submit@debbugs.gnu.org; Sun, 16 Jul 2023 07:35:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qL02W-00080B-OW for 64652@debbugs.gnu.org; Sun, 16 Jul 2023 07:35:49 -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 1qL02R-00041O-Dr; Sun, 16 Jul 2023 07:35:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=GzpkJL27+w84E2ZHzsiQz1uimoVrKaqpUDzwbltLMCM=; b=kEQCa102ALrR3dZCUoD+ bKggb8GJfvb1Vl1AvClkeAYmcepzSCyibH3WhzU7V0MS8a0Cc4biSQHBkHCSYR3gQBinhfneW9oaR gZxB8370MtM8DW8YPBdY0XbE31p2G9bDjRt3r+HZ2cx0MDG3AJPCFFb4Zp28YyeOF7VtbK6cbY+/q tHez1zPVXY5JM0ws05aSkwVYr45P7BU3uiXJ97f72SRVogj7PbxKr2I2zo0SVM0iMPIm50fyfHjC8 ZX8wN6B9Rn3kfoOqDT6ml3+oCGhfU1y37DTIpVF8dcMZUiQx6z/oV/3hu8wQpx1MzkkC4qY6TuwmN 9qXbuKR802TyVw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qL02Q-0002fF-Jh; Sun, 16 Jul 2023 07:35:42 -0400 In-Reply-To: <13BD5663-B051-4FFC-BEE5-1768EABF8C0E@gmail.com> (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Sun, 16 Jul 2023 13:07:01 +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:265319 Archived-At: > From: Mattias EngdegÄrd > Date: Sun, 16 Jul 2023 13:07:01 +0200 > Cc: Eli Zaretskii , > senkijun@gmail.com, > ruijie@netyu.xyz, > 64652@debbugs.gnu.org > > 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. That would be equivalent of wrapping some/many of the regexp searches with with-case-table. While I agree that it would be cleaner in the code, the performance concerns Ihor expressed will still be there. Btw, achieving what you want should be relatively easy: just make the case-table the property of the regexp, and teach compile_pattern and friends to look at that, in preference to the buffer's case-table, when deciding which case-table to use. > I'm just waiting for the horde of irate Turkish Pascal programmers to complain about broken font-lock. That should have happened about 20 years ago.