From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.emacs.devel,gmane.lisp.guile.user Subject: Re: [PATCH 1/3] Support Guile backtraces in compilation mode. Date: Fri, 08 Aug 2014 15:53:11 +0200 Organization: AvatarAcademy.nl Message-ID: <87mwbf3x6g.fsf@drakenvlieg.flower> References: <1407495956-20322-1-git-send-email-janneke@gnu.org> <1407495956-20322-2-git-send-email-janneke@gnu.org> <838umzm6t9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1407506029 8510 80.91.229.3 (8 Aug 2014 13:53:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2014 13:53:49 +0000 (UTC) Cc: guile-user@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 08 15:53:44 2014 Return-path: Envelope-to: ged-emacs-devel@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 1XFkc2-0006yK-Kz for ged-emacs-devel@m.gmane.org; Fri, 08 Aug 2014 15:53:42 +0200 Original-Received: from localhost ([::1]:51228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFkc1-0004nf-Uu for ged-emacs-devel@m.gmane.org; Fri, 08 Aug 2014 09:53:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFkbu-0004gv-9D for emacs-devel@gnu.org; Fri, 08 Aug 2014 09:53:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFkbp-0002mW-GG for emacs-devel@gnu.org; Fri, 08 Aug 2014 09:53:34 -0400 Original-Received: from smtp-vbr10.xs4all.nl ([194.109.24.30]:1785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFkba-0002i1-Kr; Fri, 08 Aug 2014 09:53:14 -0400 Original-Received: from drakenvlieg.flower.peder.onsbrabantnet.nl (static.kpn.net [92.70.116.82] (may be forged)) (authenticated bits=0) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id s78DrCcP054601 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 8 Aug 2014 15:53:13 +0200 (CEST) (envelope-from janneke@gnu.org) X-Url: http://AvatarAcademy.nl In-Reply-To: <838umzm6t9.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Aug 2014 16:47:46 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 194.109.24.30 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:173481 gmane.lisp.guile.user:11386 Archived-At: Eli Zaretskii writes: >> +(defcustom compilation-guile-load-path '("/usr/share/guile/2.0" >> "/usr/share/guile/site") > > Not a good idea, IMO. This is inherently system-dependent, and > doesn't support Guile installations with non-default $(prefix). IOW, > it's unreliable. > > How about invoking the Guile executable and asking it to emit the > path? That would be reliable and portable. Yes, I am doing that here +(defcustom compilation-guile-get-load-path-command "guile -c '(write %= load-path)'" + "Guile command to print %load-path to stdout." + :type 'string + :group 'compilation + :version "24.3.2") but have turned it off by default... Possibly just always do this? > Please break the doc string into lines that are shorter than 75 > columns, that's our coding practice. Thanks for your comments! I'm working on a patch right now for Guile to use GNU standard error/info messages as per Stefan's suggestion. Greetings, Jan --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20