* Completion in quotes
@ 1996-10-05 20:16 Zefram
0 siblings, 0 replies; only message in thread
From: Zefram @ 1996-10-05 20:16 UTC (permalink / raw)
To: Z Shell workers mailing list
-----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-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-10-05 20:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-05 20:16 Completion in quotes Zefram
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).