From unknown Sat Aug 16 10:40:26 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#375 <375@debbugs.gnu.org> To: bug#375 <375@debbugs.gnu.org> Subject: Status: forward-word cmd finds beginning of next word Reply-To: bug#375 <375@debbugs.gnu.org> Date: Sat, 16 Aug 2025 17:40:26 +0000 retitle 375 forward-word cmd finds beginning of next word reassign 375 emacs submitter 375 "Gunnar P. Vestergaard" severity 375 wishlist tag 375 wontfix thanks From post@gunnar-pv.fo Sat Jun 7 07:40:24 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.0 required=4.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Jun 2008 14:40:24 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m57EeHmI029932 for ; Sat, 7 Jun 2008 07:40:19 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4zab-0002Ig-2r for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 10:40:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4zaa-0002IA-1h for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 10:40:16 -0400 Received: from [199.232.76.173] (port=57477 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4zaZ-0002I1-Ia for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 10:40:15 -0400 Received: from post-relay2.olivant.fo ([212.55.32.105]:33900) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K4zaZ-0001EY-5H for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 10:40:15 -0400 Received: from post-relay2.olivant.fo (localhost [127.0.0.1]) by antivirus.post.olivant.fo (Postfix) with SMTP id C39A828E4F72 for ; Sat, 7 Jun 2008 15:40:12 +0100 (WEST) Received: from macmini.local (unknown [212.55.39.246]) by post-relay2.olivant.fo (Postfix) with ESMTP id B020B28E4F72 for ; Sat, 7 Jun 2008 15:40:12 +0100 (WEST) Message-ID: <484A9DCC.2090602@gunnar-pv.fo> Date: Sat, 07 Jun 2008 15:40:12 +0100 From: "Gunnar P. Vestergaard" User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: forward-word cmd finds beginning of next word Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 I have a feature request for GNU Emacs: In Emacs, when using the command forward-word, with the keyboard shortcut M-F, I understand that Emacs places point just after the end of the current word, pointing at the beginning of a non-letter sequence. And the command backward-word, with the keyboard shortcut M-B, places point at the beginning of the current word, or if it is already at the beginning of a word, it places point at the beginning of the previous word. I would like if those two commands, forward-word and backward-word, had identical results, i.e. so that the command forward-word would instead place point at the beginning of the next word, just as the command backward-word places the point at the beginning of a word. Has this issue ever been discussed? In Microsoft Windows, when you edit a text and you move forward one word with Ctrl-ArrowRight, the cursor is placed at the beginning of a word. It makes more sense, I think. Not that MS Windows is a great operating system. It sucks, actually. I am not subscribed to the bug-gnu-emacs mailing list, so would someone send a reply to my e-mail address? Gunnar Vestergaard Torshavn, Faroe Islands From eliz@gnu.org Sat Jun 7 09:52:46 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Jun 2008 16:52:46 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m57Gqfb2029799 for ; Sat, 7 Jun 2008 09:52:42 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K51ei-00030U-Pm for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 12:52:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K51eh-0002zU-Hr for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 12:52:40 -0400 Received: from [199.232.76.173] (port=40729 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K51eh-0002zI-C6 for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 12:52:39 -0400 Received: from mtaout2.012.net.il ([84.95.2.4]:58123) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K51eg-0005LB-TZ for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 12:52:39 -0400 Received: from HOME-C4E4A596F7 ([80.230.28.131]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K2300IEYRKLN252@i_mtaout2.012.net.il> for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 20:07:34 +0300 (IDT) Date: Sat, 07 Jun 2008 19:52:36 +0300 From: Eli Zaretskii Subject: Re: bug#375: forward-word cmd finds beginning of next word In-reply-to: <484A9DCC.2090602@gunnar-pv.fo> X-012-Sender: halo1@inter.net.il To: "Gunnar P. Vestergaard" , 375@debbugs.gnu.org Cc: bug-gnu-emacs@gnu.org, bug-submit-list@donarmstrong.com, bug-gnu-emacs@gnu.org Reply-to: Eli Zaretskii Message-id: References: <484A9DCC.2090602@gunnar-pv.fo> X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 > Date: Sat, 07 Jun 2008 15:40:12 +0100 > From: "Gunnar P. Vestergaard" > Cc: > > I have a feature request for GNU Emacs: In Emacs, when using the command > forward-word, with the keyboard shortcut M-F, I understand that Emacs > places point just after the end of the current word, pointing at the > beginning of a non-letter sequence. And the command backward-word, with > the keyboard shortcut M-B, places point at the beginning of the current > word, or if it is already at the beginning of a word, it places point at > the beginning of the previous word. > > I would like if those two commands, forward-word and backward-word, had > identical results, i.e. so that the command forward-word would instead > place point at the beginning of the next word, just as the command > backward-word places the point at the beginning of a word. You _might_ succeed asking for this as an optional feature. Asking for changing the default behavior is a non-starter, since many users and most developers (including myself) consider the current behavior a feature, and will never trade it for anything like what you describe. Btw, you should be able to write your own replacements for these commands that behave like you want by using search-forward-regexp with a suitable regexp. From monnier@iro.umontreal.ca Sat Jun 7 10:41:27 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_LOW,VALID_BTS_CONTROL autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 7 Jun 2008 17:41:27 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m57HfN7t009793 for ; Sat, 7 Jun 2008 10:41:24 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K52Pq-0002pW-S4 for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 13:41:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K52Pp-0002of-9g for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 13:41:22 -0400 Received: from [199.232.76.173] (port=39759 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K52Pp-0002oV-5t for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 13:41:21 -0400 Received: from ironport2-out.pppoe.ca ([206.248.154.182]:25850 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K52Pp-0003zu-2w for bug-gnu-emacs@gnu.org; Sat, 07 Jun 2008 13:41:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgQCAJNkSkjO+ISodGdsb2JhbACBVpAyASecTQ X-IronPort-AV: E=Sophos;i="4.27,605,1204520400"; d="scan'208";a="22257068" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 07 Jun 2008 13:41:19 -0400 Received: from pastel.home ([206.248.132.168]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id NXW76519; Sat, 07 Jun 2008 13:41:19 -0400 Received: by pastel.home (Postfix, from userid 20848) id 834878864; Sat, 7 Jun 2008 13:41:19 -0400 (EDT) From: Stefan Monnier To: "Gunnar P. Vestergaard" Cc: 375@debbugs.gnu.org, bug-gnu-emacs@gnu.org Subject: Re: bug#375: forward-word cmd finds beginning of next word Message-ID: References: <484A9DCC.2090602@gunnar-pv.fo> Date: Sat, 07 Jun 2008 13:41:19 -0400 In-Reply-To: <484A9DCC.2090602@gunnar-pv.fo> (Gunnar P. Vestergaard's message of "Sat, 07 Jun 2008 15:40:12 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. tag 375 +wontfix > I have a feature request for GNU Emacs: In Emacs, when using the command > forward-word, with the keyboard shortcut M-F, I understand that Emacs places > point just after the end of the current word, pointing at the beginning of > a non-letter sequence. And the command backward-word, with the keyboard > shortcut M-B, places point at the beginning of the current word, or if it is > already at the beginning of a word, it places point at the beginning of the > previous word. All possible variants have advantages and disadvantages. The advantage of Emacs's behavior is that you can get to either end of a word. E.g. you can get the behavior you want if you do M-f M-f M-b (tho this only works if you're not at the end of the buffer, obviously). There's not much point changing the behavior to something else which is not clearly better. The argument that it is "what people expect" doesn't have much weight here, because the difference doesn't lead to confusion. Stefan From monnier@iro.umontreal.ca Sat Jun 7 12:08:03 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00,ONEWORD, VALID_BTS_CONTROL autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 7 Jun 2008 19:08:03 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m57J7vrg031088 for ; Sat, 7 Jun 2008 12:07:58 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvMBAKt5SkjO+ISodGdsb2JhbACBVoc7iHgBJ5xE X-IronPort-AV: E=Sophos;i="4.27,605,1204520400"; d="scan'208";a="22260249" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 07 Jun 2008 15:07:51 -0400 Received: from pastel.home ([206.248.132.168]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id NZO67151; Sat, 07 Jun 2008 15:07:51 -0400 Received: by pastel.home (Postfix, from userid 20848) id 3B3068864; Sat, 7 Jun 2008 15:07:51 -0400 (EDT) From: Stefan Monnier To: control@debbugs.gnu.org Subject: asd Message-ID: Date: Sat, 07 Jun 2008 15:07:49 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii tag 375 +wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 21 21:24:44 2012 Received: (at 375-done) by debbugs.gnu.org; 22 Feb 2012 02:24:44 +0000 Received: from localhost ([127.0.0.1]:49623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S01sq-00083m-0S for submit@debbugs.gnu.org; Tue, 21 Feb 2012 21:24:44 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:55515 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S01sn-00083c-Pg for 375-done@debbugs.gnu.org; Tue, 21 Feb 2012 21:24:42 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S01qX-00069k-M8; Tue, 21 Feb 2012 21:22:21 -0500 From: Glenn Morris To: 375-done@debbugs.gnu.org Subject: Re: bug#375: forward-word cmd finds beginning of next word References: <484A9DCC.2090602@gunnar-pv.fo> X-Spook: codes Defcon Aladdin kilderkin Firefly cybercash MD4 Ft. X-Ran: TB`VGy^e_Ku&,VX(uGeH.[}t2.6%Op:6Af\5SW3/lLPD,).V|VMD[RI3|91NqbvOWMq'm= X-Hue: black X-Attribution: GM Date: Tue, 21 Feb 2012 21:22:21 -0500 In-Reply-To: (Stefan Monnier's message of "Sat, 07 Jun 2008 13:41:19 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 375-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Thanks for the report, but as was explained this won't be changed. From unknown Sat Aug 16 10:40:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 21 Mar 2012 11:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator