From unknown Sun Jun 22 11:48:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23569: thing-at-point, source of slowness Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 May 2016 07:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23569@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146355819928653 (code B ref -1); Wed, 18 May 2016 07:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 May 2016 07:56:39 +0000 Received: from localhost ([127.0.0.1]:56502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2wLP-0007S4-1q for submit@debbugs.gnu.org; Wed, 18 May 2016 03:56:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2wLN-0007Rs-Kz for submit@debbugs.gnu.org; Wed, 18 May 2016 03:56:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2wLH-0004Gk-Lh for submit@debbugs.gnu.org; Wed, 18 May 2016 03:56:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2wLH-0004Fb-Ic for submit@debbugs.gnu.org; Wed, 18 May 2016 03:56:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2wLF-0004XS-6a for bug-gnu-emacs@gnu.org; Wed, 18 May 2016 03:56:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2wLA-0004CY-4v for bug-gnu-emacs@gnu.org; Wed, 18 May 2016 03:56:29 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:63863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2wL9-0004CL-Qh for bug-gnu-emacs@gnu.org; Wed, 18 May 2016 03:56:24 -0400 Received: from [192.168.178.35] ([77.3.49.22]) by mrelayeu.kundenserver.de (mreue103) with ESMTPSA (Nemesis) id 0MFzpm-1apBDv1plG-00EtDT for ; Wed, 18 May 2016 09:56:21 +0200 From: Andreas =?UTF-8?Q?R=C3=B6hler?= Message-ID: <573C20ED.4050405@easy-emacs.de> Date: Wed, 18 May 2016 09:59:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.7.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------010409040107000607070608" X-Provags-ID: V03:K0:MCnigtOs1iggsnI+oLGiuwV6MsIOfok83b7n/8Mev7W2KMU1nhv lmT5mRogGmY6QS7xfusrxtZeWXL21LwUxxQk3qC0eG+uW3vv5NtfJ+5LcxueOH/QIdu2jep Qh4TAYV7UnkC90cH0yz1+1J7I/cBQ390PPt+fsuhJoVjHaAY1ylb5J9QF6Y23AaHEzetUYZ 6MQkQx7LOsZfxxzeGEFRQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:VdABLySfTKg=:m4xY11VMafFUl9wCAoaftp rSOyQw+fgein4QuXVbXtqQruT2rvkmtOTwNTMNa7IcugvpIy66dLiELnZvbLtKW5jd7by2TVm EA19H2+TZKeaiGhpHv6/tA1LPSIAhWHBj/TxAWbklQ/p0hmkH9g1OMl1ApYbiAmize3BDKOEd G2a3p4rndqeb7UqcccLB32w32k2vUsgUQwsarUpoi25OCUe8ML2MjBgMhvjPptGpH9sjrp6qq DrJa8+mzld7roD7QZnE71fQuIZNANYoxmM2tINtRwFg0Xdye8d0GO1D5XOGBHN9wgEPHEzlBf arJEkk8DA57O25HYCl6D7D2ZHcx/HPT50+h6YxVsqwP1GZ5LpVz+L4BVW5yF0c5KRT7KslWe2 fIqcZFi4v0d7CNqPJKbswchgP8CpQNPEohNxQEHIHI2rbFnCRJLbhl+ZaZh/JkaH5Vj4x0PXU vKymtdsgzUZW/U4nGIZdC9AvFD14LaLX3mAnpiAZLKANObQwKtn1tQTTca9bnEBmYMrt0FJL1 mFUaEFABg/z+uKS1IbNvQoUREpHEwWOWmMzT+F5E8c5aZV8pT8nHpI29NdcroPJ4tystIoIU7 EmolNpKjCSqH+bSUrqbXQlyWKClH/KVDqIWuHQVxF8v2QfmgHBiy0Xx5/fMt5UaKIFk+cuPKz og5wZYOHXUmPpqKQJnVXbnQFw+ATJ8vYjN9Sd2AosYWZ1Dr92NXIlYcDBFD1sbFEFZFYcExg8 ALO4wPR5cwnEEk12wSrFq0b3rx+IPjqdipG0nw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) This is a multi-part message in MIME format. --------------010409040107000607070608 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit in thingatpt.el: ;; The function bounds-of-thing-at-point finds the beginning and end ;; positions by moving first forward to the end of the "thing", and then ;; backwards to the beginning. ;;;;;;; Also *bounds-of-thing-at-point jumps to-and-fro, doing some sanity check every time. Suggest to jump ***first *at the beginning, as backward move might be slow. Avoid to-and-fro, deliver tests instead, so first try will be reliable or return nil. * --------------010409040107000607070608 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit in thingatpt.el:

;; The function bounds-of-thing-at-point finds the beginning and end
;; positions by moving first forward to the end of the "thing", and then
;; backwards to the beginning.

;;;;;;;

Also bounds-of-thing-at-point jumps to-and-fro, doing some sanity check every time.

Suggest to jump
first at the beginning, as backward move might be slow.

Avoid to-and-fro, deliver tests instead, so first try will be reliable or return nil.
--------------010409040107000607070608-- From unknown Sun Jun 22 11:48:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23569: thing-at-point, source of slowness Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 May 2016 17:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas =?UTF-8?Q?R=C3=B6hler?= Cc: 23569@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 23569-submit@debbugs.gnu.org id=B23569.146359398723898 (code B ref 23569); Wed, 18 May 2016 17:54:01 +0000 Received: (at 23569) by debbugs.gnu.org; 18 May 2016 17:53:07 +0000 Received: from localhost ([127.0.0.1]:57189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b35ed-0006DO-1d for submit@debbugs.gnu.org; Wed, 18 May 2016 13:53:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b35ec-0006Cv-6F for 23569@debbugs.gnu.org; Wed, 18 May 2016 13:53:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b35eU-00039T-AR for 23569@debbugs.gnu.org; Wed, 18 May 2016 13:53:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b35eU-00039L-79; Wed, 18 May 2016 13:52:58 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4784 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b35eR-0003Ll-BC; Wed, 18 May 2016 13:52:56 -0400 Date: Wed, 18 May 2016 20:52:47 +0300 Message-Id: <83vb2b2qz4.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <573C20ED.4050405@easy-emacs.de> (message from Andreas =?UTF-8?Q?R=C3=B6hler?= on Wed, 18 May 2016 09:59:41 +0200) References: <573C20ED.4050405@easy-emacs.de> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Andreas Röhler > Date: Wed, 18 May 2016 09:59:41 +0200 > > Suggest to jump first at the beginning, as backward move might be slow. Can you tell why? AFAIK, moving back is no slower than moving forward. From unknown Sun Jun 22 11:48:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23569: thing-at-point, source of slowness Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 May 2016 06:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 23569@debbugs.gnu.org Received: via spool by 23569-submit@debbugs.gnu.org id=B23569.146398557411460 (code B ref 23569); Mon, 23 May 2016 06:40:01 +0000 Received: (at 23569) by debbugs.gnu.org; 23 May 2016 06:39:34 +0000 Received: from localhost ([127.0.0.1]:33353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4jWY-0002ym-Eb for submit@debbugs.gnu.org; Mon, 23 May 2016 02:39:34 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:61521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4jWW-0002yZ-Il for 23569@debbugs.gnu.org; Mon, 23 May 2016 02:39:33 -0400 Received: from [192.168.178.35] ([77.12.191.128]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MasKg-1aord00aqY-00KRyF; Mon, 23 May 2016 08:39:24 +0200 References: <573C20ED.4050405@easy-emacs.de> <83vb2b2qz4.fsf@gnu.org> From: Andreas =?UTF-8?Q?R=C3=B6hler?= Message-ID: <5742A66E.1070704@easy-emacs.de> Date: Mon, 23 May 2016 08:42:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 In-Reply-To: <83vb2b2qz4.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:jp22Kstc34FGVeg9h0ctDOA9lk8UXRxSYf9DHZh0AM4dsxPiG+Q Q4mmBSVCDgn2la9qCwAxXF7EpmTshTyRTk/SFnyNOeyrNQsQZIBqtVElRyG5VabaI9AD7Qt v2M48nN84Xtiv2T+qPW6x+3CGv53SIp7vVOTCv5LLy4oSy0wCJM3jZl3IL+Y5iwdUOkq7GX JJqiEXTVqYnziiX3/Ohhw== X-UI-Out-Filterresults: notjunk:1;V01:K0:8hI9W0OImKY=:A7VGVx8CI+BijnyurT7zu8 3dwrtAm4JmCB+RAtXI3RN10gRUUb7Uy64Vh3VzDzQFKYwEzNc1GntllxNugCqM+S1rZpYhpAI 0U1KMNzob43k7tqhz0sVBtb24uF5C/koRglY4LUacTw5sRJlveu9KmKdeUGRAhcaHdDplSVmS ftFlesKPlkvM5sf7vFF9hOBMfF8IElXwRSPMXKnX7I1+LxEfaIFojk+84WdAbI6AFPrpKl0XL EHhTrstrio0Js8WuzwA+qM4kNosg+AL6DbfBGcnT4FVNCbh+oV4go55Ywd3sm6mLE5odDtrRB 8/Vw9qYv0Ce7i/Jsb5MbtWrkgxqPgx3vVKMpCWiaItX7KtEO++uezag0FnKcySj3/yzbaEtOE GTkvyzsCQZCL/8WwIwHE966bA7/L84uJEksooVSQVrHlxzQXTSzyrmC4MPPw2BvkcAj/nq4H+ T9p1gkjp8lAaEEVpnFhhMuplKr8+VeibVmN8e4/l0KhiSxXClwBhveLGxQRCE1ihdwlSlBoVU Wxn5Pup5YZJD9rQuHV3UEPrMfmxPjuaTndGtWkTZuvKKX8pHpXg0zsJNU2Bg7mDGrQzMQ2Vtl cP5bhThVfIT8PCXc1GXny2IxQrx7s1CVmDUEuje7nyUltkMC9EXiVtl5waX+RyO9ddva0vHbO BomToZE3vLrOIaA45uDN4jhg/yBoOkZ6bvwn4bdaz15JvZCfAl139xe7HplNjPC9tlbU6ghxW qSldtI1SjPKAinLZj2THJTdMjFtTzqVLKivdlw== X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On 18.05.2016 19:52, Eli Zaretskii wrote: >> From: Andreas Röhler >> Date: Wed, 18 May 2016 09:59:41 +0200 >> >> Suggest to jump first at the beginning, as backward move might be slow. > Can you tell why? AFAIK, moving back is no slower than moving > forward. Referring to non-greedy behaviour of re-search-backward. Which requires additional checks WRT to a greedy-like match. After all, it doesn't seem that important, as implemented forms don't use re-search. Remains the to-and-fro issue. From unknown Sun Jun 22 11:48:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23569: thing-at-point, source of slowness Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Jul 2021 00:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas =?UTF-8?Q?R=C3=B6hler?= Cc: 23569@debbugs.gnu.org Received: via spool by 23569-submit@debbugs.gnu.org id=B23569.16257053967481 (code B ref 23569); Thu, 08 Jul 2021 00:50:02 +0000 Received: (at 23569) by debbugs.gnu.org; 8 Jul 2021 00:49:56 +0000 Received: from localhost ([127.0.0.1]:53783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1IEm-0001wb-Kk for submit@debbugs.gnu.org; Wed, 07 Jul 2021 20:49:56 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1IEk-0001wD-9v for 23569@debbugs.gnu.org; Wed, 07 Jul 2021 20:49:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=af0u5BInd9qHP2LNnf5ZGoiFAYoC4BNgYvIZ04XioZo=; b=pTjxhtE6Eyq9R5KFFKCKD4GQaB v0f3pQbaT8FbSUSr5UkhmWJ4BI6okBoiyjAe64FO9CxuHiHBLWF/Y4gFKZZevXjUBcKQkSTJfj9Pr TmBlxvCurM1KOwdlc+QZtgwPk2j+UJYaweEb1PvOReq/PiqrttiKVFv4jGzFmRLX1w/A=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1IEb-0003sL-Qr; Thu, 08 Jul 2021 02:49:48 +0200 From: Lars Ingebrigtsen References: <573C20ED.4050405@easy-emacs.de> X-Now-Playing: Oh Sees's _Face Stabber_: "The Daily Heavy" Date: Thu, 08 Jul 2021 02:49:45 +0200 In-Reply-To: <573C20ED.4050405@easy-emacs.de> ("Andreas =?UTF-8?Q?R=C3=B6hler?="'s message of "Wed, 18 May 2016 09:59:41 +0200") Message-ID: <877di11vfa.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas =?UTF-8?Q?R=C3=B6hler?= writes: > in thingatpt.el: > > ;; The function bounds-of-thing-at-point finds the beginning and end > ;; positions by moving first forward to the end of the "thing", and then > ;; backwards to the beginning. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas R=C3=B6hler writes: > in thingatpt.el: > > ;; The function bounds-of-thing-at-point finds the beginning and end > ;; positions by moving first forward to the end of the "thing", and then > ;; backwards to the beginning. > > ;;;;;;; > > Also bounds-of-thing-at-point jumps to-and-fro, doing some sanity check e= very > time. > > Suggest to jump first at the beginning, as backward move might be slow.=20 > > Avoid to-and-fro, deliver tests instead, so first try will be reliable or > return nil. (I'm going through old bug reports that unfortunately got little response at the time.) I'm not sure I understand the issue, even with the response you gave to Eli at the time. Do you have a test case that demonstrates this slowness, and an example of how you'd change the code? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 07 20:50:01 2021 Received: (at control) by debbugs.gnu.org; 8 Jul 2021 00:50:01 +0000 Received: from localhost ([127.0.0.1]:53786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1IEq-0001wr-Sh for submit@debbugs.gnu.org; Wed, 07 Jul 2021 20:50:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1IEp-0001wM-Cw for control@debbugs.gnu.org; Wed, 07 Jul 2021 20:49:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Xegwyv9BUANbV2GxUyC12CiHgPdO4TNG1R1pePK6LIQ=; b=C2bqYyeFZb30drYQ/KPPk9AJe7 MpcZYEU4C8Fjrcen7kOKTflx1OarvxXJ/13aNftVJ1tIsrTQDHkydhJFQaJUyCZXxrBIPQxwEF+9Y q7PmYQ1LwEXfLmEWvUnEQIHiZ+kwSvIk0aFMQtpG4b7CqUkN1pbA9I9wAkV2EbI0Ulqc=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1IEh-0003sU-FN for control@debbugs.gnu.org; Thu, 08 Jul 2021 02:49:53 +0200 Date: Thu, 08 Jul 2021 02:49:51 +0200 Message-Id: <875yxl1vf4.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #23569 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 23569 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 23569 + moreinfo quit From unknown Sun Jun 22 11:48:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23569: thing-at-point, source of slowness Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Jul 2021 05:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: 23569@debbugs.gnu.org Received: via spool by 23569-submit@debbugs.gnu.org id=B23569.16257229265068 (code B ref 23569); Thu, 08 Jul 2021 05:43:01 +0000 Received: (at 23569) by debbugs.gnu.org; 8 Jul 2021 05:42:06 +0000 Received: from localhost ([127.0.0.1]:54024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1MnW-0001Jg-4i for submit@debbugs.gnu.org; Thu, 08 Jul 2021 01:42:06 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:41419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1MnR-0001J9-Vz for 23569@debbugs.gnu.org; Thu, 08 Jul 2021 01:42:04 -0400 Received: from [192.168.178.39] ([82.207.239.248]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MVrXh-1laFgk1sZR-00Rm0d; Thu, 08 Jul 2021 07:41:55 +0200 References: <573C20ED.4050405@easy-emacs.de> <877di11vfa.fsf@gnus.org> From: Andreas =?UTF-8?Q?R=C3=B6hler?= Message-ID: Date: Thu, 8 Jul 2021 07:41:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <877di11vfa.fsf@gnus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:vKTDL3JCF7bT9W0eSXPmHjXY76eaN05mQHa11q0lbLGLSBIS1p1 HAPe1p5LRGm4C+pMOyqh8em58yXSSkeuVd/XbbFh3Kb5pvAMpQxtafSI75oEYWoDctKnTRm TLdeSCTzUrwfsO8gIGvXI3fKZRYf3v5wpXQ6yMXxA1uHIYrjIKBUPAF1yNMU+RsYly0yPBn vpesJ4md3f2H2QsRL23sw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:5uQlPanrdiU=:zkYhv6xR8i3dTxOa31SLxg /UzV2ZB7j40SDvWz/aE0M0qqo0EkVUCzqgBMstLTTzFJsUSBmSaHCHmdQBotaz1FD6ka1kAZP o497U5JdCePu5n53avOXrRzSRJfFrq6QVHdN+w/fveGI4vhsi4YuZn62e3LpB5kW0Y0N5HooM GJUN4gPmhQSizGxKNiFLQMEAlDQcvPK2qQ8OoB1LDrDCB5916qmjCgmmdyl3+6S3Z456oC8fW uJh+CnmIQJAzOYUe76gBR5b0m8nquOv0YO0wAWT6rny/GlOgBjwHwMklxrjRzTYbClxEYceix a9vFv3OcpMlb7TQDiwaKqCsGjElcJws2PgRFK5JMgTsdoB94anNxhz3dS5kPNgOWL6gp5x+CO IWemHvYHvDRgS4Efaz6goEI34QjKw8RkXDtTd2SoQ2kzra3KOqU/6ttFykdxVTDzJ4lAj/j/N Ry97h89lxilc3SS7CzEe3+tLlai40xCkHUzwaPBnTGyf6TccquwVI12SADU04Ax95ma00hUiO vMvA3SObhxJF6zkkOVRXpj3JKOlnUPYSdn8usi0V/GpykHHcAcuVtKouujRPAbVX73IswY0HL RaSjXvB6FLqQmo3ArGMsQpVYdjpigO7h3G2OKaZubzJz+99O1CtSvWd3sq6/+raUMXuMIwiE/ 5yfG3mLVxcmGSPlM67/PJOlBDEcOaHQOkgRemF7thSe6pwU3JrVUdrhZFFd/+rqTQrym4GzE2 Yt+CBV3AjwWxIwdqxJe1v4YjxX6wvZ93B15FINO2JsIV3RMvaIhOGD/86LtPFVOt+ujx5PbWu x4R/evS6u0lJFxs6BjqWwvC2NmhACjzNVjitGKkiyVRZU0cRYYRcnls6CYKce5B0gRlbt58y5 6elnzmzqrgHOCI7B605w== X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 08.07.21 02:49, Lars Ingebrigtsen wrote: > Andreas Röhler writes: > >> in thingatpt.el: >> >> ;; The function bounds-of-thing-at-point finds the beginning and end >> ;; positions by moving first forward to the end of the "thing", and then >> ;; backwards to the beginning. >> >> ;;;;;;; >> >> Also bounds-of-thing-at-point jumps to-and-fro, doing some sanity check every >> time. >> >> Suggest to jump first at the beginning, as backward move might be slow. >> >> Avoid to-and-fro, deliver tests instead, so first try will be reliable or >> return nil. > (I'm going through old bug reports that unfortunately got little response at > the time.) > > I'm not sure I understand the issue, even with the response you gave to > Eli at the time. > > Do you have a test case that demonstrates this slowness, and an example > of how you'd change the code? > Thanks for your care. Don't think it's worth digging into that after that long time. Suggest to close. From unknown Sun Jun 22 11:48:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23569: thing-at-point, source of slowness Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Jul 2021 12:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Andreas =?UTF-8?Q?R=C3=B6hler?= Cc: 23569@debbugs.gnu.org Received: via spool by 23569-submit@debbugs.gnu.org id=B23569.162574802921934 (code B ref 23569); Thu, 08 Jul 2021 12:41:01 +0000 Received: (at 23569) by debbugs.gnu.org; 8 Jul 2021 12:40:29 +0000 Received: from localhost ([127.0.0.1]:54587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1TKP-0005hg-DH for submit@debbugs.gnu.org; Thu, 08 Jul 2021 08:40:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1TKK-0005hR-BC for 23569@debbugs.gnu.org; Thu, 08 Jul 2021 08:40:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=jvVpH+9uIwx7UFaEqk7RKUHTDlcr8Li/xq0u7xxSWN8=; b=A2NqP3MtBZDLdQHcdVf9QrVAXl Ua5ANs5RXZscPNJSl2uRb81hEdp/cwrYgak1/D5S1rL7L/5s1+ryeHOSqIPg7+3duC049cULCiANj s9KSTNIw5lee1CCvwyfn6U4degSl4+2OPHxhDWGjp3PzIiRcAa7rHflWK32cAyqcGEec=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1TK2-0002WR-Aq; Thu, 08 Jul 2021 14:40:12 +0200 From: Lars Ingebrigtsen References: <573C20ED.4050405@easy-emacs.de> <877di11vfa.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEX6+/i0tq51eoI5 P1tNUmT////HiKSZAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UHCAwnOXETF2cAAAF+SURBVDjLzZJR lqwgDETB6QVA6wK0YQEPkwUoyf7XNAngCL4z/8NHt4drpSoxxvx3nPmTx3rfHj6/vDHTqn9v5u0B OMlvBGY+B8AcnVkwC2A3AjYWs4lPSeBsXrxKyYdkxiTwEChn7XNHZ/ECo71YSLJSKo9gQmaPCvgB Mse4xdHdHuIiNx+3jCCypRxzxC0oOO42cjjVIzCOsabPruaUd37EmteSKjPxYGKxxpVZ8lBrSheo Crwkr6MCbICxfa+5gVw7FyFsPaCbtGpL9cAQ+efsxaOmyjvdgFRiQfuQKXbJ6KhfcJPVyZ2Ay94Y S4DYlbkBU2mjXGEHAuG7TLYCwAYWRPdqxqokqGBCcBKZClIAQAosaTRRNAByUHcm4F6abLMQQACq AHAFlAIqA9KyyVCqYwGsQN6oYN16IIKiUTC3Unh9jGJ+6io4BW14vHvPJa6AIH1IJdXkt9zoFp8X SMvpfbZpSqIwHfj3JRss4KUdelzU/Ab7VMYl5jZ9A+57jQag6idkAAAAJXRFWHRkYXRlOmNyZWF0 ZQAyMDIxLTA3LTA4VDEyOjM5OjU2KzAwOjAwkQ00ngAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0w Ny0wOFQxMjozOTo1NiswMDowMOBQjCIAAAAASUVORK5CYII= X-Now-Playing: Oval's _Scis_: "Piqqo" Date: Thu, 08 Jul 2021 14:40:01 +0200 In-Reply-To: ("Andreas =?UTF-8?Q?R=C3=B6hler?="'s message of "Thu, 8 Jul 2021 07:41:54 +0200") Message-ID: <87bl7duggu.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas =?UTF-8?Q?R=C3=B6hler?= writes: > Thanks for your care. Don't think it's worth digging into that after > that long time. Suggest to close. OK; done. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Andreas R=C3=B6hler writes: > Thanks for your care. Don't think it's worth digging into that after > that long time. Suggest to close. OK; done. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 08 08:40:43 2021 Received: (at control) by debbugs.gnu.org; 8 Jul 2021 12:40:43 +0000 Received: from localhost ([127.0.0.1]:54590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1TKd-0005i9-Kb for submit@debbugs.gnu.org; Thu, 08 Jul 2021 08:40:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1TKc-0005hw-SD for control@debbugs.gnu.org; Thu, 08 Jul 2021 08:40:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bT72yjEeNIOpZbnaBESzKMCGuwzoPw7o+YFnNzXPNQs=; b=gx7+saT+iIK3G2dDDWAk1zIYpi ltxCgHeeX7cyC+OxF2ZzDIhr1BWwznOqmOzq29MG07Y0ZNrrFeVKsshJtLpjBRGJRo/ARTgYS5jfP j7j5EkNeeCvTeEwYXxrDbXGlYTzjfAYZKh11LZ4bbbLzjTg+/NqbdyxOFC2hA8Z9Jax0=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1TKM-0002We-N9 for control@debbugs.gnu.org; Thu, 08 Jul 2021 14:40:31 +0200 Date: Thu, 08 Jul 2021 14:40:21 +0200 Message-Id: <87a6mxugga.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #23569 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 23569 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 23569 quit