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:52:06 +0300 Message-ID: <83r0p1zatl.fsf@gnu.org> References: <87cz0n6qvp.fsf@breatheoutbreathe.in> <831qh33x46.fsf@gnu.org> <87o7k54ff6.fsf@gnu.org> <83tttxzb08.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34677"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64739@debbugs.gnu.org, joseph@breatheoutbreathe.in To: winkler@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 21 14:52:20 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 1qMpcJ-0008ox-9p for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Jul 2023 14:52:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMpc2-0004fd-TJ; Fri, 21 Jul 2023 08:52:02 -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 1qMpc1-0004f4-Vf for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 08:52:01 -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 1qMpc1-00071S-NR for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 08:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMpc1-00006M-Ja for bug-gnu-emacs@gnu.org; Fri, 21 Jul 2023 08:52: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: Fri, 21 Jul 2023 12:52: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.1689943899352 (code B ref 64739); Fri, 21 Jul 2023 12:52:01 +0000 Original-Received: (at 64739) by debbugs.gnu.org; 21 Jul 2023 12:51:39 +0000 Original-Received: from localhost ([127.0.0.1]:60861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMpbe-00005b-Kc for submit@debbugs.gnu.org; Fri, 21 Jul 2023 08:51:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMpbc-000059-4q for 64739@debbugs.gnu.org; Fri, 21 Jul 2023 08:51:36 -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 1qMpbW-0006yl-Sy; Fri, 21 Jul 2023 08:51:30 -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=xdOGMhtbJzGV7+xwed2IpF59VFKLX0GYuh/+kW9jmnI=; b=TknpVzH1J7Y2 XedHlVVN+XTeHaO0tMMfMcZL5vjSisjrriNtJtTFaKgOSIjubREfuvp5fWxB77s3EUTSEPXjnlqQ/ 1DfqBIId2m9dmpFy0uPBrar5BK0FB8G+ARpy5BTCESJEZpUCN5FOBjvodIxidV+AAwNL3fw9dRTws QwmY4Po0TBlJRGE9O/89LAFBs2oroZdl1X+0L6+vLTBA0s7Hm3ut56yw7N5EMguFyWUQsN96VaDAS P7xbowXMeKEwwC2Oqlyhz5KLUIjOiUK+o4a3z1MEJaGbFKH9E3u+QBi/IcK+NKMJHtPz/QKXuDLci TImlPifzbNNtvV8YvcqHEw==; 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 1qMpbW-00070r-Bl; Fri, 21 Jul 2023 08:51:30 -0400 In-Reply-To: <83tttxzb08.fsf@gnu.org> (message from Eli Zaretskii on Fri, 21 Jul 2023 15:48:07 +0300) 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:265696 Archived-At: > Cc: 64739@debbugs.gnu.org, joseph@breatheoutbreathe.in > Date: Fri, 21 Jul 2023 15:48:07 +0300 > From: Eli Zaretskii > > > 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. To clarify: I meant that using forward-word in this case is a kludge.