unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Masatake YAMATO <yamato@redhat.com>
To: larsi@gnus.org
Cc: 9511@debbugs.gnu.org
Subject: bug#9511: Moving the point to / with C-M-f and C-M-b when reading a filename from minibuffer
Date: Fri, 13 Apr 2012 10:30:11 +0900 (JST)	[thread overview]
Message-ID: <20120413.103011.1645885315853243325.yamato@redhat.com> (raw)
In-Reply-To: <m3vcl4lobx.fsf@stories.gnus.org>

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Masatake YAMATO <yamato@redhat.com> 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/





  reply	other threads:[~2012-04-13  1:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15  8:39 bug#9511: Moving the point to / with C-M-f and C-M-b when reading a filename from minibuffer Masatake YAMATO
2011-09-15 13:03 ` Stefan Monnier
2011-09-15 14:05   ` Masatake YAMATO
2012-04-12 19:52 ` Lars Magne Ingebrigtsen
2012-04-13  1:30   ` Masatake YAMATO [this message]
2012-04-13 21:35     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120413.103011.1645885315853243325.yamato@redhat.com \
    --to=yamato@redhat.com \
    --cc=9511@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).