GNU bug report logs -
#11864
edebug fails to instrument code which uses net-yet-loaded macros
Previous Next
Reported by: michael_heerdegen <at> web.de
Date: Thu, 5 Jul 2012 05:03:02 UTC
Severity: minor
Tags: confirmed
Merged with 10577
Found in version 24.1.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11864 in the body.
You can then email your comments to 11864 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11864
; Package
emacs
.
(Thu, 05 Jul 2012 05:03:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
michael_heerdegen <at> web.de
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 05 Jul 2012 05:03:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
pcase.el comes with declarations for edebug. However, if I try to
instrument the defun of `completion-at-point' in minibuffer.el (in
emacs -Q), I get the following error:
edebug-syntax-error: Invalid read syntax: "Expected lambda expression"
I guess this should work - but please correct me if I'm wrong.
Thanks,
Michael.
In GNU Emacs 24.1.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2)
of 2012-07-01 on keller, modified by Debian
(emacs-snapshot package, version 2:20120701-1)
Windowing system distributor `The X.Org Foundation', version 11.0.11201902
Configured using:
`configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu'
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.1.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1.50/site-lisp:/usr/share/emacs/site-lisp'
'--without-compress-info' '--with-crt-dir=/usr/lib/i386-linux-gnu/'
'--with-x=yes' '--with-x-toolkit=gtk3' '--with-imagemagick=yes'
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu'
'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g
-Wl,--as-needed -znocombreloc' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11864
; Package
emacs
.
(Thu, 05 Jul 2012 07:24:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 11864 <at> debbugs.gnu.org (full text, mbox):
Michael Heerdegen wrote:
> pcase.el comes with declarations for edebug. However, if I try to
> instrument the defun of `completion-at-point' in minibuffer.el (in
> emacs -Q), I get the following error:
>
> edebug-syntax-error: Invalid read syntax: "Expected lambda expression"
You need to explicitly load pcase first.
I guess this is basically the same issue as http://debbugs.gnu.org/10577 .
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11864
; Package
emacs
.
(Thu, 05 Jul 2012 07:45:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 11864 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> > edebug-syntax-error: Invalid read syntax: "Expected lambda expression"
>
> You need to explicitly load pcase first.
> I guess this is basically the same issue as http://debbugs.gnu.org/10577 .
Indeed.
(Is it possible to autoload the edebug declarations? Just a thought.)
Thanks,
Michael.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11864
; Package
emacs
.
(Thu, 05 Jul 2012 16:17:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 11864 <at> debbugs.gnu.org (full text, mbox):
> (Is it possible to autoload the edebug declarations? Just a thought.)
Autoloading the edebug declarations themselves would require new
autoload machinery, but it should not be difficult to change edebug so
that it autoloads the macro before instrumenting the code.
Stefan
Merged 10577 11864.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 05 Jul 2012 16:21:01 GMT)
Full text and
rfc822 format available.
Changed bug title to 'edebug fails to instrument code which uses net-yet-loaded macros' from '24.1.50; error instrumenting pcase in completion-at-point for edebug'
Request was from
npostavs <at> users.sourceforge.net
to
control <at> debbugs.gnu.org
.
(Sat, 01 Jul 2017 12:45:02 GMT)
Full text and
rfc822 format available.
Added tag(s) confirmed.
Request was from
npostavs <at> users.sourceforge.net
to
control <at> debbugs.gnu.org
.
(Sat, 01 Jul 2017 12:45:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11864
; Package
emacs
.
(Sun, 20 Oct 2019 07:44:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 11864 <at> debbugs.gnu.org (full text, mbox):
Michael Heerdegen <michael_heerdegen <at> web.de> writes:
> pcase.el comes with declarations for edebug. However, if I try to
> instrument the defun of `completion-at-point' in minibuffer.el (in
> emacs -Q), I get the following error:
>
> edebug-syntax-error: Invalid read syntax: "Expected lambda expression"
>
> I guess this should work - but please correct me if I'm wrong.
I'm unable to reproduce this in Emacs 27, so I'm going to go ahead and
guess that it's been fixed in the eight years since it was reported, and
I'm closing this bug report. If you're still seeing this, please reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
10577 <at> debbugs.gnu.org and Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 20 Oct 2019 07:44:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 17 Nov 2019 12:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 159 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.