unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Remington Furman" <remington@remcycles.net>
Cc: 49588@debbugs.gnu.org
Subject: bug#49588: 28.0.50; (number-at-point) doesn't work with hex prefixes
Date: Fri, 16 Jul 2021 11:48:19 +0200	[thread overview]
Message-ID: <87eebyd1y4.fsf@gnus.org> (raw)
In-Reply-To: <19d9f54a-256a-4d62-8a62-2bf009e5332c@www.fastmail.com> (Remington Furman's message of "Thu, 15 Jul 2021 16:23:56 -0700")

"Remington Furman" <remington@remcycles.net> writes:

> (number-at-point) works as expected and returns 256 when the point is at
> the "#" of "#x100".  It returns nil when the point is on "x", and 100
> elsewhere.
>
> The following works as expected (though I don't suggest it's the best
> possible implementation):

Thanks; I think that implementation makes sense, so I've added it to
Emacs 28 (with some test cases).

This change was small enough to apply without assigning copyright to the
FSF, but for future patches you want to submit, it might make sense to
get the paperwork started now, so that subsequent patches can be applied
speedily. Would you be willing to sign such paperwork?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-07-16  9:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-15 23:23 bug#49588: 28.0.50; (number-at-point) doesn't work with hex prefixes Remington Furman
2021-07-16  9:48 ` Lars Ingebrigtsen [this message]
2021-07-16 20:25   ` Remington Furman
2021-07-17 14:06     ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eebyd1y4.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=49588@debbugs.gnu.org \
    --cc=remington@remcycles.net \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).