zsh-workers
 help / color / mirror / code / Atom feed
From: Axel Beckert <abe@deuxchevaux.org>
To: zsh-workers@zsh.org
Subject: Fwd: [Pkg-zsh-devel] Bug#793168: zsh: expand-substitution-on-TAB broke for $(()) in 5.0.8 [origin: adi@hexapodia.org]
Date: Sat, 25 Jul 2015 19:03:41 +0200	[thread overview]
Message-ID: <20150725170340.GY2433@sym.noone.org> (raw)

Hi,

this bug report has been filed against zsh 5.0.8 in Debian:

  https://bugs.debian.org/793168

I've skimmed over the commits and zsh-workers mails since the release
and didn't notice anything covering this issue yet.

I can also reproduce this issue with zsh 5.0.8 in Debian and can
confirm, that it didn't happen with zsh 5.0.7 in Debian.

----- Forwarded message from Andy Isaacson <adi@hexapodia.org> -----
Date: Tue, 21 Jul 2015 16:00:43 -0700
From: Andy Isaacson <adi@hexapodia.org>
Subject: [Pkg-zsh-devel] Bug#793168: zsh: expand-substitution-on-TAB broke for $(()) in 5.0.8
Reply-To: Andy Isaacson <adi@hexapodia.org>, 793168@bugs.debian.org

Package: zsh
Version: 5.0.8-3
Severity: normal

Dear Maintainer,

with zsh 5.0.7 and earlier versions, if I type $((5*8)) and then hit TAB,
the expression is replaced with its evaluation ("40" in this case). The
same feature works with many different substitutions.

as of 5.0.8 TAB-substituting does not work with $(()) anymore.

It does still work right with "${VAR}" and "$[5+8]".

the substitution does get done before running the command:

t440s% echo $((5*8))
40

seems like setopt might influence this behavior:

t440s% setopt
nobeep
globdots
interactive
login
monitor
shinstdin
zle


-- Package-specific info:

Packages which provide vendor completions:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                        Version            Architecture       Description
+++-===========================-==================-==================-============================================================
ii  pulseaudio                  6.0-2              amd64              PulseAudio sound server
ii  systemd                     222-2              amd64              system and service manager
ii  udev                        222-2              amd64              /dev/ and hotplug management daemon
ii  vlc-nox                     2.2.1-2+b1         amd64              multimedia player and streamer (without X support)

dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.2 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zsh depends on:
ii  dpkg        1.18.1
ii  libc6       2.19-19
ii  libcap2     1:2.24-9
ii  libtinfo5   5.9+20150516-2
ii  zsh-common  5.0.8-3

Versions of packages zsh recommends:
ii  libncursesw5  5.9+20150516-2
ii  libpcre3      2:8.35-7

Versions of packages zsh suggests:
ii  zsh-doc  5.0.8-3

-- no debconf information
----- End forwarded message -----

		Regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert, PGP: 612616B5
\ /  Say No to HTML in E-Mail and News            | abe@deuxchevaux.org  (Mail)
 X   See http://arc.pasp.de/                      | abe@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)


             reply	other threads:[~2015-07-25 17:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-25 17:03 Axel Beckert [this message]
2015-07-25 18:54 ` Bart Schaefer
2015-07-25 19:15 ` Peter Stephenson
2015-07-25 20:30   ` 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=20150725170340.GY2433@sym.noone.org \
    --to=abe@deuxchevaux.org \
    --cc=zsh-workers@zsh.org \
    /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).