From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kMk7JEmht2b7hQAA62LTzQ:P1 (envelope-from ) for ; Sat, 10 Aug 2024 17:20:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kMk7JEmht2b7hQAA62LTzQ (envelope-from ) for ; Sat, 10 Aug 2024 19:20:09 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ice9.digital header.s=gm1 header.b=TOZvtV3h; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723310409; 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=fmwWHJwXzCmYlu+mUpev/GxyYSVgCnWzqe7F8LZu7fk=; b=nMQuo4+azSiWiwRYPjf9raT3hzJK8fqyMkQOyK7pfbq4xTGcwN0mTg/fALr10/fQPK1yJa ui2qnoYqG8yR5CbgX/ZjYFlY+P3XfgxDmZfzQjUL1slLKuBMIbiy2iYKrJrgRIiOa83Jxj fSEQxuwzsIoXhrlJztYKNyNl/iwUWGPdUKByTrnzi+Xws1yWb5L7ZPuoTpt/I3/3db+bc7 kX4af9dQp0GC6ZiEqNsgXjiebgSAVbs01ADxrFQDQMpMYHMLXszoWKDw+AFzg33xtUixy1 mWu4ur6vIBzudy6Dkk4zabuyb8feXI7WGrgPFJuZ5thphsk9UKuihsJga2+vjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723310409; a=rsa-sha256; cv=none; b=fCcNEjBBJ26YLYvSd8rDhnm3l2i7hKYddA1F6wCRhRWEPGO+5iXi3FAWY5vTngq42VjNKA MvGrIPw9jl5Gr9CqG4md7ohOqZu3I4EIY/RtHguNPlX06fX4jmXDV2zugBoBr8KamSf2Ox 1wt/bcRYI1gKfq46MNoENFB4excReyWqb9I1KmRWvGF8W7LO9V6a2BGJCE/2053jlojNU1 Kga5f+DJXY03Bce7pk4Ca2JmpnCl9stgtEZCnqxdMiOUdV5X2Q6UwcjUb/IdGIHuikjVlI daqt2ZsqBJpeWDWWC77qMPe3VqaInEDWQRHJZsdOjm1At92Ehvok8Tv1X3R27A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ice9.digital header.s=gm1 header.b=TOZvtV3h; 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" 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 03AFA17EB7 for ; Sat, 10 Aug 2024 19:20:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1scpkJ-0003aX-Am; Sat, 10 Aug 2024 13:19:15 -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 1scpkH-0003aD-3m for emacs-orgmode@gnu.org; Sat, 10 Aug 2024 13:19:13 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1scpkD-00084x-DF for emacs-orgmode@gnu.org; Sat, 10 Aug 2024 13:19:12 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id B3E3260003; Sat, 10 Aug 2024 17:19:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ice9.digital; s=gm1; t=1723310344; 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=fmwWHJwXzCmYlu+mUpev/GxyYSVgCnWzqe7F8LZu7fk=; b=TOZvtV3hneX4/8IfuaRdAgB12FbCOqR41obF1Eh7oRM32KTSV1b3WHKCQZSH8xzC7OBxy8 gRXBTbbvhHJuOichZGxDEFja9mcU6KTe27Z1xy7BfPlnyKilC4GxXjp1WtGeXQSJqimzpr agkkuDtjOoIQvjyXzJitrPImuW1nPkJi8KqWH3DFCGXY0MXVAHI023Fc4UX/llkWMTJxsg m0utFAJkVxej43R7U0fV50R/Fev0o2VhU+ZzGbl62aGOJ55lk+KoTYzJ7KH0MR9avHOTtU HFOvCql0C7H78aPegAdu8EabBxebc1IAz2NiixUD1zlQZo6Wwdj01W0d5DR7Ng== From: Morgan Willcock To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: org-mode-flyspell-verify: Why skip checking the LOGBOOK? In-Reply-To: <87v808775z.fsf@localhost> (Ihor Radchenko's message of "Sat, 10 Aug 2024 15:02:16 +0000") References: <87jzgpvdbk.fsf@ice9.digital> <87v808775z.fsf@localhost> Date: Sat, 10 Aug 2024 18:19:02 +0100 Message-ID: <875xs8nvnd.fsf@ice9.digital> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: morgan@ice9.digital Received-SPF: pass client-ip=2001:4b98:dc4:8::223; envelope-from=morgan@ice9.digital; helo=relay3-d.mail.gandi.net 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 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-Queue-Id: 03AFA17EB7 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.25 X-Spam-Score: -6.25 X-TUID: JmHRXlu+hXEw Ihor Radchenko writes: >> Is there any way to re-enable spell-checking of the notes without adding >> advice to org-mode-flyspell-verify to hijack the result? > > It looks like LOGBOOK drawers should not be ignored by flyspell. > May you comment out that check locally and see how it goes? I switch between computers fairly frequently and the Org versions may not be exactly in sync. Rather than editing the source code or redefining the entire function, would it be acceptable to you if I use the following advice for testing? (advice-add 'org-mode-flyspell-verify :around (lambda (orig-fun &rest args) (let (org-log-into-drawer) (apply orig-fun args)))) > Ideally, please check things like CLOCK and automatic todo state change > notes. Moving over those entries with the advice added, I cannot see any obvious issues, although I imagine some people may see a difference if their todo-keywords are spelled in a way that doesn't match the dictionary being used by Flyspell, e.g. CANCELED vs. CANCELLED. -- Morgan Willcock