[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?
0001-Make-goto-char-offer-the-number-at-point-as-default.patch
Description: Text Data
- bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default, Daniel Martín, 2020/12/12
- bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default, Lars Ingebrigtsen, 2020/12/12
- bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default,
Daniel Martín <=
- bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default, Lars Ingebrigtsen, 2020/12/13
- bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default, Daniel Martín, 2020/12/13
- bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default, Robert Pluim, 2020/12/14
- bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default, Lars Ingebrigtsen, 2020/12/14
- bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default, Juri Linkov, 2020/12/14
- bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default, Lars Ingebrigtsen, 2020/12/15
- bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default, Juri Linkov, 2020/12/20
- bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default, Lars Ingebrigtsen, 2020/12/20
- bug#45199: 28.0.50; [PATCH] Make goto-char offer the number at point as default, Juri Linkov, 2020/12/20