From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.sources Subject: Re: xdgdirs 1.0 Date: Sat, 07 Sep 2013 11:10:03 +0200 Message-ID: <87r4d1atg4.fsf@zigzag.favinet> References: <87hadzczww.fsf@zigzag.favinet> <87y579xc2x.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1378544848 28318 80.91.229.3 (7 Sep 2013 09:07:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Sep 2013 09:07:28 +0000 (UTC) Cc: guile-user@gnu.org, guile-sources@gnu.org To: Andy Wingo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Sep 07 11:07:28 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VIEUK-0005Y3-Cm for guile-user@m.gmane.org; Sat, 07 Sep 2013 11:07:28 +0200 Original-Received: from localhost ([::1]:41219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIEUJ-0005x6-Lr for guile-user@m.gmane.org; Sat, 07 Sep 2013 05:07:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIEU6-0005w6-7G for guile-user@gnu.org; Sat, 07 Sep 2013 05:07:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIEU0-0002ol-HL for guile-user@gnu.org; Sat, 07 Sep 2013 05:07:14 -0400 Original-Received: from smtp209.alice.it ([82.57.200.105]:51053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIEU0-0002oR-7H; Sat, 07 Sep 2013 05:07:08 -0400 Original-Received: from zigzag.favinet (79.7.154.111) by smtp209.alice.it (8.6.060.28) id 5224A48F01E6E1A9; Sat, 7 Sep 2013 11:07:04 +0200 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1VIEX1-00065D-Nf; Sat, 07 Sep 2013 11:10:15 +0200 In-Reply-To: <87y579xc2x.fsf@pobox.com> (Andy Wingo's message of "Sat, 07 Sep 2013 10:36:38 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.105 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10759 gmane.lisp.guile.sources:426 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable () Andy Wingo () Sat, 07 Sep 2013 10:36:38 +0200 > (define mentioned? ...) You could do this as (cute member <> (command-line)), having imported srfi-26. > (cond ((mentioned? "--help") ...) Here I think "when" is much more readable. Also, you can use "(current-file-name)" for a more reliable way to get the current file name. > (cond ((mentioned? "--version") ...) You can use (ice-9 command-line)'s version-etc. Thanks for the tips. I'll try to keep these in mind. =2D-=20 Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list))) =3D> nil --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlIq7W8ACgkQZwMiJEyAdQIAqgCg5jxoyjIR3IMu84D3JrfLGrfg ztoAn3yz5zzRvzlCQQt+Boqe7/HgnRVu =rZkV -----END PGP SIGNATURE----- --=-=-=--