From unknown Fri Jun 20 18:01:20 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#52733 <52733@debbugs.gnu.org> To: bug#52733 <52733@debbugs.gnu.org> Subject: Status: 29.0.50; Wishlist: thingatpt should use fields Reply-To: bug#52733 <52733@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:01:20 +0000 retitle 52733 29.0.50; Wishlist: thingatpt should use fields reassign 52733 emacs submitter 52733 Lars Ingebrigtsen severity 52733 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 22 08:00:36 2021 Received: (at submit) by debbugs.gnu.org; 22 Dec 2021 13:00:36 +0000 Received: from localhost ([127.0.0.1]:57076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n01ER-0000Ax-KZ for submit@debbugs.gnu.org; Wed, 22 Dec 2021 08:00:36 -0500 Received: from lists.gnu.org ([209.51.188.17]:57528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n01EP-00009C-Vi for submit@debbugs.gnu.org; Wed, 22 Dec 2021 08:00:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n01EO-0004um-KP for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2021 08:00:33 -0500 Received: from [2a01:4f9:2b:f0f::2] (port=38720 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n01EM-0006Ku-S7 for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2021 08:00:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc: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=4zEwv7ci0bbW5eJxkxxEWMPdE0zpx86RiqLbHYEcbVo=; b=XY3lUMBzwCj0FUp/Dqw0iQ+hSc 6vz1iuQhj6+XmdSBFj1gmPkfJxt269oA524tjaWPjeRvlT2sXHEWF/yEe+Yam1TtmEeBa+AM3KTRY Vd2xzp+kAbxhHtZr24aocLG2vMCSdPpswLyeoB+Q//oia/tBJusUGooVK0HLB9IK7pDE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n01EG-0000AV-QI for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2021 14:00:27 +0100 From: Lars Ingebrigtsen To: bug-gnu-emacs@gnu.org Subject: 29.0.50; Wishlist: thingatpt should use fields X-Now-Playing: Rival Consoles's _Erased Tapes: 1 + 1 = X (1)_: "Ritual" Date: Wed, 22 Dec 2021 14:00:21 +0100 Message-ID: <87bl18eqvu.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain 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: A previous attempt at making this happen was done in 7db376e560448e61485ba054def8c82b21f33d6a, but was reverted due to serious performance regressions (see bug#52593). I still think it's a good idea to make this work, but it has to be more efficient. Perhaps a way to implement this would be to make the beginning-of-thing/end-of-thing functions (or something in that [...] 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-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: -2.3 (--) A previous attempt at making this happen was done in 7db376e560448e61485ba054def8c82b21f33d6a, but was reverted due to serious performance regressions (see bug#52593). I still think it's a good idea to make this work, but it has to be more efficient. Perhaps a way to implement this would be to make the beginning-of-thing/end-of-thing functions (or something in that vicinity) check whether there's a field in the area it's covering, and then limit itself to that area first. That should fix the performance regressions -- the problem with just calling field-beginning/end without any limits is that it will search through the entire buffer, and that can be slow. In GNU Emacs 29.0.50 (build 13, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0) of 2021-12-19 built on xo Repository revision: ec692470bdbd9f673e925bae1c96ad066fb0295a Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Debian GNU/Linux bookworm/sid -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no