From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.bugs Subject: bug#1282: Improvement to gud.el error message Date: Sat, 1 Nov 2008 21:52:29 +1300 Message-ID: <18700.6349.912463.590432@kahikatea.snap.net.nz> References: <18698.36759.322749.276498@swsmde.ds.mpi-sws.mpg.de> Reply-To: Nick Roberts , 1282@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225530648 18026 80.91.229.12 (1 Nov 2008 09:10:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Nov 2008 09:10:48 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Michael Ernst , 1282@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 01 10:11:49 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KwCWK-0000Z0-Nc for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Nov 2008 10:11:49 +0100 Original-Received: from localhost ([127.0.0.1]:46206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwCVA-0001vR-G5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Nov 2008 05:10:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwCUm-0001ua-0X for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2008 05:10:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwCUh-0001tc-W3 for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2008 05:10:09 -0400 Original-Received: from [199.232.76.173] (port=42645 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwCUh-0001t9-7a for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2008 05:10:07 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60383) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KwCUg-000550-PZ for bug-gnu-emacs@gnu.org; Sat, 01 Nov 2008 05:10:07 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA19A4C6002723; Sat, 1 Nov 2008 02:10:04 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mA1902kh031917; Sat, 1 Nov 2008 02:00:02 -0700 X-Loop: don@donarmstrong.com Resent-From: Nick Roberts Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 01 Nov 2008 09:00:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1282 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1282-submit@emacsbugs.donarmstrong.com id=B1282.122552957030653 (code B ref 1282); Sat, 01 Nov 2008 09:00:02 +0000 Original-Received: (at 1282) by emacsbugs.donarmstrong.com; 1 Nov 2008 08:52:50 +0000 Original-Received: from viper.snap.net.nz (viper.snap.net.nz [202.37.101.25]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mA18qkas030646 for <1282@emacsbugs.donarmstrong.com>; Sat, 1 Nov 2008 01:52:48 -0700 Original-Received: from kahikatea.snap.net.nz (241.61.255.123.dynamic.snap.net.nz [123.255.61.241]) by viper.snap.net.nz (Postfix) with ESMTP id 1EB023DA508; Sat, 1 Nov 2008 21:52:37 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 9B7F08FC6D; Sat, 1 Nov 2008 21:52:31 +1300 (NZDT) In-Reply-To: <18698.36759.322749.276498@swsmde.ds.mpi-sws.mpg.de> X-Mailer: VM 7.19 under Emacs 22.3.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 01 Nov 2008 05:10:09 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22074 Archived-At: > This patch improves an error message in gud.el, by indicating the name of > the file that cannot be found. > > -Michael Ernst If I have a file MyProg.java, with your patch I get: Could not find source file MyProg i.e. the class name not the filename. Have you read this comment in gud.el? ;; The first group matches , ;; the second group matches and the third group ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;; matches . We don't care about using Generally, if there is more than one (non-public) class in the file, the class name needn't match the filename. -- Nick http://www.inet.net.nz/~nickrob