From: Eli Zaretskii <eliz@gnu.org>
To: Visuwesh <visuweshm@gmail.com>
Cc: 69239@debbugs.gnu.org
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 [thread overview]
Message-ID: <86cyslxd3p.fsf@gnu.org> (raw)
In-Reply-To: <87sf1hi28t.fsf@gmail.com> (message from Visuwesh on Sun, 25 Feb 2024 10:12:10 +0530)
> From: Visuwesh <visuweshm@gmail.com>
> 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.
next prev parent reply other threads:[~2024-02-25 6:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-16 12:26 bug#69239: 30.0.50; number-at-point and bounds-of-thing-at-point disagree Visuwesh
2024-02-24 9:17 ` Eli Zaretskii
2024-02-25 4:42 ` Visuwesh
2024-02-25 6:38 ` Eli Zaretskii [this message]
2024-03-09 9:48 ` Visuwesh
2024-03-14 9:42 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86cyslxd3p.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=69239@debbugs.gnu.org \
--cc=visuweshm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.