From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19707 invoked by alias); 2 Aug 2011 17:02:36 -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: 16194 Received: (qmail 17954 invoked from network); 2 Aug 2011 17:02:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) 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.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at gmx.net designates 213.165.64.23 as permitted sender) X-Authenticated: #28939725 X-Provags-ID: V01U2FsdGVkX19QoI0DPVZQgHYomk7gEMkB8YSrWG0+yxeNwzKHKS rKj8shW0p2zvVQ Message-ID: <4E382DF2.8030405@gmx.net> Date: Tue, 02 Aug 2011 19:03:46 +0200 From: Pascal Wittmann User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110628 Thunderbird/5.0 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: Re: zle insert problems References: <4E380791.2090807@gmx.net> <4E380FF2.3020309@gmx.net> <4E38178A.9050406@gmx.net> <110802094509.ZM28603@torch.brasslantern.com> In-Reply-To: <110802094509.ZM28603@torch.brasslantern.com> X-Enigmail-Version: 1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigFC459EB24F198B59C90C6A18" X-Y-GMX-Trusted: 0 --------------enigFC459EB24F198B59C90C6A18 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 08/02/2011 06:45 PM, Bart Schaefer wrote: > On Aug 2, 5:28pm, Pascal Wittmann wrote: > }=20 > } I'll take this solution but just to have a explicit no: There is no w= ay > } doing this only via zle? >=20 > [=85] >=20 > Another reason for using zle commands is that they properly maintain > the relative positions of $MARK and $CURSOR, which get lost when you > modify LBUFFER directly. However, there isn't a zle command to insert > arbitrary characters. Thank you for this enlightening post! --------------enigFC459EB24F198B59C90C6A18 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEAREKAAYFAk44LfkACgkQyJms5+IyKFJ8JQCeOIDYggFIl1ggy/pqW0b0ynaK OLsAn0Z505dR5nHibVWoGS9GMwjuscKJ =oAi+ -----END PGP SIGNATURE----- --------------enigFC459EB24F198B59C90C6A18--