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 09:03:22 +0200 (MET DST) [thread overview]
Message-ID: <199906110703.JAA25577@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Bart Schaefer"'s message of Thu, 10 Jun 1999 16:31:39 +0000
Bart Schaefer wrote:
> } I wasn't very happy with the space-removal on redirection operators
> } anyway, though. But to make this right, we would need to leave a space
> } if that was added and to replace a slash (if one was added) with a
> } space. There is no way to do this easily for now.
>
> I don't want zsh to replace a slash if one was added. What if what I
> intend is to complete a directory and then glob files in that directory
> whose names begin with a digit?
Right, that was a thinko.
> I think Andrej's point -- and it's my point, if not his -- is that '<'
> should be left out of the list of characters that do suffix autoremoval.
> (And therefore probably '>' should be too ... and come to think of it,
> even '|' can be part of a glob pattern.)
Ok.
Bye
Sven
diff -u os/Zle/zle_misc.c Src/Zle/zle_misc.c
--- os/Zle/zle_misc.c Fri Jun 11 08:57:47 1999
+++ Src/Zle/zle_misc.c Fri Jun 11 08:59:00 1999
@@ -788,9 +788,8 @@
void
makesuffix(int n)
{
- suffixlen[256] = suffixlen[' '] = suffixlen['\t'] = suffixlen['\n'] =
- suffixlen[';'] = suffixlen['|'] = suffixlen['&'] =
- suffixlen['<'] = suffixlen['>'] = n;
+ suffixlen[256] = suffixlen[' '] = suffixlen['\t'] = suffixlen['\n'] =
+ 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 09:01:57 1999
+++ Doc/Zsh/options.yo Fri Jun 11 09:02:02 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 (such as a semicolon or an ampersand), remove the slash.
+a command (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 7:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-11 7:03 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-06-11 8:18 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=199906110703.JAA25577@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).