bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as


From: Daniel Martín
Subject: bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default
Date: Sun, 13 Dec 2020 02:23:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)

Lars Ingebrigtsen <larsi@gnus.org> writes:
>
> I think it would be better to put this in a helper function in subr.el,
> for instance.
>
> And there's also `number-at-point', could perhaps be used here?

Oh, I forgot about number-at-point.  It extracts numbers that don't make
sense here (like floating point or negative numbers), but we can easily
filter them with natnump.  I've attached a new patch; do you feel it's
still necessary to extract the logic in a helper?

Attachment: 0001-Make-goto-char-offer-the-number-at-point-as-default.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]