From mboxrd@z Thu Jan 1 00:00:00 1970 From: lux Subject: Bug: using org-publish, `#+OPTIONS title:nil` is invalid Date: Mon, 1 Feb 2016 16:45:31 +0800 Message-ID: <56AF1B2B.1090005@shellcodes.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQA7H-0007WD-EU for emacs-orgmode@gnu.org; Mon, 01 Feb 2016 03:45:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQA7D-0006Sw-C1 for emacs-orgmode@gnu.org; Mon, 01 Feb 2016 03:45:47 -0500 Received: from smtpbg63.qq.com ([103.7.29.150]:39361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQA7C-0006Rl-RA for emacs-orgmode@gnu.org; Mon, 01 Feb 2016 03:45:43 -0500 Received: from [192.168.31.155] (unknown [61.157.126.25]) by esmtp4.qq.com (ESMTP) with SMTP id 0 for ; Mon, 01 Feb 2016 16:45:31 +0800 (CST) 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 first, I write a org file: #+TITLE: Just test #+OPTIONS: doc:nil title:nil num:nil * h1 hello world as you see, I define `title:nil` in #+OPTIONS. I wan't `title` just display in tag, and don't display in body. But, I did not take effect after executing `org-publish-project`, the title 'Just test' still in new HTML file: <h1 class="title">Just test</h1> and I using `org-html-export-as-html` don't see it. the `org-publish-project-alits' as follows: (setq org-publish-project-alist '(("src" :base-directory "src" :base-extension "org" :publishing-directory "html" :recursive t :publishing-function org-html-publish-to-html :headline-levels 4 :auto-preamble nil) ("test-project" :components ("src")))) Emacs : GNU Emacs 25.0.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.7) of 2016-02-01 Package: Org-mode version 8.3.3 (8.3.3-26-ge92a06-elpa @ /home/lu4nx/.emacs.d/elpa/org-20160125/) current state: ============== (setq org-tab-first-hook '(org-hide-block-toggle-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-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-latex-pdf-process '("xelatex %f") org-latex-format-headline-function 'org-latex-format-headline-default-function 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 '(#[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 (lambda nil (setq org-latex-pdf-process (quote ("xelatex %f"))) (auto-fill-mode nil) (setq truncate-lines nil) (set-face-attribute (quote org-level-1) nil :height 1.5 :bold nil) (set-face-attribute (quote org-level-2) nil :height 1.4 :bold nil) (set-face-attribute (quote org-level-3) nil :height 1.3 :bold nil) (set-face-attribute (quote org-level-4) nil :height 1.2 :bold nil) (setq org-src-fontify-natively t) (if window-system (progn (org-display-inline-images))) (org-indent-mode)) ) org-archive-hook '(org-attach-archive-delete-maybe) 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-show-empty-lines org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-html-format-headline-function 'org-html-format-headline-default-function org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-clock-out-hook '(org-clock-remove-empty-clock-drawer) )