emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Strange behavior: a comma is inserted before each star
@ 2016-01-13  7:35 zariskij
  2016-01-13  8:40 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: zariskij @ 2016-01-13  7:35 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I encounter a strange behavior of org-edit-special.

Whenever I have a line starting with * in org-edit-special buffer, 
org-mode automatically inserts a comma before * in the original 
org file.

For instance, if I type into org-edit-special buffer:
/**
 * a brief descripion
 * end
 */

After saving it, in the corresponding source block in the org file, 
it will appearas

/**
 ,* a brief descripion
 ,* end
 ,*/

This affects all source languages.

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

* Re: Strange behavior: a comma is inserted before each star
  2016-01-13  7:35 Strange behavior: a comma is inserted before each star zariskij
@ 2016-01-13  8:40 ` Nick Dokos
  2016-01-14  7:16   ` zariskij
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2016-01-13  8:40 UTC (permalink / raw)
  To: emacs-orgmode

zariskij <zariskij@gmail.com> writes:

> Hi,
>
> I encounter a strange behavior of org-edit-special.
>
> Whenever I have a line starting with * in org-edit-special buffer, 
> org-mode automatically inserts a comma before * in the original 
> org file.
>
> For instance, if I type into org-edit-special buffer:
> /**
>  * a brief descripion
>  * end
>  */
>
> After saving it, in the corresponding source block in the org file, 
> it will appearas
>
> /**
>  ,* a brief descripion
>  ,* end
>  ,*/
>
> This affects all source languages.
>

See footnote 4 in 

 (info "(org) Literal examples")

for an explanation.

-- 
Nick

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

* Re: Strange behavior: a comma is inserted before each star
  2016-01-13  8:40 ` Nick Dokos
@ 2016-01-14  7:16   ` zariskij
  0 siblings, 0 replies; 3+ messages in thread
From: zariskij @ 2016-01-14  7:16 UTC (permalink / raw)
  To: emacs-orgmode

Nick Dokos <ndokos <at> gmail.com> writes:

> 
> 
> See footnote 4 in 
> 
>  (info "(org) Literal examples")
> 
> for an explanation.
> 


I see. Thanks!

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

end of thread, other threads:[~2016-01-14  7:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-13  7:35 Strange behavior: a comma is inserted before each star zariskij
2016-01-13  8:40 ` Nick Dokos
2016-01-14  7:16   ` zariskij

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).