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 ms0.migadu.com with LMTPS id 0A1oLQo2KmEBZwEAgWs5BA (envelope-from ) for ; Sat, 28 Aug 2021 15:11:38 +0200 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 GNgJKQo2KmFfTAAA1q6Kng (envelope-from ) for ; Sat, 28 Aug 2021 13:11:38 +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 3F2243094 for ; Sat, 28 Aug 2021 15:11:38 +0200 (CEST) Received: from localhost ([::1]:45474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJy7V-0003gL-AW for larch@yhetil.org; Sat, 28 Aug 2021 09:11:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJy77-0003fn-Ud for emacs-orgmode@gnu.org; Sat, 28 Aug 2021 09:11:14 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:40670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJy76-0001iP-Gc for emacs-orgmode@gnu.org; Sat, 28 Aug 2021 09:11:13 -0400 Received: by mail-ed1-x52d.google.com with SMTP id d6so14155448edt.7 for ; Sat, 28 Aug 2021 06:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=120cdRxCeoEYeb0YfVK5tSp2H0aUha+84PLMOvdCEgg=; b=sPHC5rPtMGShhv+P4lLTVTNR4m84izvsHesYhZwF98Ba8gmweLpcZq8j9WHEht2Q+G VEzpPsuW9YWcITk5h7N9uixZOWMqhhWAQy6S6vcFhfgB3csdRTUsr00pPJvYLrrIC7qX NTGna+PxF3yNGi7OiQqQxgbQr6AQOHIdCM107ZpP9UtP7J8BzqQp03rrWbzElpvuQBBt YyN+gkOf+74hkswyzaoX6oCJnEMMQTb+ZpUErJh/TYdW+vIFXEMj/XEDUyO7n/gaeS9d XCo/s7hMIOglDkKxamStE0AiUhg1LA2iPbWJOsHvx9I1R+LssqOCKywctXFqxYpiOEy7 NZUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=120cdRxCeoEYeb0YfVK5tSp2H0aUha+84PLMOvdCEgg=; b=iPRggCDvsIWOwforV6/8e2gMuge041x2jOAssDwivRjzD6iqmwZ9gxSj87d+JIl6eM OHSNJNT1qsHRxl7dK5sSRSoEC8RaEtbWmSVy0LUyup+zRm3YV3k+jWp6fBsWGU3DcdFm IzWXynIzv+rZZJ4j6RADQoXJBPQG3XaWw7q+jOz+p1hcfr1go29LcZicqvnB+2fkOdib 1mYcN+PLaiHvxIcBkq9w+4P498WCHmxcXoNHMGW6jtCJXvuXFd6GyQpngwQf8iiawjsH 9COGqVj9gpUHTre/Mmi/adtHp1YCIrpQNXz1tOQkVbI1tBTRbUPeHnVKbhmOXUbk93kj +yrw== X-Gm-Message-State: AOAM530J0gRU2rhQvk1I/cevr/ml1V+z1Mrso8YeQTSR/kRYS195MdzT 4SmwugvSzkJXyUFy8upwlTw= X-Google-Smtp-Source: ABdhPJzJnj8RZLI1E1E52CYWqeOl39RPOy0FYJZdlVzcS3NFl7McBYdllwZiZn/D5vM0jEXrLq8diw== X-Received: by 2002:a50:c94d:: with SMTP id p13mr15216052edh.246.1630156271088; Sat, 28 Aug 2021 06:11:11 -0700 (PDT) Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id f12sm4039096ejz.99.2021.08.28.06.11.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Aug 2021 06:11:10 -0700 (PDT) From: Ihor Radchenko To: =?utf-8?Q?D=C3=A1vid?= Jakab Subject: Re: Bug: org-edit-special indents inline latex [9.5 (nil @ /home/david/.emacs.d/.local/straight/build-27.2/org-mode/)] In-Reply-To: <0f961d3b-a4ef-fbbf-ab16-7ff1af8b2070@gmail.com> References: <0f961d3b-a4ef-fbbf-ab16-7ff1af8b2070@gmail.com> Date: Sat, 28 Aug 2021 21:11:59 +0800 Message-ID: <87bl5hu31c.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=yantar92@gmail.com; helo=mail-ed1-x52d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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: emacs-orgmode@gnu.org 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=1630156298; 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=120cdRxCeoEYeb0YfVK5tSp2H0aUha+84PLMOvdCEgg=; b=Ii2fIAPbUmaI7fM5i8UqSsBgbbl0lQgpAU/j0Wn7UWu41wLmHzLiuKHEtRw5AEGWMa/o7V YulUFGiAciY+vXAuVuyBRLQo7wF2Yst+CyFeRk2XbQGEOLC5OX+BOmR/TUiurHrlh+xEtC Ef9foXDRWCbKeqrv0d49WVRb6DpQF/u9Z0GQMEN+dtMq3bFnOKhdWTLlYs0g2X+TjblbxC QBANVZ28kgqZMPp0dgf5HCf1zkJDYfPgyrNyw1udMNxrhP269Uh14MGbtbdCMY/TWgenZH xYpV34hKZzF2BRwW7RpUh72KH5NjYuK1ddnK59JXuQdVSZ1wiuJWZN49I2Z0XA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630156298; a=rsa-sha256; cv=none; b=Lx6xGKjHXzLKbVqrU28K263HfwHGH1nvgNSjoCBkZGZ6QLQ6BGXVG8o0ng1UuMr9oV3tRy hVTx0R+fbMdz/xY99wznV7N87QfVJIb57ImMwoQ5cNDKNxaUjx/AAm6tLrFbh9RBcYpyVi P3pSbtbf1G/qmICn2phv1Iwrs86ZtfMQAJ5khKBBSRgWS2fIaHOTXWc1+QBZYVwUP0cR0u Hhid962o/asWOnK9wErMyGHygP7qlJOcDXf90FlGdwUCHuHYIqhTKFDJTebBYABY5JZGzb W1U2/IUB/GlyfNH6RI3mAMXNjmWFiRMU89mNu+ELetr7qtJvxUCCdzGzdj6kjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=sPHC5rPt; 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: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=sPHC5rPt; 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: 3F2243094 X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: CBrB3EAwqLcK D=C3=A1vid Jakab writes: > When using org-edit-special to edit inline latex, i.e., equations=20 > between \( and \), in an org-mode buffer, a number of > spaces may get inserted before \( after the latex editing minibuffer is=20 > closed. Confirmed Recipe: 1. Insert the following into a new Org mode buffer (note the indentation): \(x^{2}+3=3D\frac{2}{1}\) 2. Move point to the equation 3. M-x org-edit-special 4. M-x org-edit-src-exit 5. Observe the equation indented twice more Best, Ihor