unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: find-alternate-file default filename annoyance
Date: Wed, 24 Jan 2007 04:06:37 +0000	[thread overview]
Message-ID: <m2tzyh83w2.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: m31wlls2gc.fsf@kfs-l.imdomain.dk

On 2007-01-24, Kim F. Storm said:

> Leo <sdl.web@gmail.com> writes:
>
>> There maybe a good explanation behind the whole cursor placing
>> things. As I found 99% of the time IDO is more convenient than the
>> default behaviors, this one really confuses me. Is it because C-k has
>> been bound to ido-delete-file-at-head, so if the cursor is placed at
>> the beginning of the filename, users might accidentally delete files?
>
> Ok, you have convinced me -- 1% inconvenience is too much :-)
>
> I have modified ido to place the cursor at the start of the input when
> a default item is present (which ffap provides).
>
> I've also made C-a, C-e, C-b, and C-k work more intelligently when the
> cursor is not at the end of the input -- e.g. C-k delete the rest of
> the input, and C-e moves to the end of the input.
>
> C-a normally toggles the "ignore" list processing ... and that is a
> very important binding (C-a = show all).  So C-a cannot be used
> directly to move to the beginning of input, but I changed it so that
> it moves to the beginning of the input if the cursor is _not_ at the
> end of the input ... so use C-b C-a to move cursor to the start of
> input.

Thank you, Kim.

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

  reply	other threads:[~2007-01-24  4:06 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
2007-01-22 23:46       ` Leo
2007-01-24  0:17         ` Kim F. Storm
2007-01-24  4:06           ` Leo [this message]
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

  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=m2tzyh83w2.fsf@sl392.st-edmunds.cam.ac.uk \
    --to=sdl.web@gmail.com \
    --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 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).