From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aDX4GTws5GFpMwAAgWs5BA (envelope-from ) for ; Sun, 16 Jan 2022 15:31:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4MG0Ejws5GFkeAEAG6o9tA (envelope-from ) for ; Sun, 16 Jan 2022 15:31:24 +0100 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 CBB3CFA5C for ; Sun, 16 Jan 2022 15:31:23 +0100 (CET) Received: from localhost ([::1]:58456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n96Yz-0002N0-Vw for larch@yhetil.org; Sun, 16 Jan 2022 09:31:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n96Xx-0002MZ-JI for emacs-orgmode@gnu.org; Sun, 16 Jan 2022 09:30:17 -0500 Received: from [2607:f8b0:4864:20::f2a] (port=36568 helo=mail-qv1-xf2a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n96Xw-0005NK-1J for emacs-orgmode@gnu.org; Sun, 16 Jan 2022 09:30:17 -0500 Received: by mail-qv1-xf2a.google.com with SMTP id c2so5966155qvw.3 for ; Sun, 16 Jan 2022 06:30:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=4CCFKfgWz2fJMU/+d+XnTEZ0cvzIFKAxPLvh6kqqvMk=; b=ZRteAWdPs3tnsRrnsatAdTOrCE+yz0YSImnHP9sI/rntukzQON8GDrwJLl5gL4u7dE aryHUKfzHKMPtZVB3qpwtr49/krXKXjsO+pS7S1szrs1zWGq9n0ecjN/FM6ygX1n2xMJ 2V6rNh4scMLO8i4tGCrwrEZ7jXEMGZ8gOwvVmfNDsyYoxQcMFUATMyFY6Wv0zw+o9kkH nznnpkzYpmNJNmQV95RvHmOokt71aod/mdHH09Yyf7iuPDdo9PzIFHjM70xbihVdDJ65 2UV7z60heiSF/MgWrHQ9nIoSe9kLc2dMYVmkGlgOt3sVZdINgiOVjr3+kJ5U89a6KJMX EjlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=4CCFKfgWz2fJMU/+d+XnTEZ0cvzIFKAxPLvh6kqqvMk=; b=zJa95svbNvEQ1XihCugVtFzJWzkGOrRe4MX02jgVt4OrYWy0z1MbXS8TOgvYDLxNHn ZtJoLrJFphDK70yZPCmXjoneFju2Cc1xhNMs1ZjVeKLyDxeQQLyIj16aSf/ZuM/kYh8z 9rSgSObyubbn7VY+3OrLjJbUew12uToiwclWLE4cR5At/KDk5u6z+03VPGMtpXhp2H57 wbYLwVrJ00kwS+urfumrAYMemTjEyTmKzSbGZCOf5fVV7DTdwN4kCPk1KnhKHXKaWo7V cspDg1s3z8GIk+2AeCfWxLSh2gL+3netQdh4M8/gvnM3eNWloF9ooFZGKSLSPNt9BDZM GVeQ== X-Gm-Message-State: AOAM530fRwXvWzHeyOOQGfFEw1jFCJo92B1leIC9U53vgiaBtqgE2G2e ozDRG5b68Q2NlBhhATzxxZwePKxor0M= X-Google-Smtp-Source: ABdhPJyJpoXE+yffxx9JFME73gtC6v22tJSDaiPwq6+fHoGVRyPg9sqEN8lSoVZVe2upk1TXDRXuJQ== X-Received: by 2002:a05:6214:19e8:: with SMTP id q8mr14942140qvc.107.1642343414857; Sun, 16 Jan 2022 06:30:14 -0800 (PST) Received: from smtpclient.apple (c-68-83-22-43.hsd1.nj.comcast.net. [68.83.22.43]) by smtp.gmail.com with ESMTPSA id bk21sm7216991qkb.13.2022.01.16.06.30.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Jan 2022 06:30:14 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Anthony Cowley Mime-Version: 1.0 (1.0) Subject: Re: Depreciating TeX-style LaTeX fragments Date: Sun, 16 Jan 2022 09:30:12 -0500 Message-Id: References: <87k0ezdgp5.fsf@ucl.ac.uk> In-Reply-To: <87k0ezdgp5.fsf@ucl.ac.uk> To: Eric S Fraga X-Mailer: iPhone Mail (19C63) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f2a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f2a; envelope-from=acowley@gmail.com; helo=mail-qv1-xf2a.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Cc: sebastien.miquel@posteo.eu, org-mode-email , Timothy Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642343484; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4CCFKfgWz2fJMU/+d+XnTEZ0cvzIFKAxPLvh6kqqvMk=; b=M2mfkZANZ7c+meTTG+lZnkzSUsYv/O3cqGd8hc55clg7hSYKbw73Zce+9mRz6Q8uk3KMYu J5yx9D6RoZNu+6mHTDxg6oarjwAcfVhFd/Ug8F5aJ09yzlUer1efxcAGVSZDodYAuEm1qE refdjoY3SbyQZ9StDKZvMfVvyFwEJ0NexYDZ4r+YW70L2cW4mS5rwjGQb/A/RNXtedW7uF xl2cS2WJ8qcLGNv9o/8IoCLVXMWQB2zrThyF+CJVJDRr+XTNgbqmggrJ2l+B+h9yfWrybS qdAt9RJ97CR61oEBfZC+BtGjLxdzd7kmtXMqr3hUIz/b6WBvwkxniBcZwMiH3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642343484; a=rsa-sha256; cv=none; b=dOJIf6c7WAfW3Bue0xcvcbJ6KEKEzkPH3GVtv34M/B9uaYuvri0JpSveWPxph8ov3PlnI+ ywqyTWXd1TwWXqQpMeoW7nxrz223YBHLF8/Ifp1gSLOOHsxHYHGRKoDSZ9v1PoBn6qTpsQ L5orvTgmeG7pXjaohqeaRmIb3CLN7hjTEdvqpYGCLUjQEFhH039/7eqka92dZ+gEQTY1li qjCsUwcRnZfBB4MW3YZqOqS5az6qzUC8xtRPR8jLX/5Lt7/m7LJeXnLnNVeh2UywFfh0QT E5noeH3NYxVld0sF1IVkofJKkFxLOW7q3bYvb4sH7EfEdy3Z4EiAIpD00hbtKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ZRteAWdP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Migadu-Spam-Score: -1.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ZRteAWdP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Migadu-Queue-Id: CBB3CFA5C X-Spam-Score: -1.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: xvptZqJ/Tdf1 > On Jan 16, 2022, at 7:13 AM, Eric S Fraga wrote: >=20 > =EF=BB=BFOn Sunday, 16 Jan 2022 at 00:36, Timothy wrote: >> Hmm. Not sure about this. Keystroke wise we=E2=80=99re comparing $= $ >> to \(. The latter can be completed by smartparens, but since >> single dollars are reasonable Org content the former can=E2=80=99t= . >> At this point the only argument is muscle memory, and if >=20 > As an aside, I will suggest including the following code in your Emacs > customization: >=20 > #+begin_src emacs-lisp :tangle "esf-org.el" > ;; from Nicolas Richard > ;; Date: Fri, 8 Mar 2013 16:23:02 +0100 > ;; Message-ID: <87vc913oh5.fsf@yahoo.fr> > (defun yf/org-electric-dollar nil > "When called once, insert \\(\\) and leave point in between. > When called twice, replace the previously inserted \\(\\) by one $." > (interactive) > (if (and (looking-at "\\\\)") (looking-back "\\\\(")) > (progn (delete-char 2) > (delete-char -2) > (insert "$")) > (insert "\\(\\)") > (backward-char 2))) > (define-key org-mode-map (kbd "$") 'yf/org-electric-dollar) > #+end_src >=20 > I've been using this for years now and it works very well: I also had > $...$ in my muscle memory. This is a really helpful snippet, but I tried it out for a while a previous t= ime this issue came up and found the readability of equations took too much o= f a hit. The =E2=80=9Cbackslash city=E2=80=9D really is tough to visually pa= rse. Backslash density is already an unfortunate bit of the LaTeX experience= , and I didn=E2=80=99t get used to the extra slashed characters as bookends o= ver a two week trial. I still wanted to express my appreciation for you sharing this! Anthony=