unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11864: 24.1.50; error instrumenting pcase in completion-at-point for edebug
@ 2012-07-05  4:59 Michael Heerdegen
  2012-07-05  7:18 ` Glenn Morris
  2019-10-20  7:43 ` bug#10577: " Lars Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Heerdegen @ 2012-07-05  4:59 UTC (permalink / raw)
  To: 11864

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''






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

* bug#11864: 24.1.50; error instrumenting pcase in completion-at-point for edebug
  2012-07-05  4:59 bug#11864: 24.1.50; error instrumenting pcase in completion-at-point for edebug Michael Heerdegen
@ 2012-07-05  7:18 ` Glenn Morris
  2012-07-05  7:41   ` Michael Heerdegen
  2019-10-20  7:43 ` bug#10577: " Lars Ingebrigtsen
  1 sibling, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2012-07-05  7:18 UTC (permalink / raw)
  To: michael_heerdegen; +Cc: 11864

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 .





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

* bug#11864: 24.1.50; error instrumenting pcase in completion-at-point for edebug
  2012-07-05  7:18 ` Glenn Morris
@ 2012-07-05  7:41   ` Michael Heerdegen
  2012-07-05 16:11     ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Heerdegen @ 2012-07-05  7:41 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 11864

Glenn Morris <rgm@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.







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

* bug#11864: 24.1.50; error instrumenting pcase in completion-at-point for edebug
  2012-07-05  7:41   ` Michael Heerdegen
@ 2012-07-05 16:11     ` Stefan Monnier
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2012-07-05 16:11 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 11864

> (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





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

* bug#10577: bug#11864: 24.1.50; error instrumenting pcase in completion-at-point for edebug
  2012-07-05  4:59 bug#11864: 24.1.50; error instrumenting pcase in completion-at-point for edebug Michael Heerdegen
  2012-07-05  7:18 ` Glenn Morris
@ 2019-10-20  7:43 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-20  7:43 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 10577, 11864

Michael Heerdegen <michael_heerdegen@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





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

end of thread, other threads:[~2019-10-20  7:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-05  4:59 bug#11864: 24.1.50; error instrumenting pcase in completion-at-point for edebug Michael Heerdegen
2012-07-05  7:18 ` Glenn Morris
2012-07-05  7:41   ` Michael Heerdegen
2012-07-05 16:11     ` Stefan Monnier
2019-10-20  7:43 ` bug#10577: " Lars Ingebrigtsen

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).