all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Erik Hahn <erik_hahn@gmx.de>
Cc: 28849@debbugs.gnu.org
Subject: bug#28849: 26.0.90; ert-find-test-other-window does not work
Date: Sun, 15 Oct 2017 14:19:01 -0400	[thread overview]
Message-ID: <87mv4s8eay.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87po9oh2xc.fsf@gmx.de> (Erik Hahn's message of "Sun, 15 Oct 2017 16:59:59 +0200")

tags 28849 fixed
close 28849
quit

Erik Hahn <erik_hahn@gmx.de> writes:

> 1. M-x set-variable <RET> debug-on-error <RET> t
>
> 2. Create a new file with the following content:
>
>     (require 'ert)
>     (ert-deftest my-test ()
>         (should nil))
>
>
> 3. Load that file using (load "/path/to/file.el")
>
> 4. M-x ert-find-test-other-window <RET> my-test <RET>
>
>
> This results in the following backtrace:
>
>     Debugger entered--Lisp error: (error "Don’t know where ‘my-test’ is defined")
>     signal(error ("Don’t know where ‘my-test’ is defined"))
>     error("Don't know where `%s' is defined" my-test)
>     find-function-search-for-symbol(my-test ert-deftest nil)
>     find-definition-noselect(my-test ert-deftest)
>     find-function-do-it(my-test ert-deftest switch-to-buffer-other-window)
>     ert-find-test-other-window(my-test)
>     ert-results-find-test-at-point-other-window()
>     funcall-interactively(ert-results-find-test-at-point-other-window)
>     call-interactively(ert-results-find-test-at-point-other-window nil nil)
>     command-execute(ert-results-find-test-at-point-other-window)

Yes, this is a regression from Emacs 25.  I've seen it a few times, but
always when I'm in the middle of investigating other bugs, so I keep
forgetting about it.  Thanks for the reminder, should be fixed now :)

[1: de60992053]: 2017-10-15 13:58:45 -0400
  Fix ert-test finding by symbol (Bug#28849)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=de60992053a6ce21afe218e37bb377e7a5713522





      reply	other threads:[~2017-10-15 18:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-15 14:59 bug#28849: 26.0.90; ert-find-test-other-window does not work Erik Hahn
2017-10-15 18:19 ` Noam Postavsky [this message]

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=87mv4s8eay.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=28849@debbugs.gnu.org \
    --cc=erik_hahn@gmx.de \
    /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.