From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id GAA00280 for ; Sun, 6 Oct 1996 06:28:49 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id QAA27520; Sat, 5 Oct 1996 16:16:59 -0400 (EDT) Resent-Date: Sat, 5 Oct 1996 16:16:59 -0400 (EDT) From: Zefram Message-Id: <3539.199610052016@stone.dcs.warwick.ac.uk> Subject: Completion in quotes To: zsh-workers@math.gatech.edu (Z Shell workers mailing list) Date: Sat, 5 Oct 1996 21:16:41 +0100 (BST) X-Patch: 120 X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]8224.22 X-US-Congress: Moronic fuckers MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"MI85N.0.tj6.x8iLo"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2198 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu -----BEGIN PGP SIGNED MESSAGE----- Minor completion bug: have a buffer consisting of "''a", with the cursor on the second "'", and press . 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-----