From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64739: (forward-thing 'number) doesn't work with decimal numbers Date: Thu, 20 Jul 2023 09:39:21 +0300 Message-ID: <831qh33x46.fsf@gnu.org> References: <87cz0n6qvp.fsf@breatheoutbreathe.in> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14927"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64739@debbugs.gnu.org To: Joseph Turner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 20 08:40:29 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qMNKv-0003iG-2B for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Jul 2023 08:40:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMNKW-0001yc-S4; Thu, 20 Jul 2023 02:40:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMNKV-0001yD-5y for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2023 02:40:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMNKU-0005Cm-QM for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2023 02:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMNKT-0003QE-VH for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2023 02:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jul 2023 06:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64739 X-GNU-PR-Package: emacs Original-Received: via spool by 64739-submit@debbugs.gnu.org id=B64739.168983514213069 (code B ref 64739); Thu, 20 Jul 2023 06:40:01 +0000 Original-Received: (at 64739) by debbugs.gnu.org; 20 Jul 2023 06:39:02 +0000 Original-Received: from localhost ([127.0.0.1]:57560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMNJW-0003Oj-2k for submit@debbugs.gnu.org; Thu, 20 Jul 2023 02:39:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMNJT-0003OE-Pb for 64739@debbugs.gnu.org; Thu, 20 Jul 2023 02:39:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMNJL-00050P-S1; Thu, 20 Jul 2023 02:38:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=3PES0xGjrmdQtFaMee5ks+EHFf/SgVq9rf15ax8AbG4=; b=WZpvm8gm5QKkeC0G6sD4 VfGOGO75y4rIGnI0l1c2ek40eq4ljBp7fQIc7gM75fjqF1mq3lOGBBZ8n32Cdgfu6X+o41VJTKYlZ UX4fdt6gFGokUKb3RDaUEl+YoXoa2hpnfftX8JATgoX7ZKbqzKipoERjUSLFt+fz4wwVE835oYsx1 +4VrZoDD8jv8XX+rHFQnvAYoYktwzdg+Gp6/ChvtCz3punUQzk6abvSgm87ClqSpmK4J73FiabAH7 mU8P6ApMl0JiU4eGaUhDHAjm8fbwKrS9XW2YYDR4L74a+MN+wBJDEHhWoXjJjGkO4Djm4etWC7sQZ ECPf7+DgB5taSw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMNJH-0003vm-RL; Thu, 20 Jul 2023 02:38:50 -0400 In-Reply-To: <87cz0n6qvp.fsf@breatheoutbreathe.in> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265572 Archived-At: > Date: Wed, 19 Jul 2023 23:19:27 -0700 > From: Joseph Turner via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Hello, > > Given the following number with point at ★: > > ★12.34 > > number-at-point correctly returns "12.34". > > However,(forward-thing 'number) puts point just before the period: > > 12★.34 > > while I'd expect: > > 12.34★ > > (get 'number 'forward-op) > ⇒ forward-word > > forward-word doesn't seem to be the correct forward-op for numbers. That depends on the buffer's syntax table, though.