unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: PENG Kevin <kevin.remegame@gmail.com>
Cc: 73774@debbugs.gnu.org
Subject: bug#73774: 29.4; [org-mode] insert C comment in c-babel
Date: Sat, 12 Oct 2024 19:54:45 +0300	[thread overview]
Message-ID: <86ttdhuuqy.fsf@gnu.org> (raw)
In-Reply-To: <87msj9mgn0.fsf@gmail.com> (message from PENG Kevin on Sun, 13 Oct 2024 00:26:43 +0800)

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





  reply	other threads:[~2024-10-12 16:54 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 [this message]
2024-10-14 13:03   ` PENG Kevin
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=86ttdhuuqy.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=73774@debbugs.gnu.org \
    --cc=kevin.remegame@gmail.com \
    /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).