GNU bug report logs - #375
forward-word cmd finds beginning of next word

Previous Next

Package: emacs;

Reported by: "Gunnar P. Vestergaard" <post <at> gunnar-pv.fo>

Date: Sat, 7 Jun 2008 14:50:04 UTC

Severity: wishlist

Tags: wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 375 in the body.
You can then email your comments to 375 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#375; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Gunnar P. Vestergaard" <post <at> gunnar-pv.fo>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Gunnar P. Vestergaard" <post <at> gunnar-pv.fo>
To: bug-gnu-emacs <at> gnu.org
Subject: forward-word cmd finds beginning of next word
Date: Sat, 07 Jun 2008 15:40:12 +0100
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





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#375; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Eli Zaretskii <eliz <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Gunnar P. Vestergaard" <post <at> gunnar-pv.fo>,
        375 <at> debbugs.gnu.org
Cc: bug-gnu-emacs <at> gnu.org, bug-submit-list <at> donarmstrong.com,
        bug-gnu-emacs <at> gnu.org
Subject: Re: bug#375: forward-word cmd finds beginning of next word
Date: Sat, 07 Jun 2008 19:52:36 +0300
> Date: Sat, 07 Jun 2008 15:40:12 +0100
> From: "Gunnar P. Vestergaard" <post <at> gunnar-pv.fo>
> 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.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#375; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Eli Zaretskii <eliz <at> gnu.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#375; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #20 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Gunnar P. Vestergaard" <post <at> gunnar-pv.fo>
Cc: 375 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#375: forward-word cmd finds beginning of next word
Date: Sat, 07 Jun 2008 13:41:19 -0400
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





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#375; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Tags added: wontfix Request was from Stefan Monnier <monnier <at> iro.umontreal.ca> to control <at> emacsbugs.donarmstrong.com. (Sat, 07 Jun 2008 19:15:05 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#375; Package emacs. (Wed, 18 Feb 2009 13:00:02 GMT) Full text and rfc822 format available.

View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#375: closed (forward-word cmd finds beginning of next word)
Date: Wed, 22 Feb 2012 02:25:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 21 Feb 2012 21:22:21 -0500
with message-id <w9sji3eheq.fsf <at> fencepost.gnu.org>
and subject line Re: bug#375: forward-word cmd finds beginning of next word
has caused the debbugs.gnu.org bug report #375,
regarding forward-word cmd finds beginning of next word
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
375: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=375
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Gunnar P. Vestergaard" <post <at> gunnar-pv.fo>
To: bug-gnu-emacs <at> gnu.org
Subject: forward-word cmd finds beginning of next word
Date: Sat, 07 Jun 2008 15:40:12 +0100
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



[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 375-done <at> debbugs.gnu.org
Subject: Re: bug#375: forward-word cmd finds beginning of next word
Date: Tue, 21 Feb 2012 21:22:21 -0500
Thanks for the report, but as was explained this won't be changed.


Notification sent to "Gunnar P. Vestergaard" <post <at> gunnar-pv.fo>:
bug acknowledged by developer. (Wed, 22 Feb 2012 02:25:02 GMT) Full text and rfc822 format available.

Message #33 received at 375-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 375-done <at> debbugs.gnu.org
Subject: Re: bug#375: forward-word cmd finds beginning of next word
Date: Tue, 21 Feb 2012 21:22:21 -0500
Thanks for the report, but as was explained this won't be changed.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Mar 2012 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 99 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.