zsh-workers
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayned@users.sourceforge.net>
To: zsh-workers@sunsite.dk
Subject: Re: Bug#262247: zsh: Improved make completion
Date: Wed, 18 Aug 2004 10:04:27 -0700	[thread overview]
Message-ID: <20040818170426.GC11047@blorf.net> (raw)
In-Reply-To: <20040818150736.GI4753@larve.net>

While I was looking at your patch, I tried turning on useperl without
your patch applied and discovered that the completion of make targets
stopped working.  Here's a patch to fix it:

--- orig/_make	2002-10-03 23:03:41.000000000 -0700
+++ _make	2004-08-18 10:01:53.000000000 -0700
@@ -35,7 +35,7 @@
     elif [[ -n $useperl ]]; then
       tmp=(
       $(perl -ne '@matches = /^(?:([a-zA-Z0-9]+[^\/\t=\s]+)\s*)+:/  and
-	print join(" ", @matches);
+	print join(" ", @matches), "\n";
 if (/^\.include\s+\<bsd\.port\.(subdir\.|pre\.)?mk>/ ||
     /^\.include\s+\".*mk\/bsd\.pkg\.(subdir\.)?mk\"/) {
     print "fetch fetch-list extract patch configure build install reinstall deinstall package describe checkpatch checksum makesum\n";

..wayne..


  reply	other threads:[~2004-08-18 17:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040730101751.GA11905@larve.net>
2004-07-30 15:30 ` Clint Adams
2004-07-30 16:51   ` Hugo Haas
2004-08-18 15:07     ` Hugo Haas
2004-08-18 17:04       ` Wayne Davison [this message]
2004-08-21 18:09       ` Wayne Davison
2004-08-22  1:47         ` Bart Schaefer
2004-08-26 16:10         ` Hugo Haas

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=20040818170426.GC11047@blorf.net \
    --to=wayned@users.sourceforge.net \
    --cc=zsh-workers@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).