all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* partial completion mode question
@ 2008-04-22 19:15 Michal
  2008-04-22 19:22 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Michal @ 2008-04-22 19:15 UTC (permalink / raw)
  To: GNU emacs mailing list

hallo Group Members

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?

Best regards,
Michal




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: partial completion mode question
  2008-04-22 19:15 partial completion mode question Michal
@ 2008-04-22 19:22 ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2008-04-22 19:22 UTC (permalink / raw)
  To: help-gnu-emacs

> 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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: partial completion mode question
@ 2008-04-24 16:15 Michal
  0 siblings, 0 replies; 3+ messages in thread
From: Michal @ 2008-04-24 16:15 UTC (permalink / raw)
  To: emacs mailing list


> 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.
> 

Eli, Thanks for explanation
best regards
Michal




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-24 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-22 19:15 partial completion mode question Michal
2008-04-22 19:22 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2008-04-24 16:15 Michal

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.