From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UJTOGompWmEG+QAAgWs5BA (envelope-from ) for ; Mon, 04 Oct 2021 09:13:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8GaIFompWmGZCgAA1q6Kng (envelope-from ) for ; Mon, 04 Oct 2021 07:13:13 +0000 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 7859B20782 for ; Mon, 4 Oct 2021 09:13:12 +0200 (CEST) Received: from localhost ([::1]:40278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXI9v-00019x-K3 for larch@yhetil.org; Mon, 04 Oct 2021 03:13:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXI90-00019a-2p for emacs-orgmode@gnu.org; Mon, 04 Oct 2021 03:12:14 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:39717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXI8x-0003Zq-U5 for emacs-orgmode@gnu.org; Mon, 04 Oct 2021 03:12:13 -0400 Received: by mail-wr1-x433.google.com with SMTP id r18so1671067wrg.6 for ; Mon, 04 Oct 2021 00:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wzxkISJnr/1grKTEGQLA46Rhtuzm6XZcb2pPkYfZr7k=; b=M8VHmbjzyHAyo8huyxPnS5qsRPqk0jNi1ne9PSrxI1ox3jBT8LCxDRAnYdSrcyrDdB d/eQXrsYKM8zJvG/1OjX8Se0TPGg32OeKdJkFloi/Lk+iDqDDzyW1GoY/5r9N2/D7SBX MK6K6TtJf/0NbIgITdqCkwRJqQ5GCMjsoMh9q2OQGYIOdZY8gl9W1eOq8z7dhJ0gheCj Qam9cXU6BsWGljv6vfSAAHovaPu8tstQtlwXJFJOqgAsePazWxcwJsstH5VQRVuzIRtX u2BO5lYCNVZqoSPBOvm0rwu1uwO78J//XDPnwQhMNXBIVNexZtzrnLX4UeySpu/QY69Y 3FNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wzxkISJnr/1grKTEGQLA46Rhtuzm6XZcb2pPkYfZr7k=; b=gsKhvRowg5+b1l6d4Nv/uH3wJoZT17M0WBljBDLS1GPxJG+lDwsu8cF5Q8mOp4lGpb xSMrDEMfAQATSTiiJUVmDvdZbit2TfByEVsDxIrXmqv/E60kXKZwkFi8mD6PVUwumoOt QwQdRpO1ntIZ5heQHDxN+OJgf6TWBsoZtI68knRsbhWsjWho/fCtM6Cai7FjQ5OUtHN1 wdbE9THQP9jcD/UBLpbFpEX0xyNift7pj6AaMBTLaqGgaBxnijdlGyIFjtMhIqgdx70x 3JmqvoGJy8+N/USiiiNWTzEImz9cnctd//l3CMGE8k+Zm5+a1yZRBQeNksVo2v5k2Xv8 /Eag== X-Gm-Message-State: AOAM532wI2mUyVLgthkYXdUM/uvxm04Q+Tc4iuPkrsJH6H/loEBIjlnY JWuaC3kymRBWFyPDSA5wtbaklhlrYGdS+NN8TZhNaJEKsg8= X-Google-Smtp-Source: ABdhPJxAMvpf99dmSv8mXMmcKcK6CDF8dRnya7JJ2F+gtW6xA59C/o2UYe2+A6Jnw2WRKaazvAABVobyXsiNS4k1Mrk= X-Received: by 2002:adf:e6d0:: with SMTP id y16mr12152398wrm.181.1633331530543; Mon, 04 Oct 2021 00:12:10 -0700 (PDT) MIME-Version: 1.0 References: <87czoq7z3p.fsf@gmail.com> <87tui1ew1o.fsf@nicolasgoaziou.fr> <871r5599j7.fsf@gmail.com> <87pmspevjy.fsf@nicolasgoaziou.fr> <87bl49kca3.fsf@gmail.com> <87k0itgvu4.fsf@gmail.com> In-Reply-To: <87k0itgvu4.fsf@gmail.com> From: Tom Gillespie Date: Mon, 4 Oct 2021 00:11:58 -0700 Message-ID: Subject: Re: [PATCH] Don't fill displayed equations To: Timothy Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=tgbugs@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org Mode List Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633331592; 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=wzxkISJnr/1grKTEGQLA46Rhtuzm6XZcb2pPkYfZr7k=; b=qrN727++8N3Zu6FZQfwIKa/7MmOGOh9LL0Zp1f+gQ66IDj/Gg5CGFNRuHM6gap/bxO3Y6s 3Ft+T8J/I7nHd9vWeif5+KnOZw2T0DZglzHzHSz0hwNhXJ+qcdFZWu+joEiTzFZkMY9PVm eWRP2xjMcMuXAxr7oySWvix+FDi3ZdSh2vIJ7KaPU9aoo6yyc3qlrcc/V1Ef+JJUr9eH3i mGVY1MoV67DjbWNZ6SEzhl9wtmvilusNk0C8R1/gO/kNIglb6Z7hc2Ei+XWJ6xx4pL5/gk gJAmc7+fzOXPxjNNTlRO537cP/wYqoLUa6UfunKFUCUBvYHPhg6aV8yztNKscw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633331592; a=rsa-sha256; cv=none; b=Xeda6t0EKS3Xxpbj2LTM6kBjDKQQXx6dl3IDzOo2VLiwTKtb6PzqeiLjlzwVlt2ZhBQTdE jvfbE06oS7lsLeHp+iOT4J9kkMadO8SP6DaObuQ6r90fGp8PLcWoErjl5yb+UvejENZsVZ dtKPvKM5wOT2FZcuCkGzHTyj4bSE1OclTozjaPhMXAT2IA4gapbnVqc4LZo2Z7zdlGQK06 Gp+Oy3tnJKmOUTl1Zfosc915Uh60zIIY4uSrpDhsxQOvUu4bnTLY3PV95CxLqDsUz8geya IWStBlOne/RkmWWuvJmcY0etgMpXpJxoD3Xy7Tu9j4utUlqAkoqYScJWlOR1OA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=M8VHmbjz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=M8VHmbjz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 7859B20782 X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: x/DXJ6cOPttx > Does anybody have any other thoughts? >From time to time I encounter random patterns that I don't want to be reformatted during a fill operation. Maybe a custom variable like org-fill-paragraph-skip-regexp or similar that could be set by the user? For Timothy's use case he would set it to the regexp provided in the original patch? Not sure how much of the implementation in the patch is dependent on that particular regexp, but a general solution that could even be set per org file might be a very useful new feature. Best! Tom