emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Code block contents do not match when seen from org file [9.6 (N/A @ /gnu/store/dqry6gr6wjaabd4v8cl40ab2ganrbn2l-emacs-org-9.6/share/emacs/site-lisp/org-9.6/)]
@ 2023-01-17  9:07 André A. Gomes
  2023-01-17  9:18 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: André A. Gomes @ 2023-01-17  9:07 UTC (permalink / raw)
  To: emacs-orgmode



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

Steps to reproduce:

$ emacs -q

Write a file called test.org with the following content:

--8<---------------cut here---------------start------------->8---
#+begin_src conf
*.test
#+end_src
--8<---------------cut here---------------end--------------->8---

Run the command org-edit-src-code, and notice that the contents look
correct.  However, when you run the command org-edit-src-exit the org
file shows:

--8<---------------cut here---------------start------------->8---
#+begin_src conf
,*.test
#+end_src
--8<---------------cut here---------------end--------------->8---

Notice that a comma was magically insert at the beginning of the line!

Emacs  : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
Package: Org mode version 9.6 (N/A @ /gnu/store/dqry6gr6wjaabd4v8cl40ab2ganrbn2l-emacs-org-9.6/share/emacs/site-lisp/org-9.6/)


-- 
André A. Gomes
"You cannot even find the ruins..."


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] Code block contents do not match when seen from org file [9.6 (N/A @ /gnu/store/dqry6gr6wjaabd4v8cl40ab2ganrbn2l-emacs-org-9.6/share/emacs/site-lisp/org-9.6/)]
  2023-01-17  9:07 [BUG] Code block contents do not match when seen from org file [9.6 (N/A @ /gnu/store/dqry6gr6wjaabd4v8cl40ab2ganrbn2l-emacs-org-9.6/share/emacs/site-lisp/org-9.6/)] André A. Gomes
@ 2023-01-17  9:18 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-01-17  9:18 UTC (permalink / raw)
  To: André A. Gomes; +Cc: emacs-orgmode

André A. Gomes <andremegafone@gmail.com> writes:

> Run the command org-edit-src-code, and notice that the contents look
> correct.  However, when you run the command org-edit-src-exit the org
> file shows:
>
> --8<---------------cut here---------------start------------->8---
> #+begin_src conf
> ,*.test
> #+end_src
> --8<---------------cut here---------------end--------------->8---
>
> Notice that a comma was magically insert at the beginning of the line!

The comma is just an escape symbol. It will not affect anything.
See https://orgmode.org/manual/Literal-Examples.html

Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-17  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-17  9:07 [BUG] Code block contents do not match when seen from org file [9.6 (N/A @ /gnu/store/dqry6gr6wjaabd4v8cl40ab2ganrbn2l-emacs-org-9.6/share/emacs/site-lisp/org-9.6/)] André A. Gomes
2023-01-17  9:18 ` Ihor Radchenko

Code repositories for project(s) associated with this public 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 read-only IMAP folder(s) and NNTP newsgroup(s).