zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: WORDCHARS, etc.
Date: Mon, 14 Jun 1999 15:12:24 +0200 (MET DST)	[thread overview]
Message-ID: <199906141312.PAA23929@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Mon, 14 Jun 1999 09:15:47 +0200


Peter Stephenson wrote:

> One problem remains with the $NUMERIC mechanism:  there's no way of
> differentiating between the case where the prefix was given as 1 and where
> no prefix was given.  This is already noticeable in the completion code for
> specifying numbers of correction.  Possibilities are either a separate
> parameter, which is clumsy, or altering NUMERIC in some way:  I would
> prefer that it is still numerically 1 in either case to avoid confusing
> functions, but maybe it could be '+1' if the prefix wasn't set.  That would
> mean making it a string instead of an integer parameter.

I wouldn't like it to be such a string because we can't easily get at
the default value then. How about leaving it unset if no numeric
argument is given? To be able to say ${NUMERIC:-1}.
(I had this idea some time ago but then forgot to ask...)


Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~1999-06-14 14:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-14 13:12 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-06-15  6:57 Sven Wischnowsky
1999-06-14  9:19 Sven Wischnowsky
1999-06-14 14:42 ` Peter Stephenson
     [not found] <199906101042.MAA23616@beta.informatik.hu-berlin.de>
1999-06-12 15:41 ` Peter Stephenson
1999-06-13  6:53   ` Wayne Davison
1999-06-13 11:17     ` Bart Schaefer
1999-06-14  7:15       ` 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=199906141312.PAA23929@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --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).