From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8FanNCsdOWUqJwAA9RJhRA:P1 (envelope-from ) for ; Wed, 25 Oct 2023 15:50:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8FanNCsdOWUqJwAA9RJhRA (envelope-from ) for ; Wed, 25 Oct 2023 15:50:35 +0200 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 9782C614D8 for ; Wed, 25 Oct 2023 15:50:35 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dpdVhFtc; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698241835; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=U7w18qL3QWt8xTYHbHKxqz2ZLoP6fYniCCq1kWV432c=; b=Xyfknl7BYqRs5pH8LoQ3MJ5KloqocQc6B89F7MU2IT16nYV5W0QdbF3NJ5QrgkgDta1sdJ KMpRG2zCYgoLg5GwfVpNtRJeenEOSBckjgTd6TY+GAkqqlB6u3CrQrr7iQK1Vpqu1wLWky llLLj+hpLxRGowPSwbFqWXAkW9KCWxVcp3Efi0VCxyzCZu8AOlnkONuQ2L9K553Z0dE3aD c3Ct9lopHBhAEPcjQDlSP7nLOESC/Lpx6G/j9b4GF+PwXLhbMhZ/ymDnj2jHPdExU+ryHN v8NTdMqrJq8WlCUzaPKYelu4F+MmVIBTKaTX6T0UUCm3UEztTIIXMlBL27QL1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698241835; a=rsa-sha256; cv=none; b=qVKYvKmYcUGhkXzt1RYr9xXlJTNWBCuvVDRK/Pe/C/lZBOq+Pg0PzIk3V7EV7FI4UbBz2+ Rs12J0jC+SlEiLAzfpSC0gIUXxEyTR50uWpXb7ZRyehfnEiyKYI1x24W3opDf0EXuekCeP N7l6tUiBoQkVLf41LaECGdZapEpYlpbNPS5XevBMLVVsw/Y4PFuNhKDyXwPM4HDU/pcheN ZOiSADNkHGPtpSpW8nIpbbpH++GrRnVQxF1MkUTeIl38GGE7Swf3NWuw3bRA4sGpRMkjEK +Wh2ox4Wfc6q+vp+QDvtweAUF8/NnRSD+Fe0B7ma4zi781rseddoY6Ky5HkT8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dpdVhFtc; dmarc=pass (policy=none) header.from=posteo.net; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qveGM-000160-5k; Wed, 25 Oct 2023 09:49:34 -0400 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 1qveG9-00014f-Mk for emacs-orgmode@gnu.org; Wed, 25 Oct 2023 09:49:22 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qveG5-0002Wl-6z for emacs-orgmode@gnu.org; Wed, 25 Oct 2023 09:49:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E8E61240103 for ; Wed, 25 Oct 2023 15:49:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1698241754; bh=4UA/yqM2JnYhQQ3s+OSFFw0s1g3NHft44XREv2mk0hg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=dpdVhFtciAkAMmdzfIwZbOfo2VyShUsZJEs8oy4FQNKvi/S141U/An7owbR3JzdwW EyonfCDErL5udTmr/qCstdbNaEY3TEb/+mAweVTEPhL2pZBFsNcTd7wSo6SU3qeUDc vyHcMRdP7eMqbRteMRfIUM2PhR4S0L//2jlpKbtjEy9UXDQRAE6kFxImooJIhqgO2Y +KbMjdYau6xEzGctex0b+1R29RN+hq5tI5rPTyv9/p6BhhwqQQ3EQw2GpmzSnR6Hxt uYG9IeMxcxQgi+IUPdYdLsr5/0f0HVCa6D/gGCTrmIn1FLLJcBFP7Hsf3HnIBNqiuT xWR8L72CZ2fFQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SFqzG1j8hz9rxP; Wed, 25 Oct 2023 15:49:14 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: org-element-ast.el::628:25: Warning: =?utf-8?B?4oCYbm904oCZ?= called with 3 args, but requires 1 In-Reply-To: References: Date: Wed, 25 Oct 2023 13:50:57 +0000 Message-ID: <87ttqedd4u.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -9.28 X-Migadu-Queue-Id: 9782C614D8 X-Spam-Score: -9.28 X-TUID: bBaoonuA3C3P Max Nikulin writes: > There is a warning during org compiling: > >> In org-element--properties-mapc: >> org-element-ast.el:628:25: Warning: =E2=80=98not=E2=80=99 called with 3 = args, but requires 1 >> org-element-ast.el:628:30: Warning: reference to free variable =E2=80=98= eq=E2=80=99 > > Likely it is a typo > > diff --git a/lisp/org-element-ast.el b/lisp/org-element-ast.el > index c4c6d1c6f..f07a5f935 100644 > --- a/lisp/org-element-ast.el > +++ b/lisp/org-element-ast.el > @@ -607,7 +607,7 @@ (defun org-element--properties-mapc (fun node=20 > &optional collect no-standard) > node)))) > (when collect > (unless (eq rtn (aref parray (cadr standard-idxs))) > - (if (and (eq collect 'set) (not eq rtn=20 > 'org-element-ast--nil)) > + (if (and (eq collect 'set) (not (eq rtn=20 > 'org-element-ast--nil))) Thanks! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D55db64e9d The irony is that I saw the warning, looked into the code, and somehow thought that it is a false-positive (the warning is not displayed in all the Emacs versions). --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at