zsh-workers
 help / color / mirror / code / Atom feed
* listing pathnames with metacharacters
@ 2002-05-13 10:25 Borsenkow Andrej
  2002-05-13 11:16 ` Sven Wischnowsky
  0 siblings, 1 reply; 2+ messages in thread
From: Borsenkow Andrej @ 2002-05-13 10:25 UTC (permalink / raw)
  To: 'zsh-workers@sunsite.dk'

Actually I just realized that in other context completion correctly lists
unquoted matches (while inserting quoted versions of course):

bor@itsrm2% info ZSH Completion\ System
Completing menu item
Command Execution         -- 
Completion System         -- 
Completion Using compctl  --
...

But for file names it both lists and inserts quoted version:

bor@itsrm2% l a\ b/
Completing files
a\ b/      c\ d/      uudecode/

is it intentional? I too would like to see unquoted file names in list. Am I
wrong or it was this way at some point?

-andrej


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

* Re: listing pathnames with metacharacters
  2002-05-13 10:25 listing pathnames with metacharacters Borsenkow Andrej
@ 2002-05-13 11:16 ` Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2002-05-13 11:16 UTC (permalink / raw)
  To: zsh-workers


Borsenkow Andrej wrote:

> Actually I just realized that in other context completion correctly lists
> unquoted matches (while inserting quoted versions of course):
> 
> bor@itsrm2% info ZSH Completion\ System
> Completing menu item
> Command Execution         -- 
> Completion System         -- 
> Completion Using compctl  --
> ...
> 
> But for file names it both lists and inserts quoted version:
> 
> bor@itsrm2% l a\ b/
> Completing files
> a\ b/      c\ d/      uudecode/
> 
> is it intentional? I too would like to see unquoted file names in list. Am I
> wrong or it was this way at some point?

No it's the (core of) _describe which is causing this exception. I'll
have a look. It was always (intended to be) the case that the list
contained the words in quoted form. I vaguely remember some discussion
about this and the argument for using quotes that this should make
clearer which parts in the list belong together and which are really
separate matches.

Though this is probably less of an issue in the cases where _describe
is used.


Bye
  Sven

-- 
Sven Wischnowsky                          wischnow@berkom.de


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

end of thread, other threads:[~2002-05-13 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-13 10:25 listing pathnames with metacharacters Borsenkow Andrej
2002-05-13 11:16 ` Sven Wischnowsky

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).