Subject: bug#73774: 29.4; [org-mode] insert C comment in c-babel

From: Bastien Guerry <[email-masked]>
Date: Mon, 14 Oct 2024 15:50:34 +0200

Hi Kevin,

thanks for your email.

To report a bug, use M-x org-submit-bug-report or send an email to the
Org mailing list at [email-masked].

Best,

PENG Kevin <[email-masked]> writes:

> I found you are the maintainer of Org-mode,
> can you help to fix this?
>
> Thank you!
>
> Eli Zaretskii <[email-masked]> writes:
>
>> [+]
>>> From: PENG Kevin <[email-masked]>
>>> Date: Sun, 13 Oct 2024 00:26:43 +0800
>>> 
>>> When insert =/**/= comment in a C-src block, "," will be
>>> insert automticlly before =*= as flow:
>>> [[file:/home/pk/rdf/redef/repos/rdf-mix/roam/emacs_org_issue.png]]
>>> 
>>> Reproduce:
>>> 1. Create one new .org file
>>> 2. Insert this content:
>>>    #+BEGIN_EXAMPLE
>>>    #+BEGIN_SRC C  
>>>    /** @file  main.c
>>>     * @brief  项目主函数文件
>>>     * @details 主要包含协议应用栈程序框架，main函数入口
>>>     * @author 李长条
>>>     * @copyright Copyright (c) 2050
>>>     */
>>>    #+END_SRC
>>>    #+END_EXAMPLE
>>> 3. In this block, type =C-c '=,which will call "org-edit-special"
>>> 4. In the opened =*Org Src *= buffer, do nothing and type =C-c '= again
>>> 5. Then the "," are inserted in org file as shown in previous picture.
>>
>> Isn't this a problem in Org?  If so, please report it to the Org
>> developers first.

-- 
 Bastien Guerry