From: Zefram <zefram@dcs.warwick.ac.uk>
To: zsh-workers@math.gatech.edu (Z Shell workers mailing list)
Subject: Completion in quotes
Date: Sat, 5 Oct 1996 21:16:41 +0100 (BST) [thread overview]
Message-ID: <3539.199610052016@stone.dcs.warwick.ac.uk> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Minor completion bug: have a buffer consisting of "''a", with the cursor
on the second "'", and press <tab>. You get the "BUG: 0 <= wb <= cs <=
we is not true" message.
-zefram
Index: Src/zle_tricky.c
===================================================================
RCS file: /home/zefram/usr/cvsroot/zsh/Src/zle_tricky.c,v
retrieving revision 1.40
diff -c -r1.40 zle_tricky.c
*** zle_tricky.c 1996/10/03 23:33:54 1.40
--- zle_tricky.c 1996/10/05 15:52:19
***************
*** 779,785 ****
{
if (!line[cs] || line[cs] == '\n' ||
(iblank(line[cs]) && (!cs || line[cs-1] != '\\')) ||
! line[cs] == ')' || line[cs] == '`') {
*ptmp = (char *)line;
line = (unsigned char *)halloc(strlen((char *)line) + 3);
memcpy(line, *ptmp, cs);
--- 779,786 ----
{
if (!line[cs] || line[cs] == '\n' ||
(iblank(line[cs]) && (!cs || line[cs-1] != '\\')) ||
! line[cs] == ')' || line[cs] == '`' ||
! line[cs] == '"' || line[cs] == '\'') {
*ptmp = (char *)line;
line = (unsigned char *)halloc(strlen((char *)line) + 3);
memcpy(line, *ptmp, cs);
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMlaIU3D/+HJTpU/hAQE8rwP+Nw3VacgvK+jBVogG8ZemMHrzNxFoh7TW
F8xw4nEbCOaM/7vBbDVqin2KvHFSREtjjPwZDRKzoVtf/gqd7ohKjIfZrsNXoJ6Q
4DoAx+SGi4vcxgsbuWQAiEbnbekjH0EE20xrCsnGXi+WbYzd2qR9gRAJOWpjAspA
SrZOtNK9qCA=
=iucI
-----END PGP SIGNATURE-----
reply other threads:[~1996-10-05 20:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3539.199610052016@stone.dcs.warwick.ac.uk \
--to=zefram@dcs.warwick.ac.uk \
--cc=zsh-workers@math.gatech.edu \
/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).