From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: add-relative-load-path ? Date: Mon, 23 Jan 2012 19:36:27 +0000 Message-ID: <87fwf6rz2c.fsf@neil-laptop.ossau.uklinux.net> References: <87zkdycjl6.fsf@pobox.com> <87boq6q7jq.fsf@neil-laptop.ossau.uklinux.net> <87zkdiq851.fsf@pobox.com> <87r4yssl1p.fsf@neil-laptop.ossau.uklinux.net> <87y5sypvre.fsf@pobox.com> <87wr8ia0dz.fsf@gnu.org> <87pqeao0g0.fsf@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327347405 19387 80.91.229.12 (23 Jan 2012 19:36:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Jan 2012 19:36:45 +0000 (UTC) Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jan 23 20:36:40 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RpPgz-0004uC-FU for guile-devel@m.gmane.org; Mon, 23 Jan 2012 20:36:37 +0100 Original-Received: from localhost ([::1]:48909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpPgy-00026B-U2 for guile-devel@m.gmane.org; Mon, 23 Jan 2012 14:36:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpPgw-000263-GQ for guile-devel@gnu.org; Mon, 23 Jan 2012 14:36:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpPgu-0004o6-ST for guile-devel@gnu.org; Mon, 23 Jan 2012 14:36:34 -0500 Original-Received: from out1.ip05ir2.opaltelecom.net ([62.24.128.241]:54875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpPgu-0004nW-KD; Mon, 23 Jan 2012 14:36:32 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EANW1HU9OkRvB/2dsb2JhbABChQmpIIEGgXIBAQQBIzMjBQsIAxoCBSECAg8BBCUkE4d8AqcUkSqBL4lhgRYEp2c X-IronPort-AV: E=Sophos;i="4.71,557,1320624000"; d="scan'208";a="367688573" Original-Received: from host-78-145-27-193.as13285.net (HELO arudy) ([78.145.27.193]) by out1.ip05ir2.opaltelecom.net with ESMTP; 23 Jan 2012 19:36:29 +0000 Original-Received: from neil-laptop.ossau.uklinux.net.ossau.homelinux.net (host-78-145-27-193.as13285.net [78.145.27.193]) by arudy (Postfix) with ESMTPA id 800D43802E; Mon, 23 Jan 2012 19:36:28 +0000 (GMT) In-Reply-To: <87pqeao0g0.fsf@pobox.com> (Andy Wingo's message of "Mon, 23 Jan 2012 17:20:15 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 62.24.128.241 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13648 Archived-At: Andy Wingo writes: > Hi, > > On Mon 23 Jan 2012 16:45, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Andy Wingo skribis: >> >>> (add-to-load-path (dirname (dirname (current-filename)))) >> >> What about calling it =E2=80=98current-file-name=E2=80=99 instead? I sympathise with that too, although I know I was inconsistent in my own last email in this thread. > > (apropos "filename") > (guile): set-module-filename! # > (guile): module-filename # > (guile): current-filename > (guile): set-port-filename! # > (guile): port-filename # > (ice-9 readline): filename-completion-function # > > (apropos "file-name") > >=20 > > Though I am responsible for three of those, I think I was just following > established convention. Hmm, tricky to argue with that though. Neil