From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: partial completion mode question
Date: Tue, 22 Apr 2008 22:22:34 +0300 [thread overview]
Message-ID: <ufxtdae4l.fsf@gnu.org> (raw)
In-Reply-To: <lzod81g0pp.fsf@tenbit.pl>
> From: Michal <rabbit50@tenbit.pl>
> Date: Tue, 22 Apr 2008 21:15:46 +0200
>
> I have the following files:
> prompt$ ls -1 /tmp/trace*
> /tmp/trace2.txt
> /tmp/trace.txt
> prompt$
>
>
>
> Now I do:
> M-x partial-completion-mode
> then:
> C-x C-f /tmp/trace.<TAB>
> emacs correctly resolves it to:
> C-x C-f /tmp/trace.txt
> ^
> but leaves |
> cursor here-------+
> instead of at the end of line.
>
> Is it some defect of partial completion mode?
No, it's a feature: partial completion mode leaves point at the
position where there's the first difference between several possible
completions. Unlike what you seem to think, when partial completion
mode is on, trace.<TAB> can complete to both trace.txt and trace2.txt.
This is what partial completion mode is all about: it completes each
part of the input (in this case, the part before and after the period)
independently.
next prev parent reply other threads:[~2008-04-22 19:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-22 19:15 partial completion mode question Michal
2008-04-22 19:22 ` Eli Zaretskii [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-04-24 16:15 Michal
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=ufxtdae4l.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@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.