Package: zsh
Version: 4.3.2-25
Severity: normal

Hi!

The playlist output for mpc was recently slightly modified. This
upset the completion code. Here is a small patch to allow for the
change (This works for older versions as well, I just needed to
relax the glob pattern).


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--- _mpc.orig	2007-01-04 22:49:22.909590520 +0530
+++ _mpc	2007-01-04 22:41:11.953227232 +0530
@@ -95,7 +95,7 @@
   out=("${(@f)$(_call_program song-numbers mpc $foo playlist 2>/dev/null)}")
   out=("${(@M)[EMAIL PROTECTED]:#${~MATCH}}")
 
-  sn=("${(@)${(@M)out}//(#b)(#s)\#([0-9]#)*/$match[1]}")
+  sn=("${(@)${(@M)out}//(#b)(#s)(\#|[ >]#)([0-9]#)*/$match[2]}")
   list=("${(@Mr:COLUMNS-1:)out}")
 
   _wanted -V 'song numbers' expl 'song number' \
Regards,
Ramkumar.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (101, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-beyond2
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8)

Versions of packages zsh depends on:
ii  debconf [debconf-2.0]        1.5.11      Debian configuration management sy
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libncurses5                  5.5-5       Shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libpcre3                      6.7-1      Perl 5 Compatible Regular Expressi

-- no debconf information

-- 
One of the main causes of the fall of the Roman Empire
was that, lacking zero, they had no way to indicate
successful termination of their C programs.
                             -- Robert Firth

Reply via email to