From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yHg5Oi+Wyl6TJAAA0tVLHw (envelope-from ) for ; Sun, 24 May 2020 15:43:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6LEWNi+Wyl4WTwAA1q6Kng (envelope-from ) for ; Sun, 24 May 2020 15:43:43 +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 904F0940B80 for ; Sun, 24 May 2020 15:43:43 +0000 (UTC) Received: from localhost ([::1]:33812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcsms-0000YU-I7 for larch@yhetil.org; Sun, 24 May 2020 11:43:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcsmP-0000YE-Pr for emacs-orgmode@gnu.org; Sun, 24 May 2020 11:43:13 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:50300) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcsmO-0003qW-CR; Sun, 24 May 2020 11:43:13 -0400 Received: by mail-pj1-x1035.google.com with SMTP id nu7so7527386pjb.0; Sun, 24 May 2020 08:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version; bh=h1apDbNmsfwjVsM+iDataOcxVJ5ipz06UCgb6rBnH9E=; b=RRDf4OzHTuSTEdO2NXwojW0EDK0XDfQ0d+clw6Upe9KPJt47EI2m9OpKMGT4SCf8nX 7K1RYIjgOhaH9PH2xCtgZ/6x/YD/0jIxmKd714sctEgAJdk6Fe/831+2nkPiBpfWbh1x fJoUDeaUawo2XKPr/KCSBL305QBNt0No4jhqiqhItX2xLYkBy/L4M/xswhA+N8BgkIfT ywH/2sg2JhIwv+yQz200VbO5CL1jpU+nfvJUgfIqY/WmdGN0XI9gSsdNVDTOk9morDAd QepIyb9arFJeUHfcc4OWjVGvkz2xinW4ZaD38wLB1Z51pZTn/HGhIANLKxzp+cBmw/TV 3rww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version; bh=h1apDbNmsfwjVsM+iDataOcxVJ5ipz06UCgb6rBnH9E=; b=Vs7RiQYt42GuaG6/rfUbnPUotu6HkeJuhqzAXRP02FcETipkHaUtIXwJM8P7ZiEx9E p/5dFiIyu/YZca1ablObGyyM5RmqtVAtWWHkQwQUEsMf0XUK2O54hJTnA3llpn0BChF2 O/QoF3yPHpeRdfeBV0bJUm718SYMzQoJnsgw/A786d7h1skR6+G89BLVHz08xJQsvZ+K pY7HIjaC194KF1d99dV4wGA+cz+/5oPMMTVVw4O1sRzevVZoIBtDJl6PUXB01QQhODhv jU6M0EEDvwXYA5n3fDXhKKOF7UQTJANqZq2FbtgIMzbw+e9UWpBP2uqJQr3SkWR1xuRk aciQ== X-Gm-Message-State: AOAM530Lvee1xEGd/Y7/4loOaa3PatmcRc+pAnME6KHOCOEDelwnRuED /QGvEAiz119wLK4VdhF+sBIONIoxIls= X-Google-Smtp-Source: ABdhPJyEckueFYaRAQ3A7mpgsq0aDeB+SkbIBBY2ydJ9Cx8Ub96RklVpZMkGYFytMkqdKX3Yg22fYw== X-Received: by 2002:a17:90b:b05:: with SMTP id bf5mr15729765pjb.229.1590334990649; Sun, 24 May 2020 08:43:10 -0700 (PDT) Received: from tranquillity (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id k4sm9950842pgg.88.2020.05.24.08.43.08 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 May 2020 08:43:10 -0700 (PDT) Date: Sun, 24 May 2020 23:43:05 +0800 From: Timothy To: Bastien Message-ID: <4274FCF8-5304-4B55-9586-0C718DA388D3@getmailspring.com> In-Reply-To: <87zh9xxrww.fsf@gmail.com> References: <87zh9xxrww.fsf@gmail.com> Subject: Re: (Feature Request) have org-edit-special work inside non-environment LaTeX blocks, i.e. \( \) and \[ \] X-Mailer: Mailspring MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="5eca9609_3845cf13_246b0d" Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=tecosaur@gmail.com; helo=mail-pj1-x1035.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001 autolearn=_AUTOLEARN 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: "=?utf-8?Q?emacs-orgmode=40gnu.org?=" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=RRDf4OzH; 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-Spam-Score: 1.00 X-TUID: hwZzCZp05tfZ --5eca9609_3845cf13_246b0d Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > <=23part type=3D=E2=80=9Ctext/x-patch=E2=80=9D > filename=3D=E2=80=9Chome/tec.emacs.d/.local/straight/repos/org-mode/000= 1-Extend-org-edit-special-to-editing-LaTeX-fragments.patch=E2=80=9D dispo= sition=3Dattachment> > <=23/part> Well that didn't quite work as intended. Here's a take two. --5eca9609_3845cf13_246b0d Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-Extend-org-edit-special-to-editing-LaTeX-fragments.patch" RnJvbSAzNzllMjM1NDVkN2U1NTc2NmU0OGI1MDUxNGJkNzk3YmRmNjkxYTQwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBURUMgPHRlY0B0ZWNvc2F1ci5jb20+CkRhdGU6IFN1biwgMjQg TWF5IDIwMjAgMjM6MzU6MzMgKzA4MDAKU3ViamVjdDogW1BBVENIXSBFeHRlbmQgb3JnLWVkaXQt c3BlY2lhbCB0byBlZGl0aW5nIExhVGVYLWZyYWdtZW50cwoKLS0tCiBsaXNwL29yZy1zcmMuZWwg fCAxOSArKysrKysrKysrKysrKysrKysrCiBsaXNwL29yZy5lbCAgICAgfCAgMSArCiAyIGZpbGVz IGNoYW5nZWQsIDIwIGluc2VydGlvbnMoKykKCmRpZmYgLS1naXQgYS9saXNwL29yZy1zcmMuZWwg Yi9saXNwL29yZy1zcmMuZWwKaW5kZXggYzllZWY3NDRlLi5kNjQ4Y2UyYzkgMTAwNjQ0Ci0tLSBh L2xpc3Avb3JnLXNyYy5lbAorKysgYi9saXNwL29yZy1zcmMuZWwKQEAgLTM2Myw2ICszNj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