From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29459 invoked by alias); 11 Sep 2012 07:51:21 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17256 Received: (qmail 5996 invoked from network); 11 Sep 2012 07:51:19 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at gmx.net designates 213.165.64.22 as permitted sender) X-Authenticated: #28939725 X-Provags-ID: V01U2FsdGVkX1/gwD8pD0jgVPQicZtt1/QJJlul/FP3sW6JL6aTSC k3pqShh6q8DDKN Message-ID: <504EED6B.7030403@gmx.net> Date: Tue, 11 Sep 2012 09:51:07 +0200 From: Pascal Wittmann User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120828 Thunderbird/15.0 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: Magic-Backspace X-Enigmail-Version: 1.4.4 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigCDCDBF6F87B7149B50242154" X-Y-GMX-Trusted: 0 --------------enigCDCDBF6F87B7149B50242154 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I thought of implementing some magic-backspace that removes characters until the 'current' completion is ambiguous (i.e. some extended version of undo). For example, if I type autoconf and press 'magic-backspace' it would result in auto The problem I'm facing is that I can not find out if the current completion is ambiguous. Is this possible at all? (I've tried to abuse complete-word and friends, but without success). Regards Pascal --------------enigCDCDBF6F87B7149B50242154 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEAREKAAYFAlBO7WsACgkQyJms5+IyKFKcUQCfRcRLHSYq5RbJ+J3f+87p3BTx Mf0AnRnRO/t7F30Cx9Q2I9Zh/8/9F6IK =M/S3 -----END PGP SIGNATURE----- --------------enigCDCDBF6F87B7149B50242154--