From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Oddie Subject: Bug: Exporting smart single quotes in Org 8.3 seems broken [8.3.2 (8.3.2-elpa @ /Users/jonathan/.emacs.d/elpa/org-20150929/)] Date: Thu, 1 Oct 2015 15:45:38 -0700 Message-ID: <2E01BDFD-3AA8-4057-AAEC-2A642755D0D2@gmail.com> Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhmbi-0005Yg-Fb for emacs-orgmode@gnu.org; Thu, 01 Oct 2015 18:45:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zhmbf-0004qi-6Z for emacs-orgmode@gnu.org; Thu, 01 Oct 2015 18:45:46 -0400 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]:35027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhmbe-0004oy-Ee for emacs-orgmode@gnu.org; Thu, 01 Oct 2015 18:45:43 -0400 Received: by pacfv12 with SMTP id fv12so89072214pac.2 for ; Thu, 01 Oct 2015 15:45:41 -0700 (PDT) Received: from [192.168.0.7] (71-35-100-207.tukw.qwest.net. [71.35.100.207]) by smtp.gmail.com with ESMTPSA id we9sm8763984pab.3.2015.10.01.15.45.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 01 Oct 2015 15:45:40 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello Org folks, (This is a duplicate of a Stackexchange question posted at=20 = http://emacs.stackexchange.com/questions/17061/is-exporting-of-smart-singl= e-quotes-broken-in-org-8-3) I cannot seem get single quotes to export as 'smart' quotes under Org 8.3.2. Here is a minimal file that reproduces the problem: #+OPTIONS: ':t #+LANGUAGE: en This is 'within single quotes'. This is "within double quotes". Expected behavior: from "emacs -Q", under which "M-x org-version" reports 8.2.10, the output when exporting to UTF-8 plaintext is: This is =91within single quotes=92. This is =93within double quotes=94= and the output when exporting to LaTeX is: This is `within single quotes'. This is ``within double quotes''. If I load the most recent version of org-mode (starting from "emacs -Q", typing "M-x package-initialize RET", and "M-x load-library RET org RET"), "org-version" reports 8.3.2, and the output no longer correctly translates single quotes. In UTF-8 text, the result is: This is =92within single quotes=92. This is =93within double = quotes=94. In LaTeX, the result is: This is 'within single quotes'. This is ``within double quotes''. Thanks in advance for any advice, Jonathan Emacs : GNU Emacs 24.4.1 (i686-apple-darwin, NS apple-appkit-1038.36) of 2014-10-20 on builder10-6.porkrind.org Package: Org-mode version 8.3.2 (8.3.2-elpa @ = /Users/jonathan/.emacs.d/elpa=3D /org-20150929/) current state: =3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D (setq org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-plantuml-jar-path "~/bin/plantuml.jar" org-ditaa-jar-path "/opt/local/share/java/ditaa0_9.jar" org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-archive-hook '(org-attach-archive-delete-maybe) org-modules '(org-bbdb org-bibtex org-docview org-gnus org-info = org-jsinfo org-irc org-mew org-mhe org-rmail org-special-blocks = org-vm org-wl org-w3m) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-clocktable-defaults '(:maxlevel 2 :lang "en" :scope file :block = thismo=3D nth :wstart 1 :mstart 1 :tstart nil :tend nil = :step week :stepskip0 nil :fileskip0 nil :tags nil :emphasize nil :link nil :narrow 40! :indent = t :formula nil :timestamp nil :level nil = :tcolumns nil :formatter nil) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-confirm-babel-evaluate nil org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-latex-default-packages-alist '(("AUTO" "inputenc" t) ("T1" "fontenc" = t) ("" "fixltx2e" nil) ("" "graphicx" = t) ("" "longtable" nil) ("" "float" = nil) ("" "wrapfig" nil) ("" "rotating" = nil) ("normalem" "ulem" t) ("" "amsmath" = t) ("" "textcomp" t) ("" "marvosym" t) ("" "wasysym" t) ("" "amssymb" t) ("" "hyperref" nil) ("" "oddie" t) "\\tolerance=3D3D1000") org-structure-template-alist '(("s" "#+BEGIN_SRC ?\n\n#+END_SRC" "\n\n") ("e" "#+BEGIN_EXAMPLE\n?\n#+END_EXAMPLE" "\n?\n") ("q" "#+BEGIN_QUOTE\n?\n#+END_QUOTE" "\n?\n") ("v" "#+BEGIN_VERSE\n?\n#+END_VERSE" "\n?\n") ("V" = "#+BEGIN_VERBATIM\n?\n#+END_VERBATIM" "\n?\n") ("c" "#+BEGIN_CENTER\n?\n#+END_CENTER" "
\n?\n
") ("l" "#+BEGIN_LaTeX\n?\n#+END_LaTeX" "\n?\n") ("L" "#+LaTeX: " "?") ("h" "#+BEGIN_HTML\n?\n#+END_HTML" "\n?\n=3D ") ("H" "#+HTML: " "?") ("a" "#+BEGIN_ASCII\n?\n#+END_ASCII") ("A" "#+ASCII: ") ("i" "#+INDEX: ?" "#+INDEX: ?") ("I" "#+INCLUDE: %file ?" "") ("f" "#+CAPTION: ?\n#+LABEL: = \n[[file:%file]]\n=3D \n") ) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-hide-leading-stars t org-default-notes-file "~/notes/notes.org" org-src-tab-acts-natively t org-export-backends '(ascii html icalendar latex md) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-mode-hook '(my-org-mode-custom #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook = org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-time-clocksum-format '(:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t) org-directory "~/notes" org-footnote-auto-adjust t org-metadown-hook '(org-babel-pop-to-session-maybe) org-todo-keywords '((sequence "TODO" "WIP" "DONE") (sequence "REFILE") (sequence "LOOKUP" "NEXT" "FOUND" "READING" = "READ")) org-startup-folded 'content org-agenda-files '("/Users/jonathan/ox-it/notes.org" = "~/notes/notes.org") org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-tangle-lang-exts '(("lisp" . "lisp") ("python" . "py") ("LilyPond" . "ly") ("emacs-lisp" . "el") ("elisp" . "el")) org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("WIP" :foreground "orange" :weight bold) ("DONE" :foreground "forest green" :weight = bold) ("REFILE" :foreground "red" :weight bold) ("LOOKUP" :foreground "red" :weight bold) ("NEXT" :foreground "yellow" :weight bold) ("FOUND" :foreground "orange" :weight bold) ("READING" :foreground "blue" :weight bold) ("READ" :foreground "forest green" :weight = bold)) org-babel-load-languages '((R . t) (emacs-lisp . t) (lilypond . t) (python . t) (lisp . t) (sql . t) (ditaa . = t) (sqlite . t) (shell . t) (plantuml . t)) org-confirm-shell-link-function 'yes-or-no-p )