emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: "Dávid Jakab" <djakab314@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-edit-special indents inline latex [9.5 (nil @ /home/david/.emacs.d/.local/straight/build-27.2/org-mode/)]
Date: Sat, 28 Aug 2021 21:11:59 +0800	[thread overview]
Message-ID: <87bl5hu31c.fsf@localhost> (raw)
In-Reply-To: <0f961d3b-a4ef-fbbf-ab16-7ff1af8b2070@gmail.com>

Dávid Jakab <djakab314@gmail.com> writes:

> When using org-edit-special to edit inline latex, i.e., equations 
> between \( and \), in an org-mode buffer, a number of
> spaces may get inserted before \( after the latex editing minibuffer is 
> closed.

Confirmed

Recipe:

1. Insert the following into a new Org mode buffer (note the indentation):

           \(x^{2}+3=\frac{2}{1}\)

2. Move point to the equation
3. M-x org-edit-special <RET>
4. M-x org-edit-src-exit <RET>
5. Observe the equation indented twice more

Best,
Ihor


  reply	other threads:[~2021-08-28 13:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28 13:37 Dávid Jakab
2021-08-28 13:11 ` Ihor Radchenko [this message]
2021-08-31 15:13   ` [PATCH] " Sébastien Miquel
2021-09-27 11:01     ` Bastien
2021-09-29 21:01       ` Dávid Jakab
2021-09-30 12:07       ` Sébastien Miquel
2021-09-30 13:50         ` Ihor Radchenko
2021-09-30 15:42         ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bl5hu31c.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=djakab314@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Bug: org-edit-special indents inline latex [9.5 (nil @ /home/david/.emacs.d/.local/straight/build-27.2/org-mode/)]' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).