unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* which-func.el unconditionally requiring edebug
@ 2022-11-25 18:44 Juanma Barranquero
  2022-12-07 15:17 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Juanma Barranquero @ 2022-11-25 18:44 UTC (permalink / raw)
  To: Emacs developers; +Cc: Lars Magne Ingebrigtsen

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

Lars, would it be possible to delay (require 'edebug) until
lisp-current-defun-name is going to be used?

  commit 55cc8b040b0e3c5f97fd1386d1e9c5a120be6340
  Author: Lars Ingebrigtsen <larsi@gnus.org>
  Date:   2022-08-08 14:31:54 +0200

      Make which-func-mode output less junk

      * lisp/emacs-lisp/lisp-mode.el (lisp-current-defun-name): Use
      edebug specs to find the name (if they exist), and default to
      returning the top-level symbol if there isn't a define-like form
      (bug#49592).

I've spent quite a while trying to understand why

(setq edebug-inhibit-emacs-lisp-mode-bindings t)

was not working, turns out that I have

(eval-when-compile (require 'which-fun))

early in my .emacs and I certainly wasn't expecting it to affect edebug.
The change isn't even mentioned in the commit log.

[-- Attachment #2: Type: text/html, Size: 1837 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-08  6:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-25 18:44 which-func.el unconditionally requiring edebug Juanma Barranquero
2022-12-07 15:17 ` Eli Zaretskii
2022-12-07 15:46   ` Juanma Barranquero
2022-12-07 18:09     ` Juanma Barranquero
2022-12-07 18:17       ` Eli Zaretskii
2022-12-07 21:28         ` Juanma Barranquero
2022-12-08  6:11           ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).