From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 +JAQORBMtmYEfwEAqHPOHw:P1 (envelope-from ) for ; Fri, 09 Aug 2024 17:04:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +JAQORBMtmYEfwEAqHPOHw (envelope-from ) for ; Fri, 09 Aug 2024 19:04:17 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ice9.digital header.s=gm1 header.b="YbQ2/9md"; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723223056; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=93woRqmsviZVgmRSyC5zzD1B7oGhpyWwXeo5z/3V88s=; b=Mn/6xh8ZV+p5EO2f2TKWQuvwhwGXBLJu0qfnaJVCuopJBbYfo2QaPP6r7fYNpSayHqmia4 buG/hj5jM15u8nUYA1CKHgYo3fDvDisYpzBpEtwASTupbh1hbyKH+pKodmaOxplIp5bIGx pKLKRx+AlbaXQzvQt3E+F+mwPErs/LnpoMSGUbcQ3gZzSR758jR1w5SiOb90w4XQzv5KCj NAmLd0QGP0bVHZzVPKZFEPjV80YQ3b7XFq1CJFU4Mej9NK9zG7RAGwiNPCxrEAYqzkFzGB yjd2e6gmgDG6oaiwKqAuzu2lcLWtevoJD4r3X+3Kb8OzVYwg18aknhA3wVYt+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ice9.digital header.s=gm1 header.b="YbQ2/9md"; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723223056; a=rsa-sha256; cv=none; b=FyTJggcUbFfiWC2MA3kVuO7DHoKx730KSDze76TFnQpXtoS3pFEmLDgPDdCt7IcKrrhrZ7 tT+Kp5UANpyIAbVzdps0EDxYlX5zGDDk6mbB4RmoN9IZRop/cbH1GhtFJujnt0QMaJ7drK JqbzR+2UuqhPIQpIegWVcEwlbUEPLS+4YSkdayklkaMfOkFeHclzY9oRvbbF/oWtL8l6LR Gt+mSLD/rq5wB4AcaK6nCH6mu30/9+myJYW6T17iWa36IQUMt6spN1najAd67MtrzhMiMs ika9uWcvz6xb+So5KHVue4q5H8U8ewLR43oBXsK8JPjuaXGxtZJYI5SkKLNAYA== 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 9CA936CC99 for ; Fri, 9 Aug 2024 19:04:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1scT1X-0005za-3n; Fri, 09 Aug 2024 13:03:31 -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 1scT1U-0005zC-2o for emacs-orgmode@gnu.org; Fri, 09 Aug 2024 13:03:28 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1scT1Q-0006Th-Sl for emacs-orgmode@gnu.org; Fri, 09 Aug 2024 13:03:27 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 8EA1D1BF203 for ; Fri, 9 Aug 2024 17:03:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ice9.digital; s=gm1; t=1723222993; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=93woRqmsviZVgmRSyC5zzD1B7oGhpyWwXeo5z/3V88s=; b=YbQ2/9mdtOZxL7d341HFVanX/f6n61nwdIb7dgvtNotE6RrCPVb+hIEyBn4L2RdToYxWsQ 2d971T87R8pI3M5ByEbhIxBaV6xhuKQLE6TU2Dez4oRpKC77kv28lYl5VTelm+T3K7FPSs 6zZP+Wbymxsl8DMxn1H6ec/HpVIrPLACV9WjKcrybmj/k6v+hsTZFxTHIZG1iUuGnQHK29 sDskfPJAZmlRZp+01oaD831xV1JlBNqwZq0iAgnVjDRSZZLnnFCzazUqQgpu7sgFuj+0xf ++x6lqPN9KHf60q1BVhAKqEszUeU5n9tHIGO+rhBQPZ+Nd4QtppulTGxuWNmvQ== From: Morgan Willcock To: emacs-orgmode@gnu.org Subject: org-mode-flyspell-verify: Why skip checking the LOGBOOK? Date: Fri, 09 Aug 2024 18:03:11 +0100 Message-ID: <87jzgpvdbk.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=217.70.183.201; envelope-from=morgan@ice9.digital; helo=relay8-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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -6.25 X-Migadu-Queue-Id: 9CA936CC99 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.25 X-TUID: RjNdA2bcGFpM 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? Is there any way to re-enable spell-checking of the notes without adding advice to org-mode-flyspell-verify to hijack the result? Thanks, Morgan -- Morgan Willcock