* Completion fails to properly escape parenthesis
@ 2007-02-03 1:39 ` Felix Eckhofer
2007-02-03 14:42 ` Peter Stephenson
0 siblings, 1 reply; 3+ messages in thread
From: Felix Eckhofer @ 2007-02-03 1:39 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 737 bytes --]
Hi.
Have a look at this short session:
> $ mkdir 'some(dir'
> $ cd some<TAB>
> $ cd some\(dir
> cd:5: bad pattern: some(dir
Obviously, completion fails to escape the '(' properly ("cd some\\\(dir"
works fine). Of course in this example "setopt NO_bad_pattern" would
help, but that's a workaround at best.
I'm now officially giving up on finding where that escaping takes place
in zsh, because at 2:38 I thing I deserve some sleep. If anyone could
kindly point me to the right place I will gladly provide a patch.
Tomorrow.
Good night,
felix
--
felix_eckhofer * [fli4l-/eis-team] * ICQ#_59008162
"Ein Betriebssystem sie zu knechten, sie alle zu finden,
ins Dunkle zu treiben und ewig zu binden..."
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Completion fails to properly escape parenthesis
2007-02-03 1:39 ` Completion fails to properly escape parenthesis Felix Eckhofer
@ 2007-02-03 14:42 ` Peter Stephenson
2007-02-03 15:58 ` Felix Eckhofer
0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2007-02-03 14:42 UTC (permalink / raw)
To: zsh-workers
Felix Eckhofer wrote:
> --nextPart1267650.dR9JUp2fVv
> Content-Type: text/plain;
> charset="utf-8"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
>
> Hi.
>
> Have a look at this short session:
> > $ mkdir 'some(dir'
> > $ cd some<TAB>
> > $ cd some\(dir
> > cd:5: bad pattern: some(dir
>
> Obviously, completion fails to escape the '(' properly ("cd some\\\(dir
> works fine).
I must be missing the point here. some\(dir is exactly the right
quoting for a single parenthesis; the result has just the same effect as
'some(dir'. Is your cd doing something clever with patterns? In that
case the problem is there.
--
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Completion fails to properly escape parenthesis
2007-02-03 14:42 ` Peter Stephenson
@ 2007-02-03 15:58 ` Felix Eckhofer
0 siblings, 0 replies; 3+ messages in thread
From: Felix Eckhofer @ 2007-02-03 15:58 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]
Hi.
On Saturday, 3. February 2007, you wrote:
> I must be missing the point here. some\(dir is exactly the right
> quoting for a single parenthesis;
I was suspecting a zsh-specific pattern here that I didn't know of.
However it was just my faulty config.
Sorry,
fe'mark INVALID|WONTFIX'lix
--
felix_eckhofer * [fli4l-/eis-team] * ICQ#_59008162
"Ein Betriebssystem sie zu knechten, sie alle zu finden,
ins Dunkle zu treiben und ewig zu binden..."
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-03 15:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <felix@tribut.de>
2007-02-03 1:39 ` Completion fails to properly escape parenthesis Felix Eckhofer
2007-02-03 14:42 ` Peter Stephenson
2007-02-03 15:58 ` Felix Eckhofer
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).