set test prereqs (Emacs, GDB, GPG) v4

2011-11-02 Thread Pieter Praet
On Tue, 1 Nov 2011 22:20:25 +0200, Ali Polatel  wrote:
> On Tue, Nov 01, 2011 at 08:49:10PM +0100, Pieter Praet wrote:
> >Rebased to current master.
> >
> >Previous version:
> >  id:"1307016220-17509-1-git-send-email-pieter at praet.org"
> >
> >Discussion:
> >  id:"1317660447-27520-1-git-send-email-schnouki at schnouki.net"
> >
> 
> Thanks for the nice work!
> I want to share one thing which came up to my mind during reading
> through them. Since we require bash for tests, we might go for using
> bash's builtin 'type -P foo' instead of 'which foo'. Not that it's
> important, just wondered "why not?"
> 
>   -alip

Good suggestion!

In fact, we might as well immediately go for full POSIX compliance.

How do you feel about using `hash' ?  Besides being available in POSIX
sh, it has the added benefit of making subsequent lookups faster [*].


Peace

-- 
Pieter

[*] This statement only applies to the shell built-in.  Other types of
hash may distort your perception of time, which is likely to result
in significantly slower lookups.


Re: set test prereqs (Emacs, GDB, GPG) v4

2011-11-02 Thread Pieter Praet
On Tue, 1 Nov 2011 22:20:25 +0200, Ali Polatel pola...@gmail.com wrote:
 On Tue, Nov 01, 2011 at 08:49:10PM +0100, Pieter Praet wrote:
 Rebased to current master.
 
 Previous version:
   id:1307016220-17509-1-git-send-email-pie...@praet.org
 
 Discussion:
   id:1317660447-27520-1-git-send-email-schno...@schnouki.net
 
 
 Thanks for the nice work!
 I want to share one thing which came up to my mind during reading
 through them. Since we require bash for tests, we might go for using
 bash's builtin 'type -P foo' instead of 'which foo'. Not that it's
 important, just wondered why not?
 
   -alip

Good suggestion!

In fact, we might as well immediately go for full POSIX compliance.

How do you feel about using `hash' ?  Besides being available in POSIX
sh, it has the added benefit of making subsequent lookups faster [*].


Peace

-- 
Pieter

[*] This statement only applies to the shell built-in.  Other types of
hash may distort your perception of time, which is likely to result
in significantly slower lookups.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


set test prereqs (Emacs, GDB, GPG) v4

2011-11-01 Thread Ali Polatel
On Tue, Nov 01, 2011 at 08:49:10PM +0100, Pieter Praet wrote:
>Rebased to current master.
>
>Previous version:
>  id:"1307016220-17509-1-git-send-email-pieter at praet.org"
>
>Discussion:
>  id:"1317660447-27520-1-git-send-email-schnouki at schnouki.net"
>

Thanks for the nice work!
I want to share one thing which came up to my mind during reading
through them. Since we require bash for tests, we might go for using
bash's builtin 'type -P foo' instead of 'which foo'. Not that it's
important, just wondered "why not?"

-alip
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: 



set test prereqs (Emacs, GDB, GPG) v4

2011-11-01 Thread Pieter Praet
Rebased to current master.

Previous version:
  id:"1307016220-17509-1-git-send-email-pieter at praet.org"

Discussion:
  id:"1317660447-27520-1-git-send-email-schnouki at schnouki.net"



set test prereqs (Emacs, GDB, GPG) v4

2011-11-01 Thread Pieter Praet
Rebased to current master.

Previous version:
  id:1307016220-17509-1-git-send-email-pie...@praet.org

Discussion:
  id:1317660447-27520-1-git-send-email-schno...@schnouki.net

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: set test prereqs (Emacs, GDB, GPG) v4

2011-11-01 Thread Ali Polatel

On Tue, Nov 01, 2011 at 08:49:10PM +0100, Pieter Praet wrote:

Rebased to current master.

Previous version:
 id:1307016220-17509-1-git-send-email-pie...@praet.org

Discussion:
 id:1317660447-27520-1-git-send-email-schno...@schnouki.net



Thanks for the nice work!
I want to share one thing which came up to my mind during reading
through them. Since we require bash for tests, we might go for using
bash's builtin 'type -P foo' instead of 'which foo'. Not that it's
important, just wondered why not?

-alip


pgpi6XDhoIY2r.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch