* [PATCH] org-contrib/babel/intro.org: Delete unnecessary leading commas in some blocks
@ 2024-08-13 16:48 shynur .
2024-08-13 19:50 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: shynur . @ 2024-08-13 16:48 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
[-- 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] org-contrib/babel/intro.org: Delete unnecessary leading commas in some blocks
2024-08-13 16:48 [PATCH] org-contrib/babel/intro.org: Delete unnecessary leading commas in some blocks shynur .
@ 2024-08-13 19:50 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-08-13 19:50 UTC (permalink / raw)
To: shynur .; +Cc: emacs-orgmode@gnu.org
"shynur ." <one.last.kiss@outlook.com> writes:
> These commas are confusing.
> ...
> #+begin_src org
> ,#+begin_src <language> <switches>
> - ,<body>
> + <body>
batch replace is easy to mess up, yes.
Thanks for the patch!
Applied.
https://git.sr.ht/~bzg/worg/commit/a27404f5
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-13 19:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-13 16:48 [PATCH] org-contrib/babel/intro.org: Delete unnecessary leading commas in some blocks shynur .
2024-08-13 19:50 ` Ihor Radchenko
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).