all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 64739@debbugs.gnu.org, winkler@gnu.org, joseph@breatheoutbreathe.in
Subject: bug#64739: (forward-thing 'number) doesn't work with decimal numbers
Date: Sat, 22 Jul 2023 02:23:22 +0200	[thread overview]
Message-ID: <87wmysx091.fsf@web.de> (raw)
In-Reply-To: <83r0p1zatl.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 21 Jul 2023 15:52:06 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> > > On Thu, Jul 20 2023, Eli Zaretskii wrote:
> > > >> forward-word doesn't seem to be the correct forward-op for numbers.
> > > >
> > > > That depends on the buffer's syntax table, though.
> > >
> > > I am frequently running into similar problems when I deal with numbers,
> > > but the syntax table is not designed for this.  Would it make sense if
> > > (forward-thing 'number) temporarily used a customized synatx table?
> >
> > It should use its own function, if you ask me.  forward-word is a
> > kludge.
>
> To clarify: I meant that using forward-word in this case is a kludge.

It had been added by Lars when fixing Bug#54555 "number is not an
accepted value for THING in bounds-of-thing-at-point" last year.
Probably just not being aware of this problem with the decimal point.
So: yes, a klugde, it's too simple.


Michael.





      parent reply	other threads:[~2023-07-22  0:23 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
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 [this message]

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=87wmysx091.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --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.