From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefano Pacifico Newsgroups: gmane.emacs.bugs Subject: bug#21521: 24.5; pdb default suggested command Date: Tue, 22 Sep 2015 15:20:42 -0400 Message-ID: References: <9B98B608-8793-4666-8D1C-E31FFF4F9F1A@pacifico.cc> <836132nb2m.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1442953187 32268 80.91.229.3 (22 Sep 2015 20:19:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Sep 2015 20:19:47 +0000 (UTC) Cc: 21521@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 22 22:19:33 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ZeU2G-0001fR-D7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Sep 2015 22:19:32 +0200 Original-Received: from localhost ([::1]:42589 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeU2F-0001SD-NN for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Sep 2015 16:19:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeU0s-0007fn-5N for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2015 16:18:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZeU0o-000612-T6 for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2015 16:18:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeU0o-00060k-NL for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2015 16:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZeU0o-0003Gk-4U for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2015 16:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefano Pacifico Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Sep 2015 20:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21521 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21521-submit@debbugs.gnu.org id=B21521.144295303812512 (code B ref 21521); Tue, 22 Sep 2015 20:18:02 +0000 Original-Received: (at 21521) by debbugs.gnu.org; 22 Sep 2015 20:17:18 +0000 Original-Received: from localhost ([127.0.0.1]:41963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZeU05-0003Fi-EB for submit@debbugs.gnu.org; Tue, 22 Sep 2015 16:17:17 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:41605) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZeT7L-0001Uk-5w for 21521@debbugs.gnu.org; Tue, 22 Sep 2015 15:20:43 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id DF2AC2080C for <21521@debbugs.gnu.org>; Tue, 22 Sep 2015 15:20:42 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Tue, 22 Sep 2015 15:20:42 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=pacifico.cc; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=D7lYT5LeiIorAm0Pw5KFs0+UwPY=; b=b35Nx2 16WzFXk35og7AtIIjrML1bcEW06cxNeYQQs4jP+v8iO01vK2VnNTGw2KJc4xUlEK TSJpBqspyCSxZhpCw6h6ew9+BOf3Y+fuh3Ja9RQVppRha4qE1R9kt7VQ4Udde/D+ p1z2zEyZtQwlV4j5NptaiMI1b9BHUr4CoTano= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=D7lYT5LeiIorAm0 Pw5KFs0+UwPY=; b=JjrJBPMEKGNA7DUFa5CMVpyFIzKtFro0J2++5TkLjyffvFC 37XRFm49oXNcVcVGtfzvAbHvSmKf7d1SfYMf1WfvWdYAujb6dGAjz7lOx3thwCjK 9CisWJE9FUx60FcsnX+f0vse0UMqPONLEi2pLjBWJFzWqz7VXoAQ1nMr3qmQ= X-Sasl-enc: FQEJPb46Du8NzfWyhlvwQHxQgGvpamKvLYK/Gb8/HSEc 1442949642 Original-Received: from [10.18.107.112] (unknown [65.209.60.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 771DD68016C; Tue, 22 Sep 2015 15:20:42 -0400 (EDT) In-Reply-To: <836132nb2m.fsf@gnu.org> X-Mailer: Apple Mail (2.2104) X-Mailman-Approved-At: Tue, 22 Sep 2015 16:17:16 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106814 Archived-At: Because it does not seem that standard distributions of Python install a = `pdb` executable script in standard PATH locations. This wiki, for = example, https://wiki.python.org/moin/EmacsEditor suggests creating the = link manually.=20 On the other hand, all distributions of Python come with the `pdb.py` = module available by default, so `python -m pdb` should always work.=20 > On Sep 22, 2015, at 3:54 AM, Eli Zaretskii wrote: >=20 >> From: Stefano Pacifico >> Date: Mon, 21 Sep 2015 22:16:53 -0400 >>=20 >> It seems from reading the code in `gud.el` that the system assumes = that the Emacs function/mode (`pdb` in this case) corresponds to the = name of the executable to invoke to perform the debugging, which is not = necessarily the case for `pdb`.=20 >=20 > Why isn't that the case for 'pdb'?