emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: mcg <mgiepen@posteo.net>
To: emacs-orgmode@gnu.org
Subject: org-edit-src-exit randomizes / mixes up code in source-buffer on exit
Date: Tue, 22 Jun 2021 10:39:21 +0000	[thread overview]
Message-ID: <1d8c2e28-a7c1-7d37-152c-2aac07b54978@posteo.net> (raw)


org-edit-src-exit suddenly completely destroys my code after coming back 
from vacation. No known recent changes in configuration. Very strange 

EXAMPLE: here a simple code before editing



sum(mtcars$mpg, na.rm = TRUE)



I enter to edit (org-edit-special), change the order of two lines and 
add a number:

Result I should get in source buffer after exiting:





sum(mtcars$mpg, na.rm = TRUE)


What I get in source buffer on org-edit-src-exit: (no joke!)


cars$mpg, na.rm = TRUE)



Came back from vacation and suddenly this happens. Only updates to 
server, elpa / melpa has not been updated the last three weeks. Emacs 
reinstallation did not help, launching without

Emacs 26.1 build 2 (2021-01-31) modified by debian

org version 9.4.6

             reply	other threads:[~2021-06-22 12:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22 10:39 mcg [this message]
2021-06-22 13:33 ` org-edit-src-exit randomizes / mixes up code in source-buffer on exit Sébastien Miquel
2021-06-22 14:57   ` mcg
2021-06-23  9:15 ` Calendar vs. org-agenda exit tomas
2021-06-23 15:16   ` Marco Wahl
2021-06-23 15:28     ` tomas
2021-06-23 16:16       ` [SOLVED] (kinda) " tomas
2021-06-24 10:13         ` Stephen Berman
2021-06-24 12:09           ` tomas
2021-06-24 12:44             ` Stephen Berman
2021-06-24 15:04               ` Nicolas Goaziou
2021-06-24 17:28                 ` tomas
2021-06-24 20:54               ` Tim Cross
2021-06-24 21:07                 ` tomas

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:

  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=1d8c2e28-a7c1-7d37-152c-2aac07b54978@posteo.net \
    --to=mgiepen@posteo.net \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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 read-only IMAP folder(s) and NNTP newsgroup(s).