all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joseph Turner via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 64739@debbugs.gnu.org, Roland Winkler <winkler@gnu.org>
Subject: bug#64739: (forward-thing 'number) doesn't work with decimal numbers
Date: Sat, 22 Jul 2023 20:36:16 -0700	[thread overview]
Message-ID: <87pm4j9tzm.fsf@breatheoutbreathe.in> (raw)
In-Reply-To: <83bkg5banh.fsf@gnu.org>


Eli Zaretskii <eliz@gnu.org> writes:

> By "its own function" I meant that we implement it in Emacs, not that
> you implement it in your personal customizations.

I see that the definition of number-at-point includes two magic regexps,
one matching hex numbers and another matching decimal numbers. Would it
make sense to move those regexps into defconsts, and then create a new
function forward-number which uses those new constants?

Joseph





  reply	other threads:[~2023-07-23  3:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-20  6:19 bug#64739: (forward-thing 'number) doesn't work with decimal numbers Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-20  6:39 ` Eli Zaretskii
2023-07-21 12:28   ` Roland Winkler
2023-07-21 12:48     ` Eli Zaretskii
2023-07-21 12:52       ` Eli Zaretskii
2023-07-21 14:14         ` Roland Winkler
2023-07-21 14:29           ` Eli Zaretskii
2023-07-23  3:36             ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-07-23  5:33               ` Eli Zaretskii
2023-07-23 19:03                 ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-24 11:25                   ` Eli Zaretskii
2023-07-26 12:21                     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-29 23:01                       ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-22  0:23         ` Michael Heerdegen

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=87pm4j9tzm.fsf@breatheoutbreathe.in \
    --to=bug-gnu-emacs@gnu.org \
    --cc=64739@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=joseph@breatheoutbreathe.in \
    --cc=winkler@gnu.org \
    /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.