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: Fri, 21 Jul 2023 15:48:07 +0300 Message-ID: <83tttxzb08.fsf@gnu.org> References: <87cz0n6qvp.fsf@breatheoutbreathe.in> <831qh33x46.fsf@gnu.org> <87o7k54ff6.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13354"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64739@debbugs.gnu.org, joseph@breatheoutbreathe.in To: Roland Winkler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 21 14:48:27 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 1qMpYY-0003HP-3O for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Jul 2023 14:48:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMpYL-00040O-2f; Fri, 21 Jul 2023 08:48:13 -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 1qMpYF-0003yM-NR for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 08:48:07 -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 1qMpYA-0006HJ-CZ for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 08:48:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMpYA-0008Nt-90 for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 08:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Jul 2023 12:48:02 +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.168994365932074 (code B ref 64739); Fri, 21 Jul 2023 12:48:02 +0000 Original-Received: (at 64739) by debbugs.gnu.org; 21 Jul 2023 12:47:39 +0000 Original-Received: from localhost ([127.0.0.1]:60856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMpXm-0008LF-Qm for submit@debbugs.gnu.org; Fri, 21 Jul 2023 08:47:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMpXk-0008Kw-SH for 64739@debbugs.gnu.org; Fri, 21 Jul 2023 08:47:37 -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 1qMpXf-0006FF-EM; Fri, 21 Jul 2023 08:47:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=HJ8RJSPE+TiMPx5giOVne0lf9MAJo2wMybu6Gajx518=; b=Yg1Y3ZdSt57A yEOPxXu2tNGR0wgUflGZknSj8ywPizn73j1jwU+bGLeIpkEu+WK/4lm3NebgE0yksct/yQSuIioYC QSaERbcakXcC81e+fD/1NzSfZ1oWpHnXqeXlswpDDHeEhE/adOZb0lIJR8Icc/btiPxGynwlVe/rp 2G4xAkQE8J2Q0E4sBLSH+fLMKjhFYGFkYflIzg+SAzqggdWelfBRD9ZNbEPVC8ro+9kNceR6BbJ+E QMWxSQLUM+6t7BLSVhEl1O4GLlDAzm7toO6sCdnGGRFNzaGHpTuQCwh7EO5iqYdXe3CRg9669zmBe aBjaCwnhSlM76kr1jJyeQw==; 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 1qMpXe-0006Wm-Gt; Fri, 21 Jul 2023 08:47:31 -0400 In-Reply-To: <87o7k54ff6.fsf@gnu.org> (message from Roland Winkler on Fri, 21 Jul 2023 07:28:29 -0500) 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:265695 Archived-At: > From: Roland Winkler > Cc: Joseph Turner , 64739@debbugs.gnu.org > Date: Fri, 21 Jul 2023 07:28:29 -0500 > > 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.