Hello, Sebastien Vauban wrote: > Bastien wrote: >> Hi Yasushi, Michael and Nicolas, >> >> Michael Brand <michael.ch.br...@gmail.com> writes: >>> The syntax for inline code snippets seems easier to read by human >>> and to parse with "~" than with "=" because inline code snippets use >>> "~" less often than "=". I avoid "~/" by using "$HOME/" in my notes >>> about shell and shell scripts. Some examples: >> >> I've now fix those inconsistencies, both in the manual and in the >> code. I followed Michael suggestion to use ~code~ and =verbatim=. >> >> We may need to update the way export backend treat this markup, and >> try to be consistent here too. > > Since = and ~ have been inverted, I think it'd make sense to make > `org-babel-inline-result-wrap' now default to "~%s" (instead of > "=%s"), for markup that produces verbatim text.
Here is the patch. Best regards, Seb -- Sebastien Vauban
>From 4168c424e3c112748951177121b1a4dcb5b712a5 Mon Sep 17 00:00:00 2001 From: Sebastien Vauban <sva-n...@mygooglest.com> Date: Fri, 23 Jan 2015 20:17:25 +0100 Subject: [PATCH] Replace `=' by `~' in `org-babel-inline-result-wrap' * ob-core.el (org-babel-inline-result-wrap): Replace `=' by `~'. --- lisp/ob-core.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 24b83d6..5fd4119 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -1,6 +1,6 @@ ;;; ob-core.el --- working with code blocks in org-mode -;; Copyright (C) 2009-2014 Free Software Foundation, Inc. +;; Copyright (C) 2009-2015 Free Software Foundation, Inc. ;; Authors: Eric Schulte ;; Dan Davison @@ -162,7 +162,7 @@ See also `org-babel-noweb-wrap-start'." :group 'org-babel :type 'string) -(defcustom org-babel-inline-result-wrap "=%s=" +(defcustom org-babel-inline-result-wrap "~%s~" "Format string used to wrap inline results. This string must include a \"%s\" which will be replaced by the results." :group 'org-babel -- 2.1.1