From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Graham Marlow Newsgroups: gmane.emacs.bugs Subject: bug#64070: 29.0.91; (documentation) Errors when byte-compiling annotated Flymake example Date: Tue, 13 Jun 2023 21:18:04 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20616"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 To: 64070@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 14 18:45:17 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q9TcS-000540-3Y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Jun 2023 18:45:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9TcL-0001sr-P3; Wed, 14 Jun 2023 12:45:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9TcE-0001sA-Oc for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 12:45:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9TcE-0000Nk-Fq for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 12:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9TcE-0003ed-Av for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 12:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Graham Marlow Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Jun 2023 16:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64070 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.168676108714001 (code B ref -1); Wed, 14 Jun 2023 16:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jun 2023 16:44:47 +0000 Original-Received: from localhost ([127.0.0.1]:45356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9Tbz-0003dk-7v for submit@debbugs.gnu.org; Wed, 14 Jun 2023 12:44:47 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9HxX-0000v1-5O for submit@debbugs.gnu.org; Wed, 14 Jun 2023 00:18:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9HxW-0008Lx-UX for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 00:18:14 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9HxU-0006Yn-UP for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2023 00:18:14 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 7EED45C01CA for ; Wed, 14 Jun 2023 00:18:06 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 14 Jun 2023 00:18:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgmarlow.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm3; t=1686716286; x=1686802686; bh=90 PN098/549PgN+70In+ppVemTHPK6wCmQHo0YcF8wI=; b=pudAp8HBIfDnYPhX1k wpPFLmZWJRjcWROS9WoTybBzK4XsL24VTnq7sNmWK6tzGBxBaNFt/+Jc8pZhfWAl Z4EDcX6svf0LyqUAhpRNJDSVbfvzbCbvd5Fu+lL9XhR8B+G3kei6RkW/QjGfuBAs dgElrFrRbZ2RvJCXHEvEiG/7ZiVusZks5WpYWnTTgH5Ntz8NjkSA21dUdzQwHWBm alfMJYrGHk21HomJ9oJ1FAGCCYKfTr/M53OGNa5zr8Ff/lIlC108FNZc2ncX5B6w NQamutGPuIt2MzJJ2ySoJzvetUu73BTqYjhhops8umXC3hnS9A8ytMrJ87vJ+ikQ w1CA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1686716286; x=1686802686; bh=90PN098/549Pg N+70In+ppVemTHPK6wCmQHo0YcF8wI=; b=nSXGSFdaa57oUmqmPuTqlIhlocyJ1 qRtXfwh7wJBr3iXr6rII2ynfD91nbEsDFwQScBVxiPzZS6WUCmnHIcQ4FBB4y/Bl qJ8nEml12kn6frj6RCvyhJUfVIxcezVoRFDqER97QzBicUylvnQVae9o5K2yDPMm 1utH1j/48HYD4QilErDRtyDJN0zrYQ2CUJela0SwAy7Ed7t1F5urjS13Lv7+poKM Ed4UMxComhs/otuWUSS8LRf7gDea8pJnClpgFJwl8FMfD0XNzGj0GHypZCqfHBWV PZG9zCCSWbdXJWfHEDF8fb+pceN1fIkOWH09CtAgbnlN3XfNVKRaj6qOQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeduledggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvuffhtgfgsehtjeertd dtfeejnecuhfhrohhmpefirhgrhhgrmhcuofgrrhhlohifuceoghhrrghhrghmsehmghhm rghrlhhofidrtghomheqnecuggftrfgrthhtvghrnhephefhuddugfetkedugeeukeekhf etveethfdtleetheeitdduleeggfdtheefhfehnecuffhomhgrihhnpehgnhhurdhorhhg necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrrg hhrghmsehmghhmrghrlhhofidrtghomh X-ME-Proxy: Feedback-ID: i9bd1467a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 14 Jun 2023 00:18:06 -0400 (EDT) Content-Language: en-US Received-SPF: pass client-ip=66.111.4.27; envelope-from=graham@mgmarlow.com; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 14 Jun 2023 12:44:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263376 Archived-At: 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