emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yuval Langer <yuval.langer@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [patch] Small bug fix to the python babel documentation
Date: Thu, 24 Nov 2016 00:55:47 +0200	[thread overview]
Message-ID: <CAK0OjG0hFsmT3jDWB4LVyr35Ly2fLAtRhA2i6NXG-h5odiKBbQ@mail.gmail.com> (raw)

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

Fixing a very small bug in which a source block ends with `#+end_src
python` instead of `#+end_src`, prohibiting it from being recognized
as a source block.

The branch:
https://gitlab.com/yuvallanger/worg-mirror-unofficial/tree/fix-end-src-python

The commit:
https://gitlab.com/yuvallanger/worg-mirror-unofficial/commit/8f6214fe35199186f256c17cccecbd5a9a8063c7

Attached is the `git format-patch master` patch file while HEAD is
pointing at fix-end-src-python.

Many thanks,
Yuval Langer.

[-- Attachment #2: 0001-Fix-bad-end_src.patch --]
[-- Type: text/x-patch, Size: 733 bytes --]

From 8f6214fe35199186f256c17cccecbd5a9a8063c7 Mon Sep 17 00:00:00 2001
From: Yuval Langer <yuval.langer@gmail.com>
Date: Thu, 24 Nov 2016 00:47:18 +0200
Subject: [PATCH] Fix bad end_src

---
 org-contrib/babel/languages/ob-doc-python.org | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-contrib/babel/languages/ob-doc-python.org b/org-contrib/babel/languages/ob-doc-python.org
index 8acfbff..3ca20e1 100644
--- a/org-contrib/babel/languages/ob-doc-python.org
+++ b/org-contrib/babel/languages/ob-doc-python.org
@@ -191,7 +191,7 @@ plt.savefig('images/myfig.pdf')
 #+begin_example
 #+begin_src python :results output
 print "Hello, world!"
-#+end_src python
+#+end_src
 
 #+RESULTS:
 : Hello, world!
-- 
2.9.3


             reply	other threads:[~2016-11-23 22:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-23 22:55 Yuval Langer [this message]
2016-11-25 17:58 ` [patch] Small bug fix to the python babel documentation Nicolas Goaziou

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=CAK0OjG0hFsmT3jDWB4LVyr35Ly2fLAtRhA2i6NXG-h5odiKBbQ@mail.gmail.com \
    --to=yuval.langer@gmail.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).