From mboxrd@z Thu Jan 1 00:00:00 1970 From: Milan Zimmermann Subject: Bug: Export to html and latex fails on these (relatively common) strings [8.2.10 (8.2.10-16-g4c37a9-elpa @ /home/mzimmermann/.emacs.d/elpa/org-20141110/)] Date: Thu, 13 Nov 2014 17:45:33 -0500 Message-ID: <87ioiira7m.fsf@home-server.home-network> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp37V-0001n5-JH for emacs-orgmode@gnu.org; Thu, 13 Nov 2014 17:44:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xp37P-0004Sh-IV for emacs-orgmode@gnu.org; Thu, 13 Nov 2014 17:44:05 -0500 Received: from mail-ie0-x22c.google.com ([2607:f8b0:4001:c03::22c]:55837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xp37P-0004Sd-BP for emacs-orgmode@gnu.org; Thu, 13 Nov 2014 17:43:59 -0500 Received: by mail-ie0-f172.google.com with SMTP id ar1so2091469iec.3 for ; Thu, 13 Nov 2014 14:43:58 -0800 (PST) Received: from home-server.home-network (bas2-oakville30-1176307180.dsl.bell.ca. [70.29.5.236]) by mx.google.com with ESMTPSA id ih10sm429179igb.6.2014.11.13.14.43.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Nov 2014 14:43:57 -0800 (PST) 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 Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ Hi: Any of the strings in Ex 1) to Ex 4) below, even individually, including the extremely simple example 4, fails the export of the org file to latex and html. The failure appears to happen in the first step (converting to an intermediate format) *Steps to reproduce:* - Open a file containing any of the 4 examples (or this text named as org) - C-c C-e l L - Backtrace is attaches These type of strings on which the failure happens are not unusual to find in documents pasted from mysql or git. *Ex 1)* - real life example from git output which fails to export git pull origin master >From github.com:airlift-group/cubifier \* branch master -> FETCH_HEAD Updating 28d0c00..8d3abef Fast-forward grails-app/conf/Aaaa.groovy | 10 +++++----- src/java/org/Bbbb.java | 19 +++++++++++++++---- src/java/org/Cccc.java | 30 ++++++++++++++++++++---------- *Ex 2)* - real life from Mysql output which fails to export (note the misalligned | in the data row - no issues when alligned) +-------+------------+-----------+ | label | long_label | isEnabled | +-------+------------+-----------+ | | 2 | | +-------+------------+-----------+ *Ex 3)* Simple example which fails to export +------------+----------+ *Ex 4)* Simpliest example which fails to export +------------ Emacs : GNU Emacs 24.3.1 (x86_64-suse-linux-gnu, GTK+ Version 3.10.4) of 2014-01-23 on cloud107 Package: Org-mode version 8.2.10 (8.2.10-16-g4c37a9-elpa @ /home/mzimmermann/.emacs.d/elpa/org-20141110/) current state: ============== (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-html-format-drawer-function '(lambda (name contents) contents) org-table-tab-recognizes-table.el nil org-latex-format-inlinetask-function 'ignore org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-emphasis-alist '(("*" bold "" "") ("/" italic "" "") ("_" underline "" "") ("=" org-code "" "" verbatim) ("~" org-agenda-restriction-lock "" "" verbatim) ("+" (:strike-through t) "" "")) org-support-shift-select t org-latex-format-headline-function 'org-latex-format-headline-default-function org-startup-indented t org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '((lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-show-block-all) (quote append) (quote local)) ) (lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-babel-show-result-all) (quote append) (quote local)) ) do-org-plot #[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-ascii-format-drawer-function '(lambda (name contents width) contents) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-babel-tangle-lang-exts '(("lisp" . "lisp") ("java" . "java") ("clojure" . "clj") ("perl" . "pl") ("ruby" . "rb") ("python" . "py") ("emacs-lisp" . "el")) org-confirm-elisp-link-function 'yes-or-no-p org-startup-with-inline-images t org-metadown-hook '(org-babel-pop-to-session-maybe) org-html-format-headline-function 'ignore org-startup-truncated nil org-babel-load-languages '((sh . t) (python . t) (R . t) (ruby . t) (ditaa . t) (dot . t) (octave . t) (sqlite . t) (perl . t) (clojure . t) (java . t) (emacs-lisp . t) (lisp . t)) org-html-format-inlinetask-function 'ignore org-clock-out-hook '(org-clock-remove-empty-clock-drawer) )