Re: [O] Bug: html-preamble doesn't work with a function [8.3.2 (8.3.2-39-gd537a3-elpa /home/pillow/.emacs.d/elpa/org-20151123/)]

2015-12-20 Thread Robert Klein
Hi, On 12/20/2015 11:06 AM, Pillow Kuda Sai wrote: > Nicolas Goaziou nicolasgoaziou.fr> writes: > >> You may try >> >> (org-file-contents "~/Blog/html/preamble.html") > > That worked! Should have figured out that insert-file-contents does not > return a string. Thanks for the help Nicolas!

Re: [O] Bug: html-preamble doesn't work with a function [8.3.2 (8.3.2-39-gd537a3-elpa /home/pillow/.emacs.d/elpa/org-20151123/)]

2015-12-20 Thread Nicolas Goaziou
Hello, Pillow Kuda Sai writes: > (defun my-html-preamble (options) > (insert-file-contents "~/Blog/html/preamble.html")) > > but this does not include my preamble.html. > > As far as I could tell from the documentation :html-preamble should accept > any function

Re: [O] Bug: html-preamble doesn't work with a function [8.3.2 (8.3.2-39-gd537a3-elpa /home/pillow/.emacs.d/elpa/org-20151123/)]

2015-12-20 Thread Pillow Kuda Sai
Nicolas Goaziou nicolasgoaziou.fr> writes: > You may try > > (org-file-contents "~/Blog/html/preamble.html") That worked! Should have figured out that insert-file-contents does not return a string. Thanks for the help Nicolas! Happy holidays, pillow.

Re: [O] Bug: html-preamble doesn't work with a function [8.3.2 (8.3.2-39-gd537a3-elpa /home/pillow/.emacs.d/elpa/org-20151123/)]

2015-12-19 Thread Pillow Kuda Sai
Hi Robert, Thanks for the reply but my end goal is to insert the contents of another file as the preamble. Ultimately, I want something like this: (insert-file-contents "~/Blog/html/preamble.html") To be inserted as the preamble. Your example works unmodified but once I try to insert the

Re: [O] Bug: html-preamble doesn't work with a function [8.3.2 (8.3.2-39-gd537a3-elpa @ /home/pillow/.emacs.d/elpa/org-20151123/)]

2015-12-15 Thread Robert Klein
Hi, I only use a function name, e.g. (defun my-html-preamble (options) "my preamble") and (setq org-publish-project-alist '( ("org-notes" :base-directory "~/org/" :base-extension "org" :publishing-directory "~/public_html/" :recursive t

[O] Bug: html-preamble doesn't work with a function [8.3.2 (8.3.2-39-gd537a3-elpa @ /home/pillow/.emacs.d/elpa/org-20151123/)]

2015-12-13 Thread Pillow Kuda Sai
My setup: ;;; Minimal setup to load latest 'org-mode' ;; activate debugging (setq debug-on-error t debug-on-signal nil debug-on-quit nil) ;; add latest org-mode to load path (add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/org-20151123/")) (add-to-list 'load-path