emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Unable to instrument `org-export-data' using `edebug-defun'
@ 2018-09-22 15:59 Adrian Bradd
  2018-09-22 20:24 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bradd @ 2018-09-22 15:59 UTC (permalink / raw)
  To: emacs-org list


Hello,

Running `edebug-defun' on `org-export-data' produces the following 
error:

edebug-syntax-error: Invalid read syntax: "Failed matching", 
(&rest (&define name (&rest arg) cl-declarations-or-string 
def-body))

The issue seems to relate to the NAME field of the `cl-macrolet' 
function, but I'm not sure if this is user error or a bug.

Cheers,

-- 
Adrian Bradd

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

* Re: Unable to instrument `org-export-data' using `edebug-defun'
  2018-09-22 15:59 Unable to instrument `org-export-data' using `edebug-defun' Adrian Bradd
@ 2018-09-22 20:24 ` Nicolas Goaziou
  2018-09-22 21:02   ` Adrian Bradd
  2018-09-23  3:15   ` Kaushal Modi
  0 siblings, 2 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2018-09-22 20:24 UTC (permalink / raw)
  To: Adrian Bradd; +Cc: emacs-org list

Hello,

Adrian Bradd <adrian.bradd@gmail.com> writes:

> Running `edebug-defun' on `org-export-data' produces the following
> error:
>
> edebug-syntax-error: Invalid read syntax: "Failed matching", (&rest
> (&define name (&rest arg) cl-declarations-or-string def-body))
>
> The issue seems to relate to the NAME field of the `cl-macrolet'
> function, but I'm not sure if this is user error or a bug.

This is probably a bug in the debugger.

Regards,

-- 
Nicolas Goaziou

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

* Re: Unable to instrument `org-export-data' using `edebug-defun'
  2018-09-22 20:24 ` Nicolas Goaziou
@ 2018-09-22 21:02   ` Adrian Bradd
  2018-09-23  3:15   ` Kaushal Modi
  1 sibling, 0 replies; 5+ messages in thread
From: Adrian Bradd @ 2018-09-22 21:02 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-org list


I'll post to emacs-devel and see what they think.

Cheers,

-- 
Adrian Bradd

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

* Re: Unable to instrument `org-export-data' using `edebug-defun'
  2018-09-22 20:24 ` Nicolas Goaziou
  2018-09-22 21:02   ` Adrian Bradd
@ 2018-09-23  3:15   ` Kaushal Modi
  2018-09-23  3:34     ` Adrian Bradd
  1 sibling, 1 reply; 5+ messages in thread
From: Kaushal Modi @ 2018-09-23  3:15 UTC (permalink / raw)
  To: Adrian Bradd, emacs-org list

On Sat, Sep 22, 2018 at 9:00 PM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> Hello,
>
> Adrian Bradd <adrian.bradd@gmail.com> writes:
>
> > Running `edebug-defun' on `org-export-data' produces the following
> > error:
> >
> > edebug-syntax-error: Invalid read syntax: "Failed matching", (&rest
> > (&define name (&rest arg) cl-declarations-or-string def-body))
> >
> > The issue seems to relate to the NAME field of the `cl-macrolet'
> > function, but I'm not sure if this is user error or a bug.
>
> This is probably a bug in the debugger.

Adrian: What emacs version are you using?

Yes, this was a bug in edebug up to Emacs 26.1, but is fixed on the
emacs master branch.

(I happened to have opened this bug on debbugs and it got resolved:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30348 :))

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

* Re: Unable to instrument `org-export-data' using `edebug-defun'
  2018-09-23  3:15   ` Kaushal Modi
@ 2018-09-23  3:34     ` Adrian Bradd
  0 siblings, 0 replies; 5+ messages in thread
From: Adrian Bradd @ 2018-09-23  3:34 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: emacs-org list


> Adrian: What emacs version are you using?
>
> Yes, this was a bug in edebug up to Emacs 26.1, but is fixed on 
> the
> emacs master branch.
>
> (I happened to have opened this bug on debbugs and it got 
> resolved:
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30348 :))

I moved to emacs-snapshot on Ubuntu and the issue has been 
rectified. Thanks for the assistance.

-- 
Adrian Bradd

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

end of thread, other threads:[~2018-09-23  3:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-22 15:59 Unable to instrument `org-export-data' using `edebug-defun' Adrian Bradd
2018-09-22 20:24 ` Nicolas Goaziou
2018-09-22 21:02   ` Adrian Bradd
2018-09-23  3:15   ` Kaushal Modi
2018-09-23  3:34     ` Adrian Bradd

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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).