From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73774: 29.4; [org-mode] insert C comment in c-babel Date: Sat, 12 Oct 2024 19:54:45 +0300 Message-ID: <86ttdhuuqy.fsf@gnu.org> References: <87msj9mgn0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22051"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73774@debbugs.gnu.org To: PENG Kevin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 12 18:56:10 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1szfPW-0005aN-4b for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Oct 2024 18:56:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1szfPB-0002NS-Sa; Sat, 12 Oct 2024 12:55:49 -0400 Original-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 1szfP9-0002ND-RP for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2024 12:55:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1szfP9-0004zY-GE for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2024 12:55:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=tEU/5jx1Mt3WZx3GOt2kSKck+KWxudZUmWmoxpr6K4E=; b=Agb8MCN8MvFC4ZqcFQg5G39pFN6kry9KKpDGCSdYmgmSCK9VhSQ3Mn0esTtHMjSmiVUYad10hIid0/F4UZkJ2h6Am/QmN1Dbxk619OFjrPDpdlP9PUmNPFD8pn77h6td+veCmkLx1fl0PvU883HMi0517wBrg2X+EBghqdzL3CelhoT156qlkZtrKU6x+igGfeGW52qwFdZJH+Hzy7XPggaggOQ7Ut9l0kv7oNyzixyweUczdWqhZgOTVL99/krlHonqbErvGp1BlhgrcvUffGsDIMczBxVC/Yebg83SfeBbA+f9YrzyHUYWZr2ybGLS/T8qxq4vgVDROwkcCslRAw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1szfPN-0004Wd-MS for bug-gnu-emacs@gnu.org; Sat, 12 Oct 2024 12:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Oct 2024 16:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73774 X-GNU-PR-Package: emacs Original-Received: via spool by 73774-submit@debbugs.gnu.org id=B73774.172875212717303 (code B ref 73774); Sat, 12 Oct 2024 16:56:01 +0000 Original-Received: (at 73774) by debbugs.gnu.org; 12 Oct 2024 16:55:27 +0000 Original-Received: from localhost ([127.0.0.1]:53476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szfOp-0004V0-EK for submit@debbugs.gnu.org; Sat, 12 Oct 2024 12:55:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szfOn-0004RH-J9 for 73774@debbugs.gnu.org; Sat, 12 Oct 2024 12:55:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1szfOS-0004wP-Fg; Sat, 12 Oct 2024 12:55:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=tEU/5jx1Mt3WZx3GOt2kSKck+KWxudZUmWmoxpr6K4E=; b=H+BnSAx/UES37hUbxZ4+ ZvRH4BY9o24PnmJzk+9M2zBX4+PBMueXuSDX12OhzHjb8VASYWDmaZuJhH49pHpGnd0pRtqnyLC6b rPIAs/iyLszd+02X1jW0HI4jSzIJj8RKEm/RKxqvtZUIPYfTa34E7+JZLKI1WW9hWaz4P0oqycphq BBoRfLr3vnlgGx3B84yzPxKqYWu9rVTNVqFchgTrChzpLjx4llhZQGq/3SGDNqQWh3FDPqcbBUzBR EiG4hF0fQmE/MMMtRh9hryf9zOTFzCmL6kZcgRV18m2Uq7KP9x6rtbfHJdm4xRN4Y85NUll7mztu7 afI5gwABjH80JA==; In-Reply-To: <87msj9mgn0.fsf@gmail.com> (message from PENG Kevin on Sun, 13 Oct 2024 00:26:43 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293464 Archived-At: > From: PENG Kevin > 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.