emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "shynur ." <one.last.kiss@outlook.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: [PATCH] org-contrib/babel/intro.org: Delete unnecessary leading commas in some blocks
Date: Tue, 13 Aug 2024 16:48:33 +0000	[thread overview]
Message-ID: <PH0PR11MB7470F0DAFF09FA5320ECC36FD7862@PH0PR11MB7470.namprd11.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 89 bytes --]

These commas are confusing.
See <https://orgmode.org/worg/org-contrib/babel/intro.html>.

[-- Attachment #2: 0001-org-contrib-babel-intro.org-Delete-unnecessary-leadi.patch --]
[-- Type: application/octet-stream, Size: 1121 bytes --]

From 23b23db1adcd12f0a173a540e01eb25d7c540a0c Mon Sep 17 00:00:00 2001
From: shynur <one.last.kiss@outlook.com>
Date: Wed, 14 Aug 2024 00:42:33 +0800
Subject: [PATCH] org-contrib/babel/intro.org: Delete unnecessary leading
 commas in some blocks

---
 org-contrib/babel/intro.org | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/org-contrib/babel/intro.org b/org-contrib/babel/intro.org
index cc6ece70..c03a7bbf 100644
--- a/org-contrib/babel/intro.org
+++ b/org-contrib/babel/intro.org
@@ -276,7 +276,7 @@ Change "sh" to "shell"
 
    #+begin_src org
   ,#+begin_src <language> <switches> 
-  ,<body>
+  <body>
   ,#+end_src
    #+end_src
 
@@ -285,8 +285,8 @@ Change "sh" to "shell"
 
    #+begin_src org
   ,#+begin_src ruby
-  ,require 'date'
-  ,"This file was last evaluated on #{Date.today}"
+  require 'date'
+  "This file was last evaluated on #{Date.today}"
   ,#+end_src
    #+end_src
 
@@ -300,7 +300,7 @@ Change "sh" to "shell"
 
    #+begin_src org
   ,#+begin_src <language>  <switches> <header arguments>
-  ,<body>
+  <body>
   ,#+end_src
    #+end_src
 
-- 
2.41.0.windows.3


             reply	other threads:[~2024-08-13 16:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-13 16:48 shynur . [this message]
2024-08-13 19:50 ` [PATCH] org-contrib/babel/intro.org: Delete unnecessary leading commas in some blocks Ihor Radchenko

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.orgmode.org/

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

  git send-email \
    --in-reply-to=PH0PR11MB7470F0DAFF09FA5320ECC36FD7862@PH0PR11MB7470.namprd11.prod.outlook.com \
    --to=one.last.kiss@outlook.com \
    --cc=emacs-orgmode@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/org-mode.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).