From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UP6pOe0crWQzhAEASxT56A (envelope-from ) for ; Tue, 11 Jul 2023 11:12:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ODihOe0crWSnRQAAauVa8A (envelope-from ) for ; Tue, 11 Jul 2023 11:12:13 +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 9C27A53D17 for ; Tue, 11 Jul 2023 11:12:12 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=SZ6TPTQP; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689066732; 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=62wZv0G0AmiQhVmr8trGbfnQJXVbfWyQ7xb+OFDqN7M=; b=YGMpuF2kPxYUW0AA5dOLL42IbUoOgpaJ0sv7wzMwB6gGbibRXa4z+IGi7YJ3mJLMcrcVn3 TaNhebBdoq/qakj8ygRTryrPwSLoe2ZQSPMtKKO0EC7K7kwW1yA9J9hYwSDZOSXgbM4fJd sctrJZrDStlTxQUs2IH3/YMiua5Iv6VX5DTt/hq5dT2Z6HF6Eu7+i1fSdbUsbdf5w8ASEu dBE86tpfB6Gs/eGVoWjTekQmrcv6e3foBVSPDQEDNtGuHJMC/rjdnUclHhdxecGHv7X0Rq 9486PQhE63/HJqnl1B7Xr/Dd5iTRDGpDf8lWcMFALf7vyd79/x4vvNLQ39OtnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=SZ6TPTQP; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689066732; a=rsa-sha256; cv=none; b=kJCZusSH2WEfV35j4j5NRR0Sp3TeYuWnogXjpMXZRbmFaplxOmwPabPXGn7k+hE1faJ3Co UKaSZcAmcnCKduDXTK1cQGyjgDnE6N4HrqJvR+wRQd+LBR1M24No/UgBUizyH3r8OJnCo7 dImUfjOClhF3PvE5yUzbpD2fRvMa8n9oxGbpYDO1qmZvGGxAU3dfKXhLZ7xFJW3gBnpooy zD3K/KRX0mnpDVi+IcMbczknWXSYymRStO1mXPmBj5rX73cw2ZpK+JqnN5hs4dGDEKFg/+ rOxvPSL6o82wuGHMQ97u2Ns+wAd724O4kFMPWKGfFk4WTI2q0sl/YpzS79DqPA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJ9P6-0007a7-5o; Tue, 11 Jul 2023 05:11:28 -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 1qJ9P4-0007Zw-Rw for emacs-orgmode@gnu.org; Tue, 11 Jul 2023 05:11:26 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJ9P3-0003SD-2j for emacs-orgmode@gnu.org; Tue, 11 Jul 2023 05:11:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E72C1240027 for ; Tue, 11 Jul 2023 11:11:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689066679; bh=ZKFmCAlidogwx3ayqZgfouZZojskdezCh9rgaUEJs+M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=SZ6TPTQPISQ8GBQLkuIO77TGKPMkpTxrs42gWBHDtLOJesyfsAWj5WbBoMovdogra d32NTu5ehS4+tcV/HmDeRKF6yBtoXWto/tNJX5UzgxxxXLfJOqUGd5FGJgGp0keCaV ghiffiRuaFjFCKLgXpQTtMR1pJcVZzS339uw1PmWhD0S3iPgKL0OzQiCLQ2lD0N2FC 1XcmGRrhk2c+IkdaWv9VeQtHSLixbJhF6xVnWpKuGc4XNq2OqlMi3UR87iQGvBW2OI HcVcTdhG4SRAmBopkELXhAKDM4+0vLakSL7258ihJsrgA7xU0kdYWi3k/tiu3LiX89 5hcEQYLvy1XvA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R0ZqW18b6z9rxL; Tue, 11 Jul 2023 11:11:18 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: Evgenii Klimov , "emacs-orgmode@gnu.org" Subject: Re: [PATCH] org.el: Remove undefined dynamic variable `org-log-states' from example In-Reply-To: References: <87lefnicka.fsf@lipklim.org> Date: Tue, 11 Jul 2023 09:11:26 +0000 Message-ID: <87lefmols1.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 9C27A53D17 X-Migadu-Spam-Score: -6.27 X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -6.27 X-TUID: zEZ1K+s+5+xQ Max Nikulin writes: > On 11/07/2023 06:11, Evgenii Klimov wrote: >> I added `org-summary-todo' example function, that are advertized in >> `org-after-todo-statistics-hook', to my init file (with >> lexical-binding: t) and got a compilation warning: >> >> Warning (bytecomp): Unused lexical variable `org-log-states' > > May it be a typo? There is the `org-todo-log-states' variable added in > > : 70b6cc5da 2008-01-31 11:36:18 +0100 Carsten Dominik: Release 5.10a Indeed. I fixed it myself on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?h=bugfix&id=0b6f9f Handled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at