unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: PENG Kevin <kevin.remegame@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>, bzg@gnu.org
Cc: 73774@debbugs.gnu.org, carsten.dominik@gmail.com
Subject: bug#73774: 29.4; [org-mode] insert C comment in c-babel
Date: Mon, 14 Oct 2024 21:03:31 +0800	[thread overview]
Message-ID: <875xpubziw.fsf@gmail.com> (raw)
In-Reply-To: <86ttdhuuqy.fsf@gnu.org>


Hi, Bastien Guerry,

I found you are the maintainer of Org-mode,
can you help to fix this?

Thank you!

Eli Zaretskii <eliz@gnu.org> writes:

> [+]
>> From: PENG Kevin <kevin.remegame@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.


-- 
Best Regards.





  reply	other threads:[~2024-10-14 13:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-12 16:26 bug#73774: 29.4; [org-mode] insert C comment in c-babel PENG Kevin
2024-10-12 16:54 ` Eli Zaretskii
2024-10-14 13:03   ` PENG Kevin [this message]
2024-10-14 13:50     ` Bastien Guerry
2024-10-14 21:26       ` Stefan Kangas

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875xpubziw.fsf@gmail.com \
    --to=kevin.remegame@gmail.com \
    --cc=73774@debbugs.gnu.org \
    --cc=bzg@gnu.org \
    --cc=carsten.dominik@gmail.com \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs.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).