zsh-workers
 help / color / mirror / code / Atom feed
* 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

* Re: New "make" completion
  2009-11-23 21:56   ` Michael Hwang
@ 2009-11-23 22:59     ` Simon Ruderich
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Ruderich @ 2009-11-23 22:59 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

On Mon, Nov 23, 2009 at 01:56:43PM -0800, Michael Hwang wrote:
> 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

It looks like it's missing again.

I'm not sure but if the file is too big it might hit the limit of
the mailing list. You could upload it somewhere else and provide
the link.

Simon
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ 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).