From: Nick Roberts <nickrob@snap.net.nz>
To: Michael Ernst <mernst@alum.mit.edu>, 1282@emacsbugs.donarmstrong.com
Cc: bug-gnu-emacs@gnu.org
Subject: bug#1282: Improvement to gud.el error message
Date: Sat, 1 Nov 2008 21:52:29 +1300 [thread overview]
Message-ID: <18700.6349.912463.590432@kahikatea.snap.net.nz> (raw)
In-Reply-To: <18698.36759.322749.276498@swsmde.ds.mpi-sws.mpg.de>
> 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 <fully-qualified-class>,
;; the second group matches <class> and the third group
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
;; matches <line-number>. 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
next prev parent reply other threads:[~2008-11-01 8:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-31 4:54 bug#1282: Improvement to gud.el error message Michael Ernst
2008-11-01 8:52 ` Nick Roberts [this message]
2008-11-02 15:40 ` Michael Ernst
2020-09-19 22:30 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18700.6349.912463.590432@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=1282@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=mernst@alum.mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.