emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: "Günter Kolousek" <ko@htlwrn.ac.at>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: double or single quote inside code or verbatim markup [6.35g]
Date: Sun, 11 Apr 2010 11:36:47 -1000	[thread overview]
Message-ID: <44B9C14E-E0C7-4143-8C89-23669E0A5129@tsdye.com> (raw)
In-Reply-To: <4BC23DD2.2000804@htlwrn.ac.at>


On Apr 11, 2010, at 11:23 AM, Günter Kolousek wrote:

>
>
> I am unable to include neither double nor single quote characters
> inside a verbatim markup as described in the manual. Also, I didn't
> find anything in the mailing list archive:
>
> ="a"=
>
> doesn't work, but
>
> =x "a" x=
>
> does. Same for ~.
>
> I didn't find any workaround. There is no escape character, isn't it?
>
> It seems, that the string will be captured first, but only if it is
> on the left or right side of the code or verbatim markup.
>
> I can't find it in the source because I don't know anything about  
> elisp.
> Sorry.
>
> Cheers,
> Günter
>
>
>
>
> Emacs  : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.18.0)
> of 2009-09-27 on palmer, modified by Debian
> Package: Org-mode version 6.35g
>
> current state:
> ==============
> (setq
> org-log-done 'time
> org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- 
> vars)
> org-special-ctrl-a/e t
> org-level-color-stars-only t
> org-load-hook '((lambda nil (textmate-mode) (toggle-truncate-lines 1)
>                  (define-key org-mode-map (kbd "C-<prior>")
>                   (quote elscreen-previous))
>                  (define-key org-mode-map (kbd "C-<next>")
>                   (quote elscreen-next))
>                  (define-key org-mode-map [C-tab] (quote ido-switch- 
> buffer))
>                  (define-key org-mode-map (kbd "M-+") (quote org- 
> complete))
>                  (define-key org-mode-map (kbd "M-n")
>                   (quote outline-next-visible-heading))
>                  (define-key org-mode-map (kbd "M-p")
>                   (quote outline-previous-visible-heading))
>                  (define-key org-mode-map (kbd "C-+")
>                   (quote org-force-cycle-archived))
>                  )
>                 )
> org-hide-leading-stars t
> org-completion-use-ido t
> org-metaup-hook '(org-babel-load-in-session-maybe)
> org-after-todo-state-change-hook '(org-clock-out-if-current
>                                    wicked/org-clock-out-if-waiting
>                                    wicked/org-clock-in-if-starting)
> org-babel-interpreters '("emacs-lisp" "python" "latex" "sh")
> org-odd-levels-only t
> org-export-copy-to-kill-ring nil
> org-export-latex-format-toc-function 'org-export-latex-format-toc- 
> default
> org-export-preprocess-hook '(org-export-blocks-preprocess)
> org-tab-first-hook '(org-babel-hide-result-toggle-maybe
>                      org-hide-block-toggle-maybe)
> org-src-mode-hook '(org-src-mode-configure-edit-buffer)
> org-confirm-shell-link-function 'yes-or-no-p
> org-export-first-hook '(org-beamer-initialize-open-trackers)
> org-agenda-before-write-hook '(org-agenda-add-entry-text)
> org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- 
> drawers
>                  org-cycle-show-empty-lines
>                  org-optimize-window-after-visibility-change)
> org-export-preprocess-before-normalizing-links-hook '(org-remove- 
> file-link-modifiers)
> org-mode-hook '((lambda nil
>                  (org-add-hook (quote change-major-mode-hook)
>                   (quote org-babel-show-result-all) (quote append)
>                   (quote local))
>                  )
>                 org-babel-result-hide-spec org-babel-hide-all-hashes
>                 #[nil "\300\301\302\303\304$\207"
>                   [org-add-hook change-major-mode-hook org-show- 
> block-all
>                    append local]
>                   5]
>                 )
> org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-hash- 
> at-point
>                          org-babel-execute-src-block-maybe)
> org-confirm-elisp-link-function 'yes-or-no-p
> org-export-interblocks '((lob org-babel-exp-lob-one-liners)
>                          (src org-babel-exp-inline-src-blocks))
> org-occur-hook '(org-first-headline-recenter)
> org-export-preprocess-before-selecting-backend-code-hook '(org- 
> beamer-select-beamer-code)
> org-time-stamp-custom-formats '("<%Y-%m-%d>" . "<%Y-%m-%d  %H:%M>")
> org-export-kill-product-buffer-when-displayed t
> org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix- 
> toc
>                               org-beamer-auto-fragile-frames
>                               org-beamer-place-default-actions-for- 
> lists)
> org-metadown-hook '(org-babel-pop-to-session-maybe)
> org-export-blocks '((src org-babel-exp-src-blocks nil)
>                     (comment org-export-blocks-format-comment t)
>                     (ditaa org-export-blocks-format-ditaa nil)
>                     (dot org-export-blocks-format-dot nil))
> )
>
>

Aloha Günter,

This message to the mailing list last month might help.

> Hello.
>
> Sometimes org-mode isn't smart enough, but I don't require it to be
> because I understand my demands might be high. For example marking  
> code
> with =...= can't manege apostrophes right next to equality signs
>
>  =a = 'B'=
>
> doesn't work actually as expected (particularly latex export). But  
> fear
> not and use unicode. There is
>
>  <U200B>     /xe2/x80/x8b ZERO WIDTH SPACE
>
> When you put (C-x 8 RET 200b RET) it next to equality signs
>
>  =a = 'B'=
>  ^^     ^^
>
> Everything works like charm *and* there is completely no additional
> space in the output.
>
> -- 
> Miłego dnia,
> Łukasz Stelmach

All the best,
Tom

  reply	other threads:[~2010-04-11 21:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-11 21:23 Bug: double or single quote inside code or verbatim markup [6.35g] Günter Kolousek
2010-04-11 21:36 ` Thomas S. Dye [this message]
2010-04-12  6:26   ` Günter Kolousek

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=44B9C14E-E0C7-4143-8C89-23669E0A5129@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ko@htlwrn.ac.at \
    /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).