From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 YKjCIOIL5GGnDAEAgWs5BA (envelope-from ) for ; Sun, 16 Jan 2022 13:13:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2CwPHuIL5GF8VgEA9RJhRA (envelope-from ) for ; Sun, 16 Jan 2022 13:13:22 +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 ECF5AD670 for ; Sun, 16 Jan 2022 13:13:21 +0100 (CET) Received: from localhost ([::1]:43904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n94PR-0003Nh-5S for larch@yhetil.org; Sun, 16 Jan 2022 07:13:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n94N9-0003HP-7j for emacs-orgmode@gnu.org; Sun, 16 Jan 2022 07:10:59 -0500 Received: from mail-eopbgr30103.outbound.protection.outlook.com ([40.107.3.103]:48524 helo=EUR03-AM5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n94N6-0004K7-FV for emacs-orgmode@gnu.org; Sun, 16 Jan 2022 07:10:58 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jixPA4FgvfYPZxiklva6Kg3jgsBj+47ffJz9vW4O35UbcnvRBeq7DJWDcm+Mi+uJPqFx1gR85A3IvsWk5LCLzkENyO2FngYJr54+/eDwqI+iQsufMGUksNQkwB3T0xauyvS2RZsAmHSdMHoHOXP/FpVYr7EvIpeGTZi9DuQHS+9XW22Yg+p+444vxljyR9vgKOsj/4VODf9jltktb9LHRYfiuXp7rGZvnaeCCCwGEbZYfiDQwHd+fyE3NL3aGUCof7rUeBSPEWY8WQkOwmsw9aRBq97ugsqqENTyw9ZNXhyl7djsfSeSH4y/o9Gc1nj9gkEd9ibv/v+VfKgbeGDlRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=w8c/hk+piwlbvQnyTvbjSik8vTUbls5h16N4b80RhVo=; b=lVJKtd0fS6FvM9SKi9Khn/56ki2SYtVc6So2q7R6FUufIcJAh8yix7o6D2coI5Qdf6yLjjY6rrC1CTM40XjezepbyOGuVQ0RtrsJsAZfOylcMao7t6Goa0IVzNZpX7d75R0j8nbftZ+/eCjXk5qHh5fWGqmhUTbso8ObTr+hp57k9Bt+cr3JXbQc3a5CAZjm4zwU/t/8fkqQhmvM3qnuR5qyLAhT5dq3HQO7ZGYjIOx1UYitjh7ASfvOCog4B9TxZr3cwS2ee/bTBaPzG+XowMxy8imKIm5svhkfas4jEe9xAfPJ9J1IFJhEdON4Ft50yJrTxLbG+2BCm6IVU7+ZXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w8c/hk+piwlbvQnyTvbjSik8vTUbls5h16N4b80RhVo=; b=TMyfjhLmxNvwQ3ZmGJyIgB4yy59+M49a9M8zBwdPncgob044V47FodtC7Q9ICijpJNTpPqM54GWYzNmL4ih7VUwkPdfoj9tleImTsBKAiJB78/b9t3n0uCW2pAqm9aVYTWFvYvrVEPwUw0BLR13TwLkNGmDwZ5c+Jln9fvhbOqs= Received: from PAXPR01MB8439.eurprd01.prod.exchangelabs.com (2603:10a6:102:220::13) by AM4PR0101MB2132.eurprd01.prod.exchangelabs.com (2603:10a6:200:4f::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.10; Sun, 16 Jan 2022 12:10:53 +0000 Received: from PAXPR01MB8439.eurprd01.prod.exchangelabs.com ([fe80::7df7:eb08:a92a:7dbb]) by PAXPR01MB8439.eurprd01.prod.exchangelabs.com ([fe80::7df7:eb08:a92a:7dbb%3]) with mapi id 15.20.4888.012; Sun, 16 Jan 2022 12:10:53 +0000 From: Eric S Fraga To: Timothy Subject: Re: Depreciating TeX-style LaTeX fragments Organization: On the Interweb somewhere References: <871r1g936z.fsf@gmail.com> <87lezgly20.fsf@gmail.com> X-Url: http://www.ucl.ac.uk/~ucecesf/ Mail-Followup-To: Org Mode List Date: Sun, 16 Jan 2022 12:10:30 +0000 In-Reply-To: <87lezgly20.fsf@gmail.com> (Timothy's message of "Sun, 16 Jan 2022 00:36:35 +0800") Message-ID: <87k0ezdgp5.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: LO4P123CA0139.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:193::18) To PAXPR01MB8439.eurprd01.prod.exchangelabs.com (2603:10a6:102:220::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 09a7f20a-d00c-4a80-2cb5-08d9d8e93e6a X-MS-TrafficTypeDiagnostic: AM4PR0101MB2132:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MguEtJ9H+4ooOs5ybRl4w2eMJ+GtImjA8W50TzUHQm9mFY5iBaScEbNsJbg2b47v0M/MgOq4Dia84lFzHUvtDSzBA5HsKtpR164+e4Wz/jzAskmKscTA9R+Vf01yYzHtk5I7QiZXP1n5Nw5OeE0erfQ/rIDV5kpBVNrMvRCt/fauafK8PNA+WvH9KZ9cqwdDKS1netq5onSnS2aXJ2VB35Fu4L+8ULn2lBaSpmwI2z5x6mYv1wjlIa1Y1EqnrHtxgHoPVGQ7Xtr9rrc/K7/Hi40KtJ9Cl7KeDehs/DS215wgwjQ3G5jWOU3SjTJO+gDmnUfwfkgQqTCOTc530qMTikB7vgCTm08AP3N3dzZZTxaaF/KpCYWwojzLYW73U0yX30JVJfPsHOGvJLhkB2ftO/rlpRlWMA60ycBWKi0SxEBUTJzdeq7FFoLmpTcekHStvlwjoJ7uvpyX5MGqv2gu2FVdek9f1KPdcPOPI0oAQ9JCQ21bMXXo17d0guH5NM4WHO2fHYalIHsVZfIaeZATq0XIiYTmiPoXuFlA482wcG4szIhYUktMOWqFFfdUiFbApmA8xdTLim4KSdlAoDxumq9SYUURn8hyEYrEsSILRQgE8mFH415JtZ2jOp+3eG+0B4NiPk5bEbbGKttdsQNQkK58PbbaghFM10ftanytoRj7+f4yAXBrpz5J7jSMOtiwUcYE0NsiXyF6m0of8KNSIA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR01MB8439.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(6029001)(4636009)(366004)(4326008)(2616005)(316002)(6666004)(36756003)(6916009)(3480700007)(508600001)(86362001)(2906002)(6486002)(83380400001)(186003)(66476007)(66556008)(6506007)(786003)(38350700002)(38100700002)(66946007)(26005)(6512007)(8936002)(5660300002)(36916002)(8676002)(52116002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?V2pINVpYY2p1L0lNYytGK1BzcmZQUkRoam8zODNQY2svemM2TVNZM1dSTVh5?= =?utf-8?B?UFZDOC8yMTFCRjRuR2RUdWJXcUpVd245MkYwYzRYZEhweUphQjQrNlYvU0Ro?= =?utf-8?B?bVd0Z2xpSytrZ1MwSzA4Ym5CSDlrZEd2ZitieUlSUjdYM3dQcGRSaFlBVVJn?= =?utf-8?B?dEd6Nkh5dkU2d2g5bzVta3FhcnlBMWlvbzVJUlRWZlJjVEhxblNTa1NuUCt4?= =?utf-8?B?dUF5bmRmSEQzTGIwKzFSU3lGdktVNCszVEVRYndPSjRIa2pob0lQMTJRdTN1?= =?utf-8?B?RDlOdmJKRDlNTmtVOXBHS3JPa0RyS0N3VHFKVFFSSHNEdk5kdzZEQVNVYnZi?= =?utf-8?B?ZURyWWZrWGF3UlZpdzd0Y09tdFZxOHllemU4TE02Ukg4Z3AvU2V0cGlmVUNn?= =?utf-8?B?Sk5CZi91Y1FGY0N6QjBLcEJLRmx4MjRNNGJHLzdtZTk3MzludEdWcEVaa3JO?= =?utf-8?B?N09Cc1FUZ1RLbEh6MkpaZnk4ako5N1ZLWFcxcHUwV050a2tKRnVhOXZBT0o0?= =?utf-8?B?SzVFSEwxRTU4RFhkNjRzTFk3VFBOd0xqYXUyWE0yVjJ2cWorZmt6YWg0S0hS?= =?utf-8?B?VTZ2cXllN1ZRbW9IZVk0YnNtV1Q3YU4xeWxOdFFzSWc2d2orTTl0dGlJdExy?= =?utf-8?B?UU5MSzd1VndWTmpZYlJWcTlhczltTStiaFduM3NVUXJXdXlqN2UvelNady9m?=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MU5URmM3MUVadktQ?= =?utf-8?B?TGpDeklFZEdHbHpKYXhyR3FxeUNURDdjdDBZY3MzM1NlSXNOck5GM2l2UTJh?= =?utf-8?B?ZzF3cEt2cnhGSlhBajJkYnFucmY0Q0I0VWM0UkYxMktYNzdRK1VHNWRzSlN6?= =?utf-8?B?ejc4YmR3amFQWm1hMlZOOGhsQURtS0xSdjNaUGNEMUoyRnY5VjRwUFZKQnFw?= =?utf-8?B?V1loUm8yWVptcWZ6US8rRm8vaHRwMHg3UzhNZDVOVkUvTVp4UGRCR3N0Q1h2?= =?utf-8?B?dXVjM0xRd25rb0NwOWNkZFZEUkpnRW1tSllmMWxTVlYvQmFCekZ1UkhEUlB4?= =?utf-8?B?R1BnMm1nbzFBYno1U3Y1ZUdieWhaOWVkUDEwN0VnRDZBUmtoTDBFZHozajZj?= =?utf-8?B?aU9tYTFJdE53eDR5WVR2Y2QzbTNKbVVIQUFjWmRXOEFqaFRaU2tFTzJTK0Iy?= =?utf-8?B?MFJPK1hzbzFaQzV2MnRyeloxcm1tUGo3Skw1c1owemM3Q0FRdW5ha25QN3Iy?= =?utf-8?B?TXZzNTZNbFBoMC9Nb1IyMzVJSnRhUEtjNGVXRVg1TFpNRzVhU1F0MXQwc25C?= =?utf-8?Q?oX7JvJPcI0UNwUzQdfihyls=3D?= X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-Network-Message-Id: 09a7f20a-d00c-4a80-2cb5-08d9d8e93e6a X-MS-Exchange-CrossTenant-AuthSource: PAXPR01MB8439.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2022 12:10:53.6854 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Rz1jjGR/aGLYArcR2cVK3o0qHHpCrURe5KUedBNNRmwRqP9/9DJameQC3IJ754Yuqf+oRsO88QNSmIWfSbHvmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0101MB2132 Received-SPF: pass client-ip=40.107.3.103; envelope-from=e.fraga@ucl.ac.uk; helo=EUR03-AM5-obe.outbound.protection.outlook.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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: , Cc: sebastien.miquel@posteo.eu, org-mode-email 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642335202; 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=w8c/hk+piwlbvQnyTvbjSik8vTUbls5h16N4b80RhVo=; b=pH9baOKKgMPhBJT9wBYeN+ykmzHcHYsnkWztdqA3bQQPzs3lZqxort2hmhkNmX97NOO/gf Qq1oe+P0iivl7ZJwHjjzBoyr5RZkBXXXZn8PmGo71FiQ3oSiotbJuyvnV6V8NdOssWgHTR 6gb6bVXWrwSZvkzUopDf5+w7mcA/Ou+GmKBLv+aqVtCCgbTa6Ulql4kI8jBJNdFPxfChc/ 0frtgUmbrgPy81pFb6snzE44gKMNBS5vB75ZaxBLH+LCFi2QNWf1VK1zTTQdWwW3DG6aE4 p+jk31RwjUawsRo3pRdHJp1breoGIo2MOF8sflD0lwSnXLV61Xz7OztC4NL5Jw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1642335202; a=rsa-sha256; cv=pass; b=CdqjsVeboAD5GP1ws7mVtHZmbT56llYZYLpVmx2ZZIYscDUp1w/T3idFFg1GcmvfEm0XM/ //zgZkf1x8kqw8D5zbjTc8u63MSSAlfQtWzJvv7FwI4Q/dlNaGmR6c60eX1AQG+PyuVabW Wc+IgROBXzFcifcaf7uAGd5tOGHkbg5cmpHwSsB60cvHHlhoYkEQP/lEg/Sji7zqTHZd0z R8uNSr8WUghOB7OW020ZgwVGPYJIpITsxvS0eZ09yk4AeJv3PBZmMRrJABxm4P2FynH/Jl RDrEB4V5ncLeuChpy3Q1UQsVvmUrPqHla+D5sQslBkWbmfOg6COefV6y7NkXOw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=TMyfjhLm; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: -6.32 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=TMyfjhLm; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: ECF5AD670 X-Spam-Score: -6.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: Awxy+KSy4QF7 On 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=99= t. > At this point the only argument is muscle memory, and if As an aside, I will suggest including the following code in your Emacs customization: #+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 I've been using this for years now and it works very well: I also had $...$ in my muscle memory. The only time it can be annoying is if you wish to edit/write org table expressions directly instead of using org's features for this, such as editing the equation (C-c ') or inserting one (C-c =3D with or without C-u). --=20 : Eric S Fraga, with org release_9.5.2-306-g9623da in Emacs 29.0.50