GNU bug report logs - #76853
M-b not navigating to the previous word in the prompt string inside Eshell on emacs 30.1

Previous Next

Package: emacs;

Reported by: Hrishikesh S <hrish2006 <at> gmail.com>

Date: Sat, 8 Mar 2025 06:54:02 UTC

Severity: normal

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jim Porter <jporterbugs <at> gmail.com>
To: Stefan Kangas <stefankangas <at> gmail.com>, Hrishikesh S <hrish2006 <at> gmail.com>, 76853 <at> debbugs.gnu.org
Subject: bug#76853: M-b not navigating to the previous word in the prompt string inside Eshell on emacs 30.1
Date: Sat, 8 Mar 2025 10:05:25 -0800
On 3/8/2025 12:21 AM, Stefan Kangas wrote:
> Hrishikesh S <hrish2006 <at> gmail.com> writes:
> 
>> which I installed by simply running "brew install emacs" on my work machine,
>> when I'm inside the eshell buffer, typing `M-b` does not take me back by a
>> word like how it used to be.
[snip]
> 
> Jim, any comments?

Like 'shell' has for a long time, Eshell now uses fields when 
propertizing the prompt, and '(for|back)ward-word' don't move across 
field boundaries by default. So this is the intended default behavior.

You could try setting 'inhibit-field-text-motion' to nil buffer-locally, 
though maybe that's a drastic change. Is there a better way to do that? 
(Or if not, should there be?)




This bug report was last modified 70 days ago.

Previous Next


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