unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64070: 29.0.91; (documentation) Errors when byte-compiling annotated Flymake example
@ 2023-06-14  4:18 Graham Marlow
  2023-06-17  7:51 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Graham Marlow @ 2023-06-14  4:18 UTC (permalink / raw)
  To: 64070

Hello,

When following the annotated Flymake example to create my own backend, I
noticed that flymake itself reports an error with the
example. Specifically,

"Wrong type argument: proper-list-p, (beg . end)"

This error also occurs when attempting to batch-byte-compile the file:

$ emacs -batch -L . -f batch-byte-compile example.el

In toplevel form:
example.el:7:2: Error: Wrong type argument: proper-list-p, (beg . end)

It looks like the example is missing a (require 'cl-lib) statement. I
checked the master Emacs branch and the bug is still there
(doc/misc/flymake.texi).

https://www.gnu.org/software/emacs/manual/html_mono/flymake.html#An-annotated-example-backend





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

* bug#64070: 29.0.91; (documentation) Errors when byte-compiling annotated Flymake example
  2023-06-14  4:18 bug#64070: 29.0.91; (documentation) Errors when byte-compiling annotated Flymake example Graham Marlow
@ 2023-06-17  7:51 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2023-06-17  7:51 UTC (permalink / raw)
  To: Graham Marlow; +Cc: 64070-done

> Date: Tue, 13 Jun 2023 21:18:04 -0700
> From: Graham Marlow <graham@mgmarlow.com>
> 
> When following the annotated Flymake example to create my own backend, I
> noticed that flymake itself reports an error with the
> example. Specifically,
> 
> "Wrong type argument: proper-list-p, (beg . end)"
> 
> This error also occurs when attempting to batch-byte-compile the file:
> 
> $ emacs -batch -L . -f batch-byte-compile example.el
> 
> In toplevel form:
> example.el:7:2: Error: Wrong type argument: proper-list-p, (beg . end)
> 
> It looks like the example is missing a (require 'cl-lib) statement. I
> checked the master Emacs branch and the bug is still there
> (doc/misc/flymake.texi).
> 
> https://www.gnu.org/software/emacs/manual/html_mono/flymake.html#An-annotated-example-backend

Thanks, should be fixed now on the emacs-29 branch.





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

end of thread, other threads:[~2023-06-17  7:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-14  4:18 bug#64070: 29.0.91; (documentation) Errors when byte-compiling annotated Flymake example Graham Marlow
2023-06-17  7:51 ` 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).