Subject: bug#9511: Moving the point to / with C-M-f and C-M-b when reading a filename from minibuffer

From: Masatake YAMATO <[email-masked]>
Date: Fri, 13 Apr 2012 10:30:11 +0900 (JST)

Lars Magne Ingebrigtsen <[email-masked]> writes:
> Masatake YAMATO <[email-masked]> writes:
> 
>> This is a request for merge a patch to official GNU Emacs source tree.
>> Following patch adds a function to move the point to / with
>> C-M-f and C-M-b when reading a filename from minibuffer.
> 
> Isn't this virtually the same as `M-f'/`M-b' in most cases?

M-f / M-b captures periods used in extension(suffix).

Consider 

	 /tmp/foo.el<point>

If you type M-b, you will see

	 /tmp/foo.<point>el

What I want with M-C-b is

	 /tmp/<point>foo.el

I think read-file-name should know path separator defined by underlying
operating system.

Masatake YAMATO
 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>   bloggy blog http://lars.ingebrigtsen.no/