Zsh Mailing List Archive
Messages sorted by:
RE: How to get prefix with quotes in completion widgets?
- X-seq: zsh-users 4842
- From: "Ebourne, Martin" <martin.ebourne@xxxxxxxx>
- To: "'zsh-users@xxxxxxxxxx'" <zsh-users@xxxxxxxxxx>
- Subject: RE: How to get prefix with quotes in completion widgets?
- Date: Thu, 18 Apr 2002 09:33:03 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> On Apr 16, 11:26am, Ebourne, Martin wrote:
> } Well what I am completing is SQL.
> Sorry, I don't think you're ever going to get this to work as you want it
> to, and I don't think Sven should expend any effort on making it work.
> The completion system's understanding of quoting is by necessity tightly
> tied to shell quoting syntax. SQL quoting syntax is not equivalent, and
> the internals of zsh should not be in the business of understanding the
> syntax of other languages.
Of course, the correct solution to this problem (which should have been
obvious anyway) is that these special characters need escaping from the
shell. If you do this then everything works perfectly*. The quote keys etc.
can be programmed to automatically add the escape while entering text into
an sql command and so it is largely transparent anyway - even cutting &
pasting statements in works.
(*) So far...
This message is for the named person's use only. It may contain sensitive and private proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. CREDIT SUISSE GROUP and each legal entity in the CREDIT SUISSE FIRST BOSTON or CREDIT SUISSE ASSET MANAGEMENT business units of CREDIT SUISSE FIRST BOSTON reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity.
Unless otherwise stated, any pricing information given in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation.
Messages sorted by: