From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OIRyHElHdmQQLwEASxT56A (envelope-from ) for ; Tue, 30 May 2023 20:58:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aAgyHElHdmTbeAEAauVa8A (envelope-from ) for ; Tue, 30 May 2023 20:58:17 +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 6D93239F3C for ; Tue, 30 May 2023 20:58:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q44XM-0007Ah-VX; Tue, 30 May 2023 14:57:40 -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 1q44XK-00077T-Vb for emacs-orgmode@gnu.org; Tue, 30 May 2023 14:57:38 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q44XI-0000Qd-Iv for emacs-orgmode@gnu.org; Tue, 30 May 2023 14:57:38 -0400 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-30aeee7c8a0so141606f8f.1 for ; Tue, 30 May 2023 11:57:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew.cmu.edu; s=google-2021; t=1685473054; x=1688065054; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=RMS7nv0wrRtaZTmqGHJSsE+Ml+b164h4u4P3QxTxk10=; b=XzY55qIFcTtfpss8JMs3PklTLm2wKGGOtVUr2z3RTJpBYkLFhC0PrlvFe90KIBgBYP llpWVxp4kLl1S9wlyhyOWtflsc66+4BVurddrRBK9k6XtuF7DL7WK6A6AiEoC7eISINq hA4GZzophWsift3GDnaI7NF+Y949thD5fQCWIbEJOInykZ9DzcTMxWI23U8R6MpWaR4W znV1JjWGrLU/49Rxva3/oVFBrnVesesJAm3Vhs3y8FHlKBHR7MldZalxZFbFun08Pm+3 iSmJuQggyPVfC2cKqO/6OQjrDYSBtVmMOK1SUfw9+Ev9WCkhwLL5LU+qoMc0oCE6h5Rr mX6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685473054; x=1688065054; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=RMS7nv0wrRtaZTmqGHJSsE+Ml+b164h4u4P3QxTxk10=; b=KnkmiMMGVuINMC9q/h8b2dTeSTTPdn6KXfhPFETF0gNlfHBzzc+cYp64AHNgfZwKXf b57z5ShOQ+Eysedq2P6nrEXk8gdGIXizeKfdpRO28Ssny92y+RMgNbXlZU+5rm/05HfD fI2tB55y2SjZ8wbs5Gq+RKo6nZS5HU4B5LqgKEIKF9puLq2rLfCNOYYDe4vMYExLCDnG XV7B8scpdPU8XcLUhwy+X4CmM7B6Y+ONNQnznKEwL7v8OKxIpPZRhrMwMXc4NPMnLqon z/h4rLjqvfPvlAHF8fhP8+XtHH9RA8i8oRiAjwFPBA6jf+BmtIaj0hRCBuwteZpl1V7j GJ6g== X-Gm-Message-State: AC+VfDxKP+GhMeatl2jxq9FH0tCRwjezbBzFmFScR2HphmgCxtPdklXy Rnmz7zq9fkPNd7UX6ew8mV4QAWQgFymowy0EhSgJl8U6oqe7m/zoo8c= X-Google-Smtp-Source: ACHHUZ4PjJT47Bf2na+v0jUPfO011lKgurBAAwwraAvNilqTgewT2+SbyxiItfG8Ujh6bOXHmqz5Yr4LOlNsCcoYA9A= X-Received: by 2002:adf:eb06:0:b0:30a:d278:5682 with SMTP id s6-20020adfeb06000000b0030ad2785682mr9719233wrn.7.1685473054244; Tue, 30 May 2023 11:57:34 -0700 (PDT) MIME-Version: 1.0 From: John Kitchin Date: Tue, 30 May 2023 14:57:23 -0400 Message-ID: Subject: adding rules for flyspell To: Emacs Orgmode Content-Type: multipart/alternative; boundary="000000000000ad572105fcedc6ec" Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=jkitchin@andrew.cmu.edu; helo=mail-wr1-x42e.google.com X-Spam_score_int: 0 X-Spam_score: -0.0 X-Spam_bar: / X-Spam_report: (-0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URI_DOTEDU=2 autolearn=no 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685473093; a=rsa-sha256; cv=none; b=qW2mzP2Ie2Ha0ezmH0igRjUAMxFQjLrgp1tIFTpmkJIgz08axXtivVOEP8FwyqnZ9OyilJ 7ASI3755d6ZuswbKDzUwSuzRKcCvG0V7h8vC0Ha01SYyztWVPZMkmo4aNilhYC2J7cHCOe 4JTqcslHPCK/EZnjMO2BRUnliqn8AlI9bfTcUxTGQW4VQT6geTEkEqqnixBFLIAoRQ9MfU 8WrzzWqSuMUFvPQBbR8PgnX0hOu0okej8L11y+FVxggEh9Zl8uJoKBlhiCqqv1GHXTfs9K djvCgH00zrinJ66I+IZCByz+8W0pi/giem5FhDMoBkQZQf0xMKh4Dx2wnRL6LA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=XzY55qIF; dmarc=pass (policy=none) header.from=andrew.cmu.edu; 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=1685473093; 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=RMS7nv0wrRtaZTmqGHJSsE+Ml+b164h4u4P3QxTxk10=; b=iZtPSveW6Pmjg/V2YDJdbX9Eox6ecN2pkIvLrKFSElubD9OiHM/J8AhRqGgwahpakyfq8i /w0oi5PfvpPKhFn3RyHXv4CElaf7cia6em8mFwU1iITyajYxrfDcl4+z2Gz6yhbXNl2tKy hJZmLmoQn0qyv9PXizhDH5F3Klm1lGqoTVfX4cRJTxpf/wC8wqAa+lxWxRTHStBZNv03Qk 51czMy3QBs0UzbYXK+SYKZiC+Gcd5cVp1mzCPjt36QH/9L7/Fgjvm3r6vyqzIGAwQHsumz y4qc/ggd2kqisCcj5c7Zlnsr6NYD/ud6Et1h6G0FWcxNzlvWHWl2mz8NIkes+w== X-Migadu-Spam-Score: -3.33 X-Spam-Score: -3.33 X-Migadu-Queue-Id: 6D93239F3C X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=XzY55qIF; dmarc=pass (policy=none) header.from=andrew.cmu.edu; 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" X-TUID: qphrNHWaOcJX --000000000000ad572105fcedc6ec Content-Type: text/plain; charset="UTF-8" I use flyspell, and it looks like org-mode sets flyspell-generic-check-word-predicate to be org-mode-flyspell-verify. I have a few places I would like to augment this to avoid flyspell overlays in different places. In the past I have done this with around advice, which was ok for one rule, but less desirable for many rules. does anyone do anything clever here? I am currently making a list of predicate functions, and a generic function that runs each one, but I wondered if there was another approach. thanks. -- John ----------------------------------- Professor John Kitchin (he/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 https://kitchingroup.cheme.cmu.edu https://pointbreezepubs.gumroad.com/ pycse bookstore --000000000000ad572105fcedc6ec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I use flyspell, and it looks like org-mode sets=C2=A0flysp= ell-generic-check-word-predicate to be=C2=A0org-mode-flyspell-verify.
<= br>
I have a few places I would like to augment this to avoid fly= spell overlays in different places. In the past I have done this with aroun= d advice, which was ok for one rule, but less desirable for many rules.=C2= =A0

does anyone do anything clever here? I am curr= ently=C2=A0making a list of predicate functions, and a generic function tha= t runs each one, but I wondered if there was another approach. thanks.

--
John

-----------------------------------Professor John Kitchin (he/his)
Doherty Hall A207F
Department of Ch= emical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213412-268-7803
https://kitchingroup.cheme.cmu.edu
https://pointbreezepubs.gumroad.c= om/=C2=A0pycse bookstore
--000000000000ad572105fcedc6ec--