From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IEHUH0MjIGLqiQAAgWs5BA (envelope-from ) for ; Thu, 03 Mar 2022 03:09:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uLQbHUMjIGKjPwEA9RJhRA (envelope-from ) for ; Thu, 03 Mar 2022 03:09:07 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5AD8025D4D for ; Thu, 3 Mar 2022 03:09:05 +0100 (CET) Received: from localhost ([::1]:53720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPatr-0004jy-K0 for larch@yhetil.org; Wed, 02 Mar 2022 21:09:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPat7-0004jZ-I0 for emacs-orgmode@gnu.org; Wed, 02 Mar 2022 21:08:17 -0500 Received: from out0.migadu.com ([94.23.1.103]:20487) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPash-0005vs-0K for emacs-orgmode@gnu.org; Wed, 02 Mar 2022 21:08:17 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1646273267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ghXOWH6L0r5w9poXJOlvjzpyfT9ZJ07KNFVfUdw7phI=; b=MJNDdWX08HS1QeND2xco/rIMdPZwbSWEfe37HD8S7uxFM4r3MKmU1g7t4vISJqUFSPr9Yw le76CjDlh01EndnIcKnh0Nt8CsW/ditjMZ2Cxqq01sczuYYr4kW48jKEhwwMQu8ROpKtRP ONjaTDicl3B5OFi5uofqWCtVcr8Nk/Y5DNnspYFVHatuPrqCN1rNoi4xEGA/JymgCcxeR3 2LIwUwxWK87CD8ozaHbd6N0eOToijun6zLs5dtnMbEtMA8Ses72ZeGR7QeyMMd5A9iU08v da57N1Eh8JJRAGoIWZomU+C4+pizUJZTRCAYviL5Rnhv2PwndUtAOz4jdn9uhA== From: Kyle Meyer To: Vladimir Lomov Subject: Re: org-refile, org-capture byte-compiling failure with recent emacs-git In-Reply-To: References: Date: Wed, 02 Mar 2022 21:07:45 -0500 Message-ID: <87wnhbeqku.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=94.23.1.103; envelope-from=kyle@kyleam.com; helo=out0.migadu.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_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646273346; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ghXOWH6L0r5w9poXJOlvjzpyfT9ZJ07KNFVfUdw7phI=; b=fXmU5UJoNBeUG5P+G7bcTN+m5dwnF15PkpG5hfPK57fbnENDvwUY6v1Uzw+KZ2AjjFdGx8 31xoZ/s7qOFOU292fy5Fvfcbbw5cp91wdfL11PxmtYTtw9IfH8FCuhOuMliTW2/5XRxF9G PpJh55ebIqTLopdlTntfFB0Zerd7yB5Tkohj41Mjng2ECCU2ZSbXceVbvm/k9TCS13wk7s LQTCRvmQcV9w5jeV7KmWGdjHvDHnJi1fTSbhNKuVaNyUGOJHlOKbgDgjVJCqNjauLiOono igusPPBuJnqnGz58kz0pZtncI1zWLRIEWuPXpoHqFTBpCFLRhoF4eYZGrxdefg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646273346; a=rsa-sha256; cv=none; b=QZePopnZVNXwQc02heX8MChICnsBgDfiH8j44Ko2Q6GNpw3tShMuYuNc0SaeQmb3Ij+L2E 0fbn+aycvPXw2FZ9vj8D9Ur6MzQhsNi7rtk1qwxALb5llrk57AlLMxns1UTfrFk+4AAITB TpxpimCOJST4u+Ga86fd03m7KHuqa0mJO86VttcwRYeJ7jAgWoXm0DRneGr7BRLy4abSFk sOSXQxOo/NO1TQ6P4bwunIW5scKCsgN1AuRuDKCr3qyqEdg3v1JUdb52k8k2GRhAYd9m+h KbB7rrGMWZqfBc3pAVHuTAuIBEzTejT9q/g0dQPIG5MzvNYpiK5R3C/7YtnRYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=MJNDdWX0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.87 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=MJNDdWX0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5AD8025D4D X-Spam-Score: -3.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: HyyHPHy0/sdR Vladimir Lomov writes: > Hello, > > org-refile and org-capture failed to byte-compile by emacs from git (commit: > 8c8093aa6f20a7a4f3799cbdb9270cac013ef71d) with following messages: > > ... > > Compiling /home/vladimir/pkgs/emacs-org-mode/src/emacs-org-mode/lisp/org-capture.el... > > In toplevel form: > org-capture.el:1455:12: Error: Wrong number of arguments: (1 . 2), 4 > > ... > > Compiling /home/vladimir/pkgs/emacs-org-mode/src/emacs-org-mode/lisp/org-refile.el... > > In toplevel form: > org-refile.el:566:17: Error: Wrong number of arguments: (1 . 2), 4 Thanks for reporting. I'll need to look more closely, but this is very likely triggered by d52c929e31f ((with-demoted-errors): Warn on missing `format` arg, 2022-02-04) on Emacs's side. That commit is slated to be ported to the Org repo but has been held for the time being with the rest of the Org-touching commits that are in Emacs's master branch but not the emacs-28 branch. In d52c929e31f, the with-demoted-errors calls in org-refile and org-capture were changed to use the format argument, which has been available since Emacs 24.4. So, the likely fix will just be porting that commit. However, it seems unintended that with-demoted-errors would actually error here now rather than give a warning; again, will need to take a closer look.