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#69239: 30.0.50; number-at-point and bounds-of-thing-at-point disagree Date: Sun, 25 Feb 2024 08:38:34 +0200 Message-ID: <86cyslxd3p.fsf@gnu.org> References: <871q9c4mtv.fsf@gmail.com> <86o7c6z0f3.fsf@gnu.org> <87sf1hi28t.fsf@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="2170"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69239@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 25 08:11:04 2024 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 1re8f9-0000Qn-V1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Feb 2024 08:11:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1re8el-0007vE-AX; Sun, 25 Feb 2024 02:10:39 -0500 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 1re8ej-0007tN-SI for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 02:10:38 -0500 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 1re8ej-0007H5-JC for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 02:10:37 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1re8f8-0005As-3V for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 02:11: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: Sun, 25 Feb 2024 07:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69239 X-GNU-PR-Package: emacs Original-Received: via spool by 69239-submit@debbugs.gnu.org id=B69239.170884502519782 (code B ref 69239); Sun, 25 Feb 2024 07:11:02 +0000 Original-Received: (at 69239) by debbugs.gnu.org; 25 Feb 2024 07:10:25 +0000 Original-Received: from localhost ([127.0.0.1]:48397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re8eW-00058u-IH for submit@debbugs.gnu.org; Sun, 25 Feb 2024 02:10:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1re8Qs-0004S7-V5 for 69239@debbugs.gnu.org; Sun, 25 Feb 2024 01:56:19 -0500 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 1re89m-0002IK-Sh; Sun, 25 Feb 2024 01:38:38 -0500 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=uQW7NUmFNraK2wsASIL/RS534WXU6sT7zd97lqI26VQ=; b=fhktdE1PL18O2P4eaRFY tIPn60cbZ7NvrmCMHCqm3cCCsJ1E0+Y4+4TOjAPjixHmYoT7oyoccRUOjdH7ECevHSVCQlhZiXQlq CSQOrDXV9H7YL4iJNExJujjvGgfqBQ7sg8Ii2WLKsaBXNu6zdNXS+fh4I0qx3tS9haS8weDMkaLYj Kuh29faSFAd3ClMpmGa1GpYINQTRL2ZqGv7iPLn3xXvQVUYMhRyqescCqjNBaAJuvzZYIRVKZSitu BVVXR5DFDbnsU9d75UeZtmO8CMSJ5F91rq0taHxgVw/CT/in3y+1RRveHLT5XHJVmvYYlFv1+Rflr QQc0Vi1ZjCTPWA==; In-Reply-To: <87sf1hi28t.fsf@gmail.com> (message from Visuwesh on Sun, 25 Feb 2024 10:12:10 +0530) 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:280595 Archived-At: > From: Visuwesh > Cc: 69239@debbugs.gnu.org > Date: Sun, 25 Feb 2024 10:12:10 +0530 > > [சனி பிப்ரவரி 24, 2024] Eli Zaretskii wrote: > > > We could perhaps add something like this, but I don't think > > bounds-of-thing-at-point can call THING-at-point for some THING, > > because thing-at-point will cal bounds-of-thing-at-point, so this > > could lead to an infinite recursion, right? > > Looking at the definition of thing-at-point, it checks if THING's symbol > property 'thing-at-point is non-nil first before falling back to using > bounds-of-thing-at-point for THING. I know, but the code clearly tells us that bounds-of-thing-at-point is a lower-level primitive than thing-at-point, so the former should not call the latter. > But if you want to be on the safer side, then I can write a patch that > doesn't use number-at-point. Yes, please. Thanks.