GNU bug report logs - #73774
29.4; [org-mode] insert C comment in c-babel

Previous Next

Package: emacs;

Reported by: PENG Kevin <kevin.remegame <at> gmail.com>

Date: Sat, 12 Oct 2024 16:41:03 UTC

Severity: normal

Found in version 29.4

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 73774 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: PENG Kevin <kevin.remegame <at> gmail.com>
Cc: 73774 <at> debbugs.gnu.org
Subject: Re: bug#73774: 29.4; [org-mode] insert C comment in c-babel
Date: Sat, 12 Oct 2024 19:54:45 +0300
> From: PENG Kevin <kevin.remegame <at> gmail.com>
> 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.




This bug report was last modified 274 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.