all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: find-alternate-file default filename annoyance
Date: Mon, 22 Jan 2007 15:49:56 +0100	[thread overview]
Message-ID: <m3k5zf3yln.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <m21wlnu3cj.fsf@sl392.st-edmunds.cam.ac.uk> (Leo's message of "Mon\, 22 Jan 2007 03\:50\:36 +0000")

Leo <sdl.web@gmail.com> writes:

> On 2007-01-21, Richard Stallman said:
>>     You can see 'find-alternate-file' will put `buffer-file-name' as
>>     its filename by default.
>>
>> This is what it has always done.
>
> Indeed the default behavior is not too bad since it places the cursor
> at the beginning of the filename and can be easily removed if user
> wants to choose another one.
>
> *HOWEVER*, there must be a bug in either ffap or ido which cause Emacs
>  to place the cursor at the end of the filename. 

Ido _always_ places the cursor at the end of the "current input", which
in this case happens to be the current buffer filename.

So there is no bug.  Just use M-DEL to delete the filename as
usual with ido.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2007-01-22 14:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-21  6:14 find-alternate-file default filename annoyance Leo
2007-01-21 22:27 ` Richard Stallman
2007-01-22  3:50   ` Leo
2007-01-22 14:49     ` Kim F. Storm [this message]
2007-01-22 23:46       ` Leo
2007-01-24  0:17         ` Kim F. Storm
2007-01-24  4:06           ` Leo
2007-01-29 16:50     ` ido-dired is not activated in ffap (was: find-alternate-file default filename annoyance) Leo
2007-01-30 22:38       ` Kim F. Storm
2007-01-30 23:04         ` Leo

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

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

  git send-email \
    --in-reply-to=m3k5zf3yln.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.