zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: Enhancing math expressions a bit
Date: Tue, 13 Jul 1999 14:40:16 +0200	[thread overview]
Message-ID: <9907131240.AA21982@ibmth.df.unipi.it> (raw)
In-Reply-To: "Sven Wischnowsky"'s message of "Tue, 13 Jul 1999 15:03:26 DFT." <199907131303.PAA10232@beta.informatik.hu-berlin.de>

Sven Wischnowsky wrote:
> This does that: it replaces `keys' with `KEYS' and that contains the
> literal character codes.

Well, here's some documentation.  But I'm worried about what happens with
control-space.  Might it not be better to use an array with the literal
codes in (so a null-string means ^@), or alternatively provide a length
parameter, or use some form of metafication?

> Now, should we add a way to turn such codes into a readable form?

Can probably be done quite simply with a shell function, which could be
marked #autoload if needed.

--- Doc/Zsh/zle.yo.ky2	Wed Jun 23 15:47:06 1999
+++ Doc/Zsh/zle.yo	Tue Jul 13 14:36:22 1999
@@ -154,12 +154,9 @@
 item(tt(LASTWIDGET) (scalar))(
 The name of the last widget that was executed.
 )
-vindex(keys)
-item(tt(keys) (array))(
-The keys typed to invoke this widget, one element per
-key. Control-keys are reported with a leading `tt(^)', as in `tt(^A)',
-and meta-keys are reported with a leading `tt(M-)', as in `tt(M-a)' and 
-`tt(M-^A)'.
+vindex(KEYS)
+item(tt(KEYS) (scalar))(
+The keys typed to invoke this widget, as a literal string.
 )
 vindex(NUMERIC)
 item(tt(NUMERIC) (integer))(

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


  reply	other threads:[~1999-07-13 13:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-13 13:03 Sven Wischnowsky
1999-07-13 12:40 ` Peter Stephenson [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-07-13 13:24 Sven Wischnowsky
1999-07-13 13:11 ` Peter Stephenson
1999-07-07 13:23 Sven Wischnowsky
1999-07-07 13:16 ` Peter Stephenson
1999-07-07 11:05 Sven Wischnowsky
1999-07-07  9:32 Sven Wischnowsky
1999-07-07  8:15 Sven Wischnowsky
1999-07-07 10:42 ` Andrej Borsenkow
1999-07-07 11:40 ` Andrej Borsenkow
1999-07-07 11:57 ` Peter Stephenson
1999-07-07 12:29   ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9907131240.AA21982@ibmth.df.unipi.it \
    --to=pws@ibmth.df.unipi.it \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).