From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27735 invoked by alias); 3 Aug 2010 20:30:39 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28121 Received: (qmail 4423 invoked from network); 3 Aug 2010 20:30:37 -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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.214.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=YrsBd62cR9Bhe4gcjwFnXrVnbcSpbf7z7vvtbd/GTAM=; b=MsWSPLAgAwGQDhAFECQQHCKrcCf13VdNXVWUD87pgCFLtia52AUnheZKqlYnvKCVpl I0rTBJDT6EYV4N0Nna3Ut/+JJbXi3sHrX/EGH0UhkWKQeQRWeBSPF2ch6GDhRIL+X8zc sh7e1p1kjivPuCgiPf1392KjnNYQVCxwNFJb0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=UVvNDU7/sSyGXwx7JrSbPvfuAGaDBHvaD4wWgNNyeHIwF+u2OLgB1xFdO2qkAIe4TI HiQft1gDZSynjarJqNe/HkFtXmC1L4PLaJiizIwYYxsUuUwZHw8aPSAGmbiBluBBH7uB h64ER8rgEa1HflKiyfFUXBVn3ygnjBY33ON7k= MIME-Version: 1.0 Date: Tue, 3 Aug 2010 22:30:32 +0200 Message-ID: Subject: Oddity with reset-prompt and vared From: Mikael Magnusson To: zsh workers Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This is mostly out of curiosity, I've already worked around the problem by checking $CONTEXT for vared before running reset-prompt since it doesn't make sense anyway, but I noticed this happening % zsh -f % function a() { zle reset-prompt; zle .accept-line } % zle -N accept-line a % a=3D % vared a aoeua % vared a =E3=81=A1=E3=81=A8=E3=81=97=E3=81=AF=E3=81=8D =E3=81=A1 % If the cause of this isn't immediately obvious then I won't be sad if no one investigates further, just thought I'd mention it. --=20 Mikael Magnusson