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#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a Date: Mon, 20 Dec 2021 19:23:46 +0200 Message-ID: <83o85b197h.fsf@gnu.org> References: <83zgoybbfr.fsf@gnu.org> <83ee689156.fsf@gnu.org> <87r1a8sgxc.fsf@gnus.org> <87bl1cse75.fsf@gnus.org> <877dc0sdn2.fsf@gnus.org> <83o85c7ax2.fsf@gnu.org> <87bl1br5nr.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18734"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52593@debbugs.gnu.org, isgniuk@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 20 19:29:44 2021 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 1mzNPr-0004dW-Mi for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Dec 2021 19:29:43 +0100 Original-Received: from localhost ([::1]:42904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzNPq-0003QB-NG for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Dec 2021 13:29:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzMPG-0006cK-Gt for bug-gnu-emacs@gnu.org; Mon, 20 Dec 2021 12:25:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39804) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzMPG-0002st-80 for bug-gnu-emacs@gnu.org; Mon, 20 Dec 2021 12:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzMPG-0006qs-5E for bug-gnu-emacs@gnu.org; Mon, 20 Dec 2021 12:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Dec 2021 17:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52593 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo Original-Received: via spool by 52593-submit@debbugs.gnu.org id=B52593.164002104526250 (code B ref 52593); Mon, 20 Dec 2021 17:25:02 +0000 Original-Received: (at 52593) by debbugs.gnu.org; 20 Dec 2021 17:24:05 +0000 Original-Received: from localhost ([127.0.0.1]:51350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzMOK-0006pK-M6 for submit@debbugs.gnu.org; Mon, 20 Dec 2021 12:24:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzMOH-0006oq-OI for 52593@debbugs.gnu.org; Mon, 20 Dec 2021 12:24:03 -0500 Original-Received: from [2001:470:142:3::e] (port=47088 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzMOB-0002h6-J5; Mon, 20 Dec 2021 12:23:56 -0500 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=Mw6OeH23wRaxDWY9hx5PU5tXUCZrNblJWu6XqfQr288=; b=kPAT9Q5YcNma gc0ulps2Voyx4h5W6oYOdF/XoYpRV+18Y0KxEpiGw6pR1KZfRhUWAog5Wtes+0mgjLwP00D372YXp s7me9sPV8Wvs34xuJWoRhe2Y60p1EZHuc1X2hNNw3cCCgWOgIAjM1AEqJml47TY/DBRW56pqI1jKN vkURO9OKNto5X+jF2AZ2gPg9RDpUhqZ9+iZhYDlLZh4hRxlrBFg0fnFfWJszZV5b2sv8zmbVNvYJ1 3dSzssDsR3BRMqSEHHJibRyXRjR3LGXqd2+SuRFURpGSZOyhXVFIpGfmhFlKIngywzUSTrLczscEa 52Dw909NL2X/5h0Yz/BZsg==; Original-Received: from [87.69.77.57] (port=2718 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 1mzMO5-0008Tz-3x; Mon, 20 Dec 2021 12:23:55 -0500 In-Reply-To: <87bl1br5nr.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 20 Dec 2021 10:23:36 +0100) 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" Xref: news.gmane.io gmane.emacs.bugs:222791 Archived-At: > From: Lars Ingebrigtsen > Cc: 52593@debbugs.gnu.org, isgniuk@gmail.com > Date: Mon, 20 Dec 2021 10:23:36 +0100 > > Eli Zaretskii writes: > > > I admit that I lack the context here: why was thing-at-point changed > > to honor fields? what was that supposed to achieve? > > I think respecting fields in general is a good idea -- the more things > that do, the more useful the field concept becomes. And thing-at-point > seems like an obvious thing that can be helped by fields -- the fields > clarify what the "thing" is. So basically, the "thing" should have the field property on its characters? And testing for that property at point, and refraining from narrowing if there's no such property, still leaves the code too slow?