From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: More intellegent suffix removing?
Date: Fri, 11 Jun 1999 10:18:07 +0200 (MET DST) [thread overview]
Message-ID: <199906110818.KAA26161@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Sven Wischnowsky's message of Fri, 11 Jun 1999 09:03:22 +0200 (MET DST)
I wrote:
> - suffixlen[256] = suffixlen[' '] = suffixlen['\t'] = suffixlen['\n'] =
> - suffixlen[';'] = suffixlen['|'] = suffixlen['&'] =
> - suffixlen['<'] = suffixlen['>'] = n;
> + suffixlen[256] = suffixlen[' '] = suffixlen['\t'] = suffixlen['\n'] =
> + suffixlen[';'] = suffixlen['&'] = n;
Damn, damn, damn. That was wrong, wasn't it? A `a|b' is recognized as
a glob pattern only if it is in parentheses, without them this it's a
pipe. And we can't complete `(foo<TAB>' anyway.
Bye
Sven
diff -u os/Zle/zle_misc.c Src/Zle/zle_misc.c
--- os/Zle/zle_misc.c Fri Jun 11 10:12:14 1999
+++ Src/Zle/zle_misc.c Fri Jun 11 10:15:28 1999
@@ -789,7 +789,7 @@
makesuffix(int n)
{
suffixlen[256] = suffixlen[' '] = suffixlen['\t'] = suffixlen['\n'] =
- suffixlen[';'] = suffixlen['&'] = n;
+ suffixlen[';'] = suffixlen['&'] = suffixlen['|'] = n;
}
/* Set up suffix for parameter names: the last n characters are a suffix *
diff -u od/Zsh/options.yo Doc/Zsh/options.yo
--- od/Zsh/options.yo Fri Jun 11 10:13:28 1999
+++ Doc/Zsh/options.yo Fri Jun 11 10:16:09 1999
@@ -120,7 +120,7 @@
item(tt(AUTO_REMOVE_SLASH))(
When the last character resulting from a completion is a slash and the next
character typed is a word delimiter, a slash, or a character that ends
-a command (a semicolon or an ampersand), remove the slash.
+a command (such as a semicolon or an ampersand), remove the slash.
)
pindex(AUTO_RESUME)
cindex(jobs, resuming automatically)
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-06-11 8:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-11 8:18 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-06-11 7:03 Sven Wischnowsky
1999-06-07 12:44 Sven Wischnowsky
1999-06-07 11:41 Sven Wischnowsky
1999-06-07 12:09 ` Andrej Borsenkow
1999-06-10 13:55 ` Andrej Borsenkow
1999-06-10 14:02 ` Sven Wischnowsky
1999-06-10 16:31 ` Bart Schaefer
1999-06-10 16:40 ` Andrej Borsenkow
1999-06-07 11:21 Andrej Borsenkow
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=199906110818.KAA26161@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--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).