From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: progmodes/project.el and search paths Date: Mon, 03 Aug 2015 16:07:17 -0500 Message-ID: <86a8u8f5dm.fsf@stephe-leake.org> References: <55BE209F.1000009@siege-engine.com> <55BE509B.2080307@yandex.ru> <87r3nkjxby.fsf@isaac.fritz.box> <55BF7619.1050701@yandex.ru> <87mvy8jvlh.fsf@isaac.fritz.box> <86lhdsfhz4.fsf@stephe-leake.org> <83zj28tj5q.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438636090 7279 80.91.229.3 (3 Aug 2015 21:08:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Aug 2015 21:08:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 03 23:07:59 2015 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 1ZMMxg-0004uW-QE for ged-emacs-devel@m.gmane.org; Mon, 03 Aug 2015 23:07:56 +0200 Original-Received: from localhost ([::1]:60499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMMxg-0001Wc-1l for ged-emacs-devel@m.gmane.org; Mon, 03 Aug 2015 17:07:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMMxS-0001WV-MC for emacs-devel@gnu.org; Mon, 03 Aug 2015 17:07:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMMxN-0007jO-JT for emacs-devel@gnu.org; Mon, 03 Aug 2015 17:07:42 -0400 Original-Received: from gproxy10-pub.mail.unifiedlayer.com ([69.89.20.226]:39655) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZMMxN-0007jE-CP for emacs-devel@gnu.org; Mon, 03 Aug 2015 17:07:37 -0400 Original-Received: (qmail 9735 invoked by uid 0); 3 Aug 2015 21:07:34 -0000 Original-Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy10.mail.unifiedlayer.com with SMTP; 3 Aug 2015 21:07:34 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw2 with id 0M7Q1r0102UdiVW01M7Toj; Mon, 03 Aug 2015 15:07:32 -0600 X-Authority-Analysis: v=2.1 cv=O9qq4nNW c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=9i_RQKNPAAAA:8 a=y7kgw_RnJtkA:10 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=uRRa74qj2VoA:10 a=mDV3o1hIAAAA:8 a=8PjIdBQJMJSghW5_318A:9 Original-Received: from [76.218.37.33] (port=57478 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1ZMMxC-0006r2-Hc for emacs-devel@gnu.org; Mon, 03 Aug 2015 15:07:26 -0600 In-Reply-To: <83zj28tj5q.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 03 Aug 2015 19:45:53 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.89.20.226 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:188368 Archived-At: Eli Zaretskii writes: >> From: Stephen Leake >> Date: Mon, 03 Aug 2015 11:35:11 -0500 >> >> > A debugger needs to know where the executable is and how it should be >> > called. >> >> gud does that > > No, it doesn't. It leaves it to the user to type the exact file name > every single time. Ah; I was confusing "the debugger exectuable" and "the user executable being debugged". It does remember the last file debugged, so it's not "every single time" :). In addition, when I build things in makefiles, gud does a good job of guessing the correct user executable, and the others are available thru file completion (since they are all in the same directory). I don't see how a project can do better; there will still be a list of possible executables; the most recently compiled isn't necessarily the one I want to debug. -- -- Stephe