unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* edebug: regrettable loss of information in Emacs 26.1 when printing a variable's value.
@ 2018-05-21 17:10 Alan Mackenzie
  2018-05-21 17:47 ` Noam Postavsky
                   ` (2 more replies)
  0 siblings, 3 replies; 28+ messages in thread
From: Alan Mackenzie @ 2018-05-21 17:10 UTC (permalink / raw)
  To: emacs-devel

Hello, Emacs.

In the upcoming Emacs 26.1, I'm in edebug.  In the program I'm
debugging, there is something nasty in the variable
`syntax-propertize-function', and I need to find out what.

So I do "e" and type in that variable name.

What comes back is this:

    #f(compiled-function (start end) #<bytecode 0x191eb39>)

.  This is thoroughly unhelpful.  In previous versions of Emacs, this
would have printed out the function in enough detail to give variable
names, function names, etc., which could be used to search through the
Emacs source with.

What am I supposed to do with "0x191eb39"?  Can I give that as an
argument to some *Help* function which will give me more details?

I've searched through NEWS for details of this change, in the hope of
finding an option to reverse it, but found nothing.  I searched for
"edebug", then "debug".  Why is there nothing in NEWS about this
somewhat significant change?

So, can I get edebug to print out the contents of a variable containing
a function?  If so how?

I can remember vaguely this topic being discussed on emacs-devel, and
wish I'd paid more attention at the time.

It looks like I might need to go back to Emacs 25.3 to do debugging.
This isn't good.

-- 
Alan Mackenzie (Nuremberg, Germany).



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

end of thread, other threads:[~2018-05-31  2:40 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-21 17:10 edebug: regrettable loss of information in Emacs 26.1 when printing a variable's value Alan Mackenzie
2018-05-21 17:47 ` Noam Postavsky
2018-05-21 18:23   ` Alan Mackenzie
2018-05-21 18:30   ` Eli Zaretskii
2018-05-21 21:20     ` Noam Postavsky
2018-05-22 16:53       ` Eli Zaretskii
2018-05-21 17:58 ` Eli Zaretskii
2018-05-21 19:04   ` Alan Mackenzie
2018-05-21 18:05 ` Stefan Monnier
2018-05-21 21:24   ` Noam Postavsky
2018-05-22  0:52     ` Stefan Monnier
2018-05-23 17:28       ` Stefan Monnier
2018-05-23 16:03     ` Message's text-properties in *Messages* (was: edebug: regrettable loss of information in Emacs 26.1 when printing a variable's value) Stefan Monnier
2018-05-23 16:10       ` Drew Adams
2018-05-23 16:46         ` Message's text-properties in *Messages* Stefan Monnier
2018-05-26  0:48           ` John Wiegley
2018-05-26 15:52             ` Stefan Monnier
2018-05-26 19:50               ` Amin Bandali
2018-05-27 14:36                 ` John Wiegley
2018-05-27 21:28                   ` Amin Bandali
2018-05-23 17:22       ` Message's text-properties in *Messages* (was: edebug: regrettable loss of information in Emacs 26.1 when printing a variable's value) Eli Zaretskii
2018-05-23 17:41         ` Message's text-properties in *Messages* Stefan Monnier
2018-05-23 18:07           ` Eli Zaretskii
2018-05-30 17:19             ` Eli Zaretskii
2018-05-30 19:44               ` Stefan Monnier
2018-05-30 19:55                 ` Eli Zaretskii
2018-05-31  2:09                   ` Stefan Monnier
2018-05-31  2:40                     ` 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).