From: Peter Stephenson <pws@csr.com>
To: zsh-users@sunsite.dk (Zsh users list)
Subject: Re: _normal:26: bad math expression: operator expected at `0 '
Date: Thu, 25 Apr 2002 16:32:03 +0100 [thread overview]
Message-ID: <1188.1019748723@csr.com> (raw)
In-Reply-To: "Roman Neuhauser"'s message of "Thu, 25 Apr 2002 17:38:33 +0200." <20020425153833.GN82912@roman.mobil.cz>
Roman Neuhauser wrote:
> > It's hard to see how this problem can occur in 4.0.4, unless there's
> > some additional option we should be setting for compatibility in the
> > list given by $_comp_options. If it really is the function from 4.0.4,
> > try running `emulate zsh' before starting and using the new completion
> > system. If it works after that, it would help if you send a list of
> > options you've got set.
>
> You've nailed it down, thanks! Let me know if you need anything else.
>
> roman@roman ~ > setopt 107:0
>...
> octalzeroes
>...
This is the one. I think this applies cleanly to 4.0, but it's obvious
how to do it by hand anyway.
You can fix it simply by editing the installed compinit to add
NO_octalzeroes to _comp_options.
Index: Completion/compinit
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/compinit,v
retrieving revision 1.8
diff -u -r1.8 compinit
--- Completion/compinit 13 Mar 2002 09:28:05 -0000 1.8
+++ Completion/compinit 25 Apr 2002 15:29:47 -0000
@@ -144,6 +144,7 @@
NO_allexport
NO_aliases
NO_errexit
+ NO_octalzeroes
)
# And this one should be `eval'ed at the beginning of every entry point
--
Peter Stephenson <pws@csr.com> Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK Tel: +44 (0)1223 392070
**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.
**********************************************************************
next prev parent reply other threads:[~2002-04-25 15:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-25 14:26 Roman Neuhauser
2002-04-25 14:29 ` Sven Wischnowsky
2002-04-25 15:06 ` Roman Neuhauser
2002-04-25 15:00 ` Peter Stephenson
2002-04-25 15:38 ` Roman Neuhauser
2002-04-25 15:32 ` Peter Stephenson [this message]
2002-04-25 15:57 ` Roman Neuhauser
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=1188.1019748723@csr.com \
--to=pws@csr.com \
--cc=zsh-users@sunsite.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).