Subject: Re: bug#76853: M-b not navigating to the previous word in the prompt string inside Eshell on emacs 30.1

From: Jim Porter <[email-masked]>
Date: Sat, 8 Mar 2025 10:05:25 -0800

On 3/8/2025 12:21 AM, Stefan Kangas wrote:
> Hrishikesh S <[email-masked]> 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?)