From: Julian Gehring <julian.gehring@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: orgweb/Changes: broken formatting of code blocks
Date: Tue, 10 Apr 2012 21:55:51 +0200 [thread overview]
Message-ID: <jm238h$a78$1@dough.gmane.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
Hi,
at the changes page of the orgmode website, some of the code block
formatting seems to be broken (see http://orgmode.org/Changes.html#sec-3).
Can anyone please check if the attached patch would fix this? With my
local setup, this yields a proper display of the code blocks. Or do the
commas in front of the code lines have a meaning that I am simply missing?
Best
Julian
[-- Attachment #2: 0001-Changes.org-fix-code-block-formatting.patch --]
[-- Type: text/x-patch, Size: 2368 bytes --]
From 72e27909e8a01bdd44a85f05826a052e1dbe698a Mon Sep 17 00:00:00 2001
From: Julian Gehring <julian.gehring@googlemail.com>
Date: Tue, 10 Apr 2012 21:44:35 +0200
Subject: [PATCH] Changes.org: fix code block formatting
---
Changes.org | 80 +++++++++++++++++++++++++++++------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
diff --git a/Changes.org b/Changes.org
index 409fa95..adc1438 100644
--- a/Changes.org
+++ b/Changes.org
@@ -241,60 +241,60 @@ combines with =visual-line-mode=.
This results in the following behavior.
#+begin_src org
- ,#+property: var foo=1
- ,#+property: var+ bar=2
+ #+property: var foo=1
+ #+property: var+ bar=2
- ,#+begin_src emacs-lisp
- , (+ foo bar)
- ,#+end_src
+ #+begin_src emacs-lisp
+ (+ foo bar)
+ #+end_src
- ,#+results:
- ,: 3
+ #+results:
+ : 3
- ,#+begin_src emacs-lisp
- , (org-entry-get (point) "var" t)
- ,#+end_src
+ #+begin_src emacs-lisp
+ (org-entry-get (point) "var" t)
+ #+end_src
- ,#+results:
- ,: foo=1 bar=2
+ #+results:
+ : foo=1 bar=2
- ,* overwriting a file-wide property
- , :PROPERTIES:
- , :var: foo=7
- , :END:
+ * overwriting a file-wide property
+ :PROPERTIES:
+ :var: foo=7
+ :END:
- ,#+begin_src emacs-lisp
- , foo
- ,#+end_src
+ #+begin_src emacs-lisp
+ foo
+ #+end_src
- ,#+results:
- ,: 7
+ #+results:
+ : 7
- ,#+begin_src emacs-lisp
- , (org-entry-get (point) "var" t)
- ,#+end_src
+ #+begin_src emacs-lisp
+ (org-entry-get (point) "var" t)
+ #+end_src
- ,#+results:
- ,: foo=7
+ #+results:
+ : foo=7
- ,* appending to a file-wide property
- , :PROPERTIES:
- , :var+: baz=3
- , :END:
+ * appending to a file-wide property
+ :PROPERTIES:
+ :var+: baz=3
+ :END:
- ,#+begin_src emacs-lisp
- , (+ foo bar baz)
- ,#+end_src
+ #+begin_src emacs-lisp
+ (+ foo bar baz)
+ #+end_src
- ,#+results:
- ,: 6
+ #+results:
+ : 6
- ,#+begin_src emacs-lisp
- , (org-entry-get (point) "var" t)
- ,#+end_src
+ #+begin_src emacs-lisp
+ (org-entry-get (point) "var" t)
+ #+end_src
- ,#+results:
- ,: foo=1 bar=2 baz=3
+ #+results:
+ : foo=1 bar=2 baz=3
#+end_src
*** =org-agenda-custom-commands= has a default value ([[git:b3de2dbb953dcadacafeb179899ab9df184da4ff][git]])
--
1.7.10
next reply other threads:[~2012-04-10 19:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-10 19:55 Julian Gehring [this message]
2012-04-11 10:19 ` orgweb/Changes: broken formatting of code blocks Bastien
2012-04-11 11:06 ` Julian Gehring
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='jm238h$a78$1@dough.gmane.org' \
--to=julian.gehring@googlemail.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).