* New "make" completion
@ 2009-11-23 2:39 Michael Hwang
2009-11-23 11:44 ` Ingmar Vanhassel
0 siblings, 1 reply; 4+ messages in thread
From: Michael Hwang @ 2009-11-23 2:39 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 861 bytes --]
Hello all,
I spent 3 frustrating days on a computer science lab,
all due to the fact that I mistyped a variable name. Instead of running
"make SIM=../seq/ssim", I was running "make SEQ=../seq/ssim". Of
course, make didn't complain, so I thought my coding was bad. Turns out
that wasn't the case.
To keep myself (or anyone else) from
making such a mistake again, I've added the ability to complete
variable names for make. They are presented alongside possible targets.
The file is entirely re-written, so I've provided it instead of a diff.
The completion should perform exactly the same as the old completion,
except possibly when including other makefiles.
A TODO: Variable completion should be sensitive to targets given to make. That
is, variables should only be presented if they are used in given
targets and their dependencies.
Michael Hwang
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: New "make" completion
2009-11-23 2:39 New "make" completion Michael Hwang
@ 2009-11-23 11:44 ` Ingmar Vanhassel
2009-11-23 21:56 ` Michael Hwang
0 siblings, 1 reply; 4+ messages in thread
From: Ingmar Vanhassel @ 2009-11-23 11:44 UTC (permalink / raw)
To: zsh-workers
Excerpts from Michael Hwang's message of Mon Nov 23 03:39:27 +0100 2009:
> The file is entirely re-written, so I've provided it instead of a diff.
It seems you forgot the attachment. :)
--
Exherbo KDE, X.org maintainer
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: New "make" completion
2009-11-23 11:44 ` Ingmar Vanhassel
@ 2009-11-23 21:56 ` Michael Hwang
2009-11-23 22:59 ` Simon Ruderich
0 siblings, 1 reply; 4+ messages in thread
From: Michael Hwang @ 2009-11-23 21:56 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 613 bytes --]
Oh dear. That's embarrassing. Here you go. I sent it to the old mailing list address at first, and forgot to reattach it when copying my message to the new mailing list address.
Michael Hwang
----- Original Message ----
From: Ingmar Vanhassel <ingmar@exherbo.org>
To: zsh-workers <zsh-workers@zsh.org>
Sent: Mon, November 23, 2009 6:44:08 AM
Subject: Re: New "make" completion
Excerpts from Michael Hwang's message of Mon Nov 23 03:39:27 +0100 2009:
> The file is entirely re-written, so I've provided it instead of a diff.
It seems you forgot the attachment. :)
--
Exherbo KDE, X.org maintainer
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-11-23 23:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-23 2:39 New "make" completion Michael Hwang
2009-11-23 11:44 ` Ingmar Vanhassel
2009-11-23 21:56 ` Michael Hwang
2009-11-23 22:59 ` Simon Ruderich
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).