zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: PATCH: _sep_parts
Date: Tue, 15 Feb 2000 21:58:59 +0000	[thread overview]
Message-ID: <E12KpwH-0001l3-00.2000-02-15-21-55-21@mail4.svr.pol.co.uk> (raw)

There seems to be a typo in _sep_parts, which I was trying out for the
guide.

By the way, there also seems to be a problem if one of the separators
contains a character that needs quoting: completion quotes it, but
_sep_parts doesn't recognise the quoted string as being the separator when
performing later completions --- there's no use quoting it by hand, since
it gets requoted.  Maybe there's an easy workaround, else judicious use of
-Q may be required, which _sep_parts doesn't accept.  Not that I have an
application for this, anyway.

Index: Completion/Core/_sep_parts
===================================================================
RCS file: /home/pws/CVSROOT/projects/zsh/Completion/Core/_sep_parts,v
retrieving revision 1.5
diff -u -r1.5 _sep_parts
--- Completion/Core/_sep_parts	2000/02/11 19:07:59	1.5
+++ Completion/Core/_sep_parts	2000/02/15 18:47:37
@@ -23,7 +23,7 @@
 # Get the options.
 
 zparseopts -D -a opts \
-    'J:=group' 'V=:group' P: F: S: r: R: q 1 2 n 'X:=expl' 'M+:=match'
+    'J:=group' 'V:=group' P: F: S: r: R: q 1 2 n 'X:=expl' 'M+:=match'
 
 if (( $#match )); then
   match="${match[2]}"

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>


             reply	other threads:[~2000-02-15 21:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-15 21:58 Peter Stephenson [this message]
2000-02-16 16:42 Sven Wischnowsky

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=E12KpwH-0001l3-00.2000-02-15-21-55-21@mail4.svr.pol.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /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 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).