From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gHm8IfOAt2a2QgAA62LTzQ:P1 (envelope-from ) for ; Sat, 10 Aug 2024 15:02:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gHm8IfOAt2a2QgAA62LTzQ (envelope-from ) for ; Sat, 10 Aug 2024 17:02:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GqwEGf2k; 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=1723302131; 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=kKqTYgtaEKIoXiruHSxoA0vLA2QQ5SYbx1PpReaW4Bw=; b=uNKatajwCAMdmSWryFMQgs5odzsHW1Hfr4HBlOo4FZ+m/+s2p4qYapKjcm61d5PXX9VRxZ u8uq7BterrYDzS7sGew6EGZExU2MH4bffBB0oY/c8MsUUPweJmjMGl5tI5bQwexw1L7vDK NHBxjWuum0+AeImq0I7j1I8+JVI88nkzKbW6/5ayHfvuhtKiBbAsL9ijW+5DrOayf6TxB1 41I1ROPFDAGzIX4ueD9JMes+71A9AdAL+18385yhn5NBpO1UN6OU1l/oVr7yM/gZYJyWl+ 0xB5YAWKUlUFe91pCPj6J/BrsszJz7TTqdk1+RO9EvU7AXP+dds0arqPl1ixZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GqwEGf2k; 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=1723302131; a=rsa-sha256; cv=none; b=Bqmwey/hCXTlUEUtS/gWUS+uVuZvQ9iBg2uTTPa3p/C0CMKwYNSGo2/RHbwYJiov9YPf9a zI9nq/kY9rm6dcN2mPW1yoBWa0nsMjeo3rvwWhBElk8h/53PcRxvSX9vc2SnNx2zCAbG2/ fTd0F7TVVNa+Pxr8qY4/mEmxAsmN5V6T3xT0Q20JM1+/vNTxs94SYrVmkCy7hE1uBxI8S2 JI0+qedPv3wNZjTUuXZ85b8z4VeZQke5Ws9wAX3dHvr1snhQZNr2+p2D+jHUZlQiW4qE5i zFmoebQIAMhfXVtMgSM2eBPG5HBhevQrpaQ0o3BGp7VJfvsGUJ5k8XsIb0Kc0Q== 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 33DC16B76B for ; Sat, 10 Aug 2024 17:02:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1scnak-0005RB-03; Sat, 10 Aug 2024 11:01:14 -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 1scnai-0005Qi-7B for emacs-orgmode@gnu.org; Sat, 10 Aug 2024 11:01:12 -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 1scnaf-00007z-RH for emacs-orgmode@gnu.org; Sat, 10 Aug 2024 11:01:11 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 91366240028 for ; Sat, 10 Aug 2024 17:01:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1723302066; bh=54trGPD3utShyyUXgmZK+Hln+aH2xOG3CVsrl0RV55M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=GqwEGf2kzHqQePRBGadniyUzcQZWU2aUUnDwh0wr79buWJBXwmcMFE34Zb9/M0FPS qyCxDqUPOr/K9QuX2sOy67BKeQXmF68YOL6GNuib/9eFuS4tMWWGS+c0nKQuZQouQC WCfJRt6SChrCpmuFZ69MmKb7SWMXIpSvMDkPpViCiJpR+hCurYfsj3Dzj2sU2VfXyP oDqsk76Zq1zeSbWJI8bitCiuZi8XfHiCCXly+8WbdjuuY8NPW6mUzodQ1GiAj1vYNC qls0uLDgZ7+VdDWWWFaNGIA1V4cTrFBXYL0RTgPTLXUgsZBMHsMWZW8egx/GAQlLHp HGi7/4bji3oOg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Wh3rK5FQgz6v0C; Sat, 10 Aug 2024 17:01:05 +0200 (CEST) From: Ihor Radchenko To: Morgan Willcock Cc: emacs-orgmode@gnu.org Subject: Re: org-mode-flyspell-verify: Why skip checking the LOGBOOK? In-Reply-To: <87jzgpvdbk.fsf@ice9.digital> References: <87jzgpvdbk.fsf@ice9.digital> Date: Sat, 10 Aug 2024 15:02:16 +0000 Message-ID: <87v808775z.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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -8.67 X-Migadu-Queue-Id: 33DC16B76B X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -8.67 X-TUID: EfBsE49/qvYJ Morgan Willcock writes: > With org-log-into-drawer set to t any notes that are taken with > org-add-note go into a LOGBOOK drawer, but this also removes the > spell-checking provided by Flyspell. > > It seems intentional to prevent checking the LOGBOOK (or equivalent) > when the value of org-log-into-drawer is non-nil: > > ;; Ignore checks in LOGBOOK (or equivalent) drawer. > ((let ((log (org-log-into-drawer))) > (and log > (let ((drawer (org-element-lineage element 'drawer))) > (and drawer > (org-string-equal-ignore-case > log (org-element-property :drawer-name drawer)))))) > nil) > > ...but why should the location of the note matter to the spell-checker? I am not sure about the reasoning behind disabling flyspell inside logbook drawers. I cannot find anything meaningful in git history either. > 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? Ideally, please check things like CLOCK and automatic todo state change notes. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at