From mboxrd@z Thu Jan 1 00:00:00 1970 From: drymer Subject: Bug: org-export-as Date: Tue, 7 Mar 2017 18:50:19 +0000 Message-ID: <20170307185019.b7tzqlssrpab7gr6@laptop> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vkz2ksx2as36bybs" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clJDB-0006rZ-My for emacs-orgmode@gnu.org; Tue, 07 Mar 2017 12:47:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clJD8-00033v-H9 for emacs-orgmode@gnu.org; Tue, 07 Mar 2017 12:47:49 -0500 Received: from latitanza.investici.org ([2001:888:2000:56::19]:58759) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1clJD8-00033G-45 for emacs-orgmode@gnu.org; Tue, 07 Mar 2017 12:47:46 -0500 Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: drymer@autistici.org) by localhost (Postfix) with ESMTPSA id 698CD121188 for ; Tue, 7 Mar 2017 17:47:42 +0000 (UTC) Content-Disposition: inline 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" To: lista de correo de org-mode --vkz2ksx2as36bybs Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm trying to debug the package org2nikola, which works on emacs-24.5 but not on >emacs-25. What I'm trying to see is why the title is exported when using >emacs-25 but not when prior versions. For what I've being testing, it doesn't seem related to the package but to org-mode or emacs. I'll explain why I think this. An example text I want to export woul= d be: ,--- | * TODO Testing :test: | Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec | facilisis facilisis, est dui fermentum leo, quis tempor ligula erat | quis odio. Nunc porta vulputate tellus. Nunc rutrum turpis sed pede. | Sed bibendum. Aliquam posuere. Nunc aliquet, augue nec adipiscing | interdum, lacus tellus malesuada massa, quis varius mi purus non odio. | Pellentesque condimentum, magna ut suscipit hendrerit, ipsum augue | ornare nulla, non luctus diam neque sit amet urna. Curabitur | vulputate vestibulum lorem. Fusce sagittis, libero non molestie | mollis, magna orci ultrices dolor, at vulputate neque nulla lacinia | eros. Sed id ligula quis est convallis tempor. Curabitur lacinia | pulvinar nibh. Nam a sapien. `--- I would execute the function `org2nikola-export-subtree' in the header. More or less, this function would guide us until the next function with the above text, but not the header, marked as a region: ,---- | (org-export-as 'html t nil t) `---- In emacs-24.5 this function returns: ,---- |

| Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec f= acilisis | facilisis, est dui fermentum leo, quis tempor ligula erat quis odio. N= unc porta | vulputate tell us. Nunc rutrum turpis sed pede. Sed bibendum. Aliqua= m posuere. | Nunc aliquet, augue nec adipiscing interdum, lacus tellus malesuada mas= sa, quis | varius mi purus non odio. Pellentesque condimentum, magna ut suscipit = hendrerit, | ipsum augue ornare nulla, non luctus diam neque sit amet urna. Curabit= ur vulputate | vestibulum lorem. Fusce sagittis, libero non molestie mollis, magna or= ci ultrices | dolor, at vulputate neque nulla lacinia eros. Sed id ligula quis est c= onvallis | tempor. Curabitur lacinia pulvinar nibh. Nam a sapien. |

`---- In >emacs-25 this function returns: ,---- |
|

Testing

|
|

| Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec f= acilisis | facilisis, est dui fermentum leo, quis tempor ligula erat quis odio. N= unc porta | vulputate tellus. Nunc rutrum turpis sed pede. Sed bibendum. Aliquam= posuere. | Nunc aliquet, augue nec adipiscing interdum, lacus tellus malesuada mas= sa, quis | varius mi purus non odio. Pellentesque condimentum, magna ut suscipit = hendrerit, | ipsum augue ornare nulla, non luctus diam neque sit amet urna. Curabit= ur vulputate | vestibulum lorem. Fusce sagittis, libero non molestie mollis, magna or= ci ultrices | dolor, at vulputate neque nulla lacinia eros. Sed id ligula quis est c= onvallis | tempor. Curabitur lacinia pulvinar nibh. Nam a sapien. |

|
|
`---- In both emacs versions I have same results until I arribe here. I'm not sure how to proceed to debug, any idea? Just ask me more information if= needed. PD: I attach my org-mode configuration since it's what is sugested, but I don't know if it's relevant. I've only removed agenda related variables. Regards ---------------------------------------------------------------------- Emacs : GNU Emacs 25.1.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9) of 2017-01-21 Package: Org mode version 9.0.5 (release_9.0.5-28-g4108f5-git @ /home/drymer/.emacs.d/el-get/org-mode-maint/lisp/) current state: `=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D' (setq org-tab-first= -hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-habit-show-all-today t org-footnote-section nil org-habit-preceding-days 7 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-time-clocksum-format '(:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t) org-occur-hook '(org-first-headline-recenter) org-tab-follows-link t org-src-tab-acts-natively t org-metaup-hook '(org-babel-load-in-session-maybe) org-imenu-depth 9 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-link-translation-function 'toc-org-unhrefify org-export-default-language "es" org-emphasis-alist '(("`" (:foreground "cyan")) ("*" bold) ("/" italic) ("_" underline) ("'" org-verbatim verbatim) ("~" org-code verbatim) ("+" (:strike-through t))) org-pretty-entities t org-return-follows-link t org-latex-format-headline-function 'org-latex-format-headline-default-function org-habit-following-days 0 org-agenda-remove-tags t org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-odt-format-headline-function 'org-odt-format-headline-default-function org-from-is-user-regexp nil org-icalendar-timezone "Europe/Madrid" 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 '(toc-org-enable (lambda nil (org-bullets-mode 1)) #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-block-all append local] 5] #[0 "\300\301\302\303\304$\207" [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-refile-targets '((nil :maxlevel . 10) (org-agenda-files :maxlevel . 4)) org-archive-hook '(org-attach-archive-delete-maybe) org-ascii-format-drawer-function #[771 "=01\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"] org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function org-ctrl-c-ctrl-c-hook '(ob-async-org-babel-execute-src-block) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "IN-PROGRESS(p@/!)" "WAITING(w@/!)" "|" "DONE(d!)" "CANCELED(c@)") ) org-hide-emphasis-markers t org-modules '(org-habit org-w3m org-bbdb org-bibtex org-docview org-gnus org-info org-irc org-mhe org-rmail) org-babel-tangle-lang-exts '(("python" . "py") ("latex" . "tex") ("emacs-lisp" . "el") ("elisp" . "el")) org-confirm-elisp-link-function 'yes-or-no-p org-edit-src-content-indentation 0 org-metadown-hook '(org-babel-pop-to-session-maybe) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-html-format-headline-function 'org-html-format-headline-default-function org-link-parameters '(("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("id" :follow org-id-open) ("file+sys") ("file+emacs") ("doi" :follow org--open-doi-link) ("elisp" :follow org--open-elisp-link) ("file" :complete org-file-complete-link) ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path)))) ("help" :follow org--open-help-link) ("http" :follow (lambda (path) (browse-url (concat "http:" path)))) ("https" :follow (lambda (path) (browse-url (concat "https:" path)))) ("mailto" :follow (lambda (path) (browse-url (concat "mailto:" path)))) ("message" :follow (lambda (path) (browse-url (concat "message:" path)))) ("news" :follow (lambda (path) (browse-url (concat "news:" path)))) ("shell" :follow org--open-shell-link)) org-babel-load-languages '((dot . t) (emacs-lisp . t) (gnuplot . t) (latex . t) (ledger . t) (python . t) (shell . t) (sql . t) (sqlite . t)) org-src-preserve-indentation t org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-habit-graph-column 50 org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-confirm-babel-evaluate nil ) --vkz2ksx2as36bybs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJYvwDrAAoJEKMH1k1d39qtWQQP/2Ujf6qnIkC5TZmYOMB5gsel +tt/7vHeb1Bo/tgy5qxB+avUOnHBaciCeLYmC/Hu+Yrs0vIz39gGuRGDPGNJMgQu EH34T+xIfrxSWCCRVvJ/KPlDWfCx434h7xyqUMdzE7CZYKbTj/tCPGGH09p9MAX9 oro4sqg2qfQLqCdy4hP4fak+/ZFW9YY4Qilq4zfp2Ogj9tA4U6ehisdNopJXpqzV z7CJnyeQRsd6P72uqmdp1G8SX7ZnQSM69+ms6Ew+5oRodkxSMS0QcD1jIRI4954g otiQCuxl1rGiKOqBVpMQo/euK6edN28+Ottaz/6F9v31u5KcQfgUgqAGgZytk7q7 9RBsDo9H6hn+WQA98hSlDlWND+CkZ26tKy8N4SgAG6sxhWBrq/2g7yVEQLoX6DBP MeDE76CJnmsYG83id4/zYbrsw6jx0B26cB6DzPSlnw5gFImQAZ/oQicl0xlddZJn LXa6zOKy5mh8NEEMeZKErMSjYX9Rn+qxfmTM726JpIXt0uoL+ubJdIhzlY9D0/03 t7Z+UGCFQWohzXSyir1uZ6peseLCxflGV2o1HZZQaL1x4NoYsmcYmUZ/HhY3XJeV v47Ga5CUbCTHCIYVJNBA/yVbN4pyaOCjgVANBdDyd56jQ80hY/kwCBJa8heKHtff ExpIw2vp7LoN0ikwDusK =0w+2 -----END PGP SIGNATURE----- --vkz2ksx2as36bybs--