Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See
https://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org mailing list.
When insert /**/
comment in a C-src block, "," will be
insert automticlly before *
as flow:
Reproduce:
Insert this content:
#+BEGIN_SRC C /** @file main.c * @brief 项目主函数文件 * @details 主要包含协议应用栈程序框架,main函数入口 * @author 李长条 * @copyright Copyright (c) 2050 */ #+END_SRC
C-c '
,which will call "org-edit-special"*Org Src *
buffer, do nothing and type C-c '
againEmacs : GNU Emacs 29.4 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-10-10 Package: Org mode version 9.6.15 (release_9.6.15 @ opt/program/share/emacs/29.4/lisp/org)
current state:
============
(setq
org-html-with-latex 'imagemagick
org-agenda-prefix-format '((todo . " %i %-10:c%l%l") (agenda . " %i %-12:c%?-12t% s")
(tags . " %i %-12:c") (search . " %i %-12:c"))
org-link-elisp-confirm-function 'yes-or-no-p
org-directory "~/.emacs.d/redef/org"
org-roam-db-gc-threshold 100000000
org-hide-emphasis-markers t
org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "(fn ENTRY)"]
org-export-with-sub-superscripts '{}
org-log-done 'time
org-roam-dailies-capture-templates '(("d" "default" entry "* %<%I:%M %p> %?" :if-new
(file+head "%<%Y-%m-%d>.org" "#+title: %<%Y-%m-%d>"))
)
org-startup-folded 'content
org-agenda-files '("~/.emacs.d/redef/org/captures.org" "home/pk/rdf/rdf-todo.org"
"/home/pk/rdf./workspace//ruby/tool-site-r7/readme.org"
"home/pk/rdf./workspace//ruby/remegame.site/org/index.org")
org-publish-project-alist '(("org-html-theme" :base-directory
"home/pk/rdf/bext/code/localize/examples/org-html-themes"
:base-extension "css\\|js" :publishing-directory
"home/pk/rdf./workspace//_tmp//rdoc/html/org-html-themes"
:recursive t :publishing-function org-publish-attachment)
("org-notes-theme" :base-directory
"home/pk/rdf./workspace//_tmp//rdoc/html/org-html-themes"
:base-extension "css\\|js" :publishing-directory
"home/pk/rdf./workspace//_tmp//rdoc/html/notes/" :recursive t
:publishing-function org-publish-attachment)
("org-notes" :base-directory "home/pk/rdf/redef/repos/rdf-mix/roam"
:base-extension "org" :publishing-directory
"home/pk/rdf./workspace//_tmp//rdoc/html/notes/" :recursive t
:publishing-function org-html-publish-to-html :headline-levels 4
:auto-preamble t)
("org-notes-static" :base-directory
"home/pk/rdf/redef/repos/rdf-mix/roam" :base-extension
"css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory
"home/pk/rdf./workspace//_tmp//rdoc/html/notes/" :recursive t
:publishing-function org-publish-attachment)
("notes" :components
("org-html-theme" "org-notes-theme" "org-notes" "org-notes-static"))
("org-blogs" :base-directory
"home/pk/rdf/workspace/jekyll/blog/__all" :base-extension "org"
:publishing-directory "/home/pk/rdf/workspace/jekyll/blog/_posts"
:recursive t :publishing-function org-html-publish-to-jekyll-html)
)
org-capture-templates '(("t" "Task to be done" entry (file+headline org-default-notes-file "TASK")
"* TODO %U %?")
("i" "Idea to try" entry (file+headline org-default-notes-file "IDEA")
"* About %? %U")
("p" "Plan to be done" entry (file+headline org-default-notes-file "PLAN")
"* For %? %U")
)
org-persist-after-read-hook '(org-element–cache-persist-after-read)
org-export-before-parsing-hook '(org-attach-expand-links)
org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
org-default-notes-file "~/.emacs.d/redef/org/captures.org"
org-roam-find-file-hook '(org-roam-buffer–setup-redisplay-h
org-roam–register-completion-functions-h
org-roam–replace-roam-links-on-save-h
org-roam-db-autosync–setup-update-on-save-h)
org-archive-hook '(org-attach-archive-delete-maybe)
org-file-apps '(("\\.pdf\\'" . "evince %s") ("\\.x?html?\\'" . "firefox %s")
("\\.\\'" . "xdg-open %s"))
org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
org-ascii-format-drawer-function #[771 "\207" [] 4 "(fn NAME CONTENTS WIDTH)"]
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines
org-cycle-optimize-window-after-visibility-change org-cycle-display-inline-images)
org-persist-before-read-hook '(org-element–cache-persist-before-read)
org-link-from-user-regexp "\\<pk@rainbow\\>\\|\\<pk\\>"
org-image-actual-width nil
org-mode-hook '(org-fragtog-mode r-ruby–run-top-level org-appear-mode
#[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2]
#[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-fold-show-all append local] 5]
#[0 "\300\301\302\303\304{slug}.org" "#+title: ${title}") :unnarrowed t)
)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-hugo-external-file-extensions-allowed-for-copying '("md" "jpg" "jpeg" "tiff" "png" "svg" "gif"
"bmp" "mp4" "pdf" "odt" "doc" "ppt" "xls"
"docx" "pptx" "xlsx")
org-src-lang-modes '(("ein-julia" . julia) ("ein-r" . R) ("ein-R" . R) ("ein-python" . python)
("ein" . python) ("plantuml" . plantuml) ("dot" . graphviz-dot) ("C" . c)
("C++" . c++) ("asymptote" . asy) ("bash" . sh) ("beamer" . latex)
("calc" . fundamental) ("cpp" . c++) ("ditaa" . artist)
("desktop" . conf-desktop) ("dot" . fundamental) ("elisp" . emacs-lisp)
("ocaml" . tuareg) ("screen" . shell-script) ("shell" . sh) ("sqlite" . sql)
("toml" . conf-toml))
org-roam-indirect-buffer-hook '(org-roam–register-completion-functions-h)
)