From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4575 invoked from network); 2 Nov 2004 23:14:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 2 Nov 2004 23:14:26 -0000 Received: (qmail 14461 invoked from network); 2 Nov 2004 23:14:20 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 Nov 2004 23:14:20 -0000 Received: (qmail 27861 invoked by alias); 2 Nov 2004 23:14:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20539 Received: (qmail 27845 invoked from network); 2 Nov 2004 23:14:06 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 2 Nov 2004 23:14:06 -0000 Received: (qmail 12804 invoked from network); 2 Nov 2004 23:13:07 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 2 Nov 2004 23:13:06 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 53ADB7004A; Tue, 2 Nov 2004 18:13:04 -0500 (EST) Date: Tue, 2 Nov 2004 18:13:04 -0500 From: Clint Adams To: zsh-workers@sunsite.dk Cc: 279417-forwarded@bugs.debian.org Subject: [lunz@falooley.org: Bug#279417: zsh: "make" completion issues "bad option" warnings for some Makefiles] Message-ID: <20041102231304.GA15509@scowler.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040722i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 Attachment mentioned in the forwarded message at the bottom is at http://bugs.debian.org/cgi-bin/bugreport.cgi/Makefile?bug=279417&msg=3&att=1 This prevents the warnings, though I don't know if there's a deeper problem occurring here. Index: Completion/Unix/Command/_make =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_make,v retrieving revision 1.11 diff -u -r1.11 _make --- Completion/Unix/Command/_make 12 Oct 2004 20:05:13 -0000 1.11 +++ Completion/Unix/Command/_make 2 Nov 2004 23:09:54 -0000 @@ -38,7 +38,7 @@ ;; esac else - print $ret + print -- $ret return fi done ----- Forwarded message from Jason Lunz ----- Date: Tue, 02 Nov 2004 17:31:05 -0500 From: Jason Lunz To: Debian Bug Tracking System Subject: Bug#279417: zsh: "make" completion issues "bad option" warnings for some Makefiles Package: zsh Version: 4.2.1-9 Severity: normal For some Makefiles, trying to complete make targets pollutes the screen with error messages from within the completion code. For example: [barton](2) % make expandVars:36: bad option: -I expandVars:36: bad option: -W expandVars:36: bad option: -h make completions of type: file Makefile x The attached Makefile snippet reproduces the above behavior. Jason -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.10-rc1 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) ----- End forwarded message -----