From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +KqEHiOsD2cELAEA62LTzQ:P1 (envelope-from ) for ; Wed, 16 Oct 2024 12:05:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +KqEHiOsD2cELAEA62LTzQ (envelope-from ) for ; Wed, 16 Oct 2024 14:05:55 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=XwXLv2Qd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729080355; a=rsa-sha256; cv=none; b=YbE7TzdjneclxN/c1e+qVPHWItLmUnZSDHNQbJR92npiYT++3DwUv2Ly9cHkt8iMASOdXp or5U9mp5QYcesoFdWUOXXD8j5Cn1PuftFPo6t6G7lXS1f9wd7tTWYb4mc7AZ2BjvZIVLjE I/AYY85DRM49cN4UjwyUL6shTyB17KugJZSqH099Th9AdTe9bUzwe9bmdCjwGoQ37gA72n 2LaQe1cKPPG77wnFDRhuFxbyQOVBrfKlULNJqP4ckyq20P1cieBcSqDu3K/LS7DfdHchln +XBlULWrTXuk49peOJeL+f/I8PPhCs6fiyAVCCpWh9c85PxfN5hKJDVD0qn+8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=XwXLv2Qd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729080355; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=8pYbMLbZCW/R93/zP31vbj89sSCT6dspHYLOJZZaGEk=; b=Yq6Q74xJwha2V3upsqKylFuf0JpejAWp77Uilkx82ow9g4SUASLTbcOcUhwYnL5x64o5gj jttOMmnUcw9HLuUCw8I0dqM/k3wVEN4mwgOyREHg9K5XLzwIgQTujLlpDSMkUfy7A6mmFK 2rS5Cp4e+DuienUgb+NE9I6tPC/dxtmoJo0sKbHgF1Tfrh4aljk0jLBXUF9zIekdOu/8Td viEa6YB5vlEeIS73sXIkoNogdX0XLsQpcVvxhjKo/5837POctn+Q8P1ZISHLaEVwOZ1wrh AFGUObqZvROVDvdrthZnL5cUF7cQCLi12NDSE5qxDTCRsK6gKfZcaH9noSL4uw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1759A33EA7 for ; Wed, 16 Oct 2024 14:05:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t12mC-0008AU-JR; Wed, 16 Oct 2024 08:05:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0yUx-0008VY-Sg for emacs-orgmode@gnu.org; Wed, 16 Oct 2024 03:31:12 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t0yUq-0006Ni-Qc for emacs-orgmode@gnu.org; Wed, 16 Oct 2024 03:31:09 -0400 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-20cb89a4e4cso29538935ad.3 for ; Wed, 16 Oct 2024 00:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729063863; x=1729668663; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:from:to:cc:subject:date :message-id:reply-to; bh=8pYbMLbZCW/R93/zP31vbj89sSCT6dspHYLOJZZaGEk=; b=XwXLv2QdOLqbFHCo0HpF1qM6rfsFIEngBg9RoU+xaQ4tTUcsjr62uOTvV4VSgL+A4r FBlXAskoMWgZyFyMlqSLW3uNNFJnQF/7ESFSaDuSve0cIpMf0BXF3lXRGGnFwxIG9L3c poqULfieJhJQv+2eXo3eCPlukeuLCcOHfNy3/rvm3/PhvlUaZEUUJxpH/AQ0+TeZmLI9 7iScijDXsrt51O+Nt3dqTYXDF1idJXrXaln4+X8v/EqsHWxRq9eXMqezHSEZ338hbkHX p5NGSB3OZPqGMxybmpRCWIXCeyOvkUPB5WmwVmX2Q4Yith+06u4h/6DB3fGf6yjypsa4 HS2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729063863; x=1729668663; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=8pYbMLbZCW/R93/zP31vbj89sSCT6dspHYLOJZZaGEk=; b=gaQv7bPs73m7Q22/U+gVkxvtHu7yVz6fEAv9A/V3BHTUXDnwKMjKrxlrgLScBvaQNx OTjz8sKke+PoTUhZKwZqeqgu/TZOXaoRW2jEoqZvp+T+FTXh//19W/TMosXNylV5sKBl rWGJt1RYPrlmjVqX7pwW89hoN1PE9Teg48Pj2ZUAo/isG7hWQ4FNFoy2If1ydbs/Vace Hum1727W1ZYaYXBupEkSVYze+PzZVjWJov6oBA+tjO+jNglgMYVgKSU/h0ecK4svLHjX jFU7Lt5FHXXq0L7AXT1z/wqt8Gf9PzM8sX//5IDfaMTvuf7DW9bvHOLqjzyF7T1q7hF8 fNFw== X-Gm-Message-State: AOJu0YzAmi+wCp4Y00hgiYvSLEJ/aKrT3ajwJdqgmc/GGM3Z+S43VPhs l9i2CPXl4AYwzkgNIhQG/sQ1wwENOXDVw3RO+y+F3CwGzlt5XGEG X-Google-Smtp-Source: AGHT+IEDlwIU4DoW156YG21+fPGZNnP/ehTsE+quQkUBrshuO4CR9NJOcekpZIcrtdzO2ylJ40GrXQ== X-Received: by 2002:a17:902:e802:b0:20c:bcd8:5ccb with SMTP id d9443c01a7336-20d27ecae36mr36881445ad.30.1729063862900; Wed, 16 Oct 2024 00:31:02 -0700 (PDT) Received: from localhost ([156.59.13.4]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20d1804b5dasm23096995ad.201.2024.10.16.00.31.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 00:31:02 -0700 (PDT) References: <87msj4mt28.fsf@gmail.com> User-agent: mu4e 1.10.8; emacs 29.4 From: PENG Kevin To: PENG Kevin Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] insert C comment in c-babel case wrong result [9.6.15 (release_9.6.15 @ /opt/program/share/emacs/29.4/lisp/org/)] Date: Wed, 16 Oct 2024 15:29:39 +0800 In-reply-to: <87msj4mt28.fsf@gmail.com> Message-ID: <877ca8mrm4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=kevin.remegame@gmail.com; helo=mail-pl1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 16 Oct 2024 08:05:14 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.67 X-Spam-Score: -5.67 X-Migadu-Queue-Id: 1759A33EA7 X-Migadu-Scanner: mx10.migadu.com X-TUID: D10NdYNwtgqo Some org-mode information not present in this email. Please discard this email, a new one will be sent later. PENG Kevin writes: > [2. text/html] > Remember to cover the basics, that is, what you expected to happen and wh= at in fact did happen. You don't know > how to make a good report? See=20 > > https://orgmode.org/manual/Feedback.html#Feedback=20 > > Your bug report will be posted to the Org mailing list.=20 > > -------------------------------------------------------------------------= ------------------------------------------------ > > When insert /**/ comment in a C-src block, "," will be insert automticlly= before * as flow:=20 > emacs_org_issue.png > > Reproduce:=20 > > 1 Create one new .org file > 2 Insert this content:=20 > > > #+BEGIN_SRC C=20=20 > /** @file main.c > * @brief =E9=A1=B9=E7=9B=AE=E4=B8=BB=E5=87=BD=E6=95=B0=E6=96=87=E4=BB=B6 > * @details =E4=B8=BB=E8=A6=81=E5=8C=85=E5=90=AB=E5=8D=8F=E8=AE=AE=E5=BA= =94=E7=94=A8=E6=A0=88=E7=A8=8B=E5=BA=8F=E6=A1=86=E6=9E=B6=EF=BC=8Cmain=E5= =87=BD=E6=95=B0=E5=85=A5=E5=8F=A3 > * @author =E6=9D=8E=E9=95=BF=E6=9D=A1 > * @copyright Copyright (c) 2050 > */ > #+END_SRC > 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. > > Emacs : GNU Emacs 29.4 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.24.4= 1, cairo version 1.18.0) of 2024-10-10 > Package: Org mode version 9.6.15 (release_9.6.15 @ opt/program/share/emac= s/29.4/lisp/org)=20 > > current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-html-with-l= atex 'imagemagick org-agenda-prefix-format '((todo . " %i > %-10:c%l%l") (agenda . " %i %-12:c%?-12t% s") (tags . " %i %-12:c") (sear= ch . " %i %-12:c")) > org-link-elisp-confirm-function 'yes-or-no-p org-directory "~/.emacs.d/re= def/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-p= roject-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-th= emes" :recursive t : > publishing-function org-publish-attachment) ("org-notes-theme" :base-dire= ctory > "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" :publ= ishing-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-func= tion org-html-publish-to-jekyll-html) ) > org-capture-templates '(("t" "Task to be done" entry (file+headline org-d= efault-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-persis= t-after-read-hook ' > (org-element=E2=80=93cache-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-h= eader-arg-expand) org-default-notes-file > "~/.emacs.d/redef/org/captures.org" org-roam-find-file-hook '(org-roam-bu= ffer=E2=80=93setup-redisplay-h > org-roam=E2=80=93register-completion-functions-h org-roam=E2=80=93replace= -roam-links-on-save-h > org-roam-db-autosync=E2=80=93setup-update-on-save-h) org-archive-hook '(o= rg-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-funct= ion #[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-inlin= e-images) org-persist-before-read-hook ' > (org-element=E2=80=93cache-persist-before-read) org-link-from-user-regexp= "\\\\|\\" > org-image-actual-width nil org-mode-hook '(org-fragtog-mode r-ruby=E2=80= =93run-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\3= 02\303\304 > latexAaLZlk_89fb6c36e663ba05b453ab85514a3e4c0549629a.png > {slug}.org" "#+title: ${title}") :unnarrowed t) ) org-metaup-hook '(org-b= abel-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" . fundamenta= l) ("cpp" . c++) ("ditaa" . artist) ("desktop" . > conf-desktop) ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" . tua= reg) ("screen" . shell-script) ("shell" . sh) > ("sqlite" . sql) ("toml" . conf-toml)) org-roam-indirect-buffer-hook '(or= g-roam=E2=80=93register-completion-functions-h) )=20 --=20 Best Regards.