emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] org-blog bug in 4.77 org-export-region-as-html?


From: Emre Sahin
Subject: [Orgmode] org-blog bug in 4.77 org-export-region-as-html?
Date: Mon, 11 Jun 2007 19:21:49 +0300
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (gnu/linux)

Hi all,

This may be a problem in my installation, however I couldn't solve the
issue. 

My Emacs is on a Debian testing (lenny) and has a version of:

GNU Emacs 22.1.50.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2007-06-08 on pacem, modified by Debian

(from emacs-snapshot site, I'm using the unstable version of this
package.)

I'm using 4.77 org.el along with 1.17 org-blog.el. I have installed
these without deleting the older versions and reload the files via

(load-file "/usr/local/share/emacs/site-lisp/org.el")
(load-file "/usr/local/share/emacs/site-lisp/org-publish.el")
(load-file "/usr/local/share/emacs/site-lisp/org-mouse.el")
(load-file "/usr/local/share/emacs/site-lisp/org-install.el")


and trying to publish two pages in ~/blog/. I have a single
project. My alist in .emacs is

(require 'org-blog)

(autoload 'org-publish "org-publish" nil t)
(autoload 'org-publish "org-publish-all" nil t)
(autoload 'org-publish "org-publish-current-file" nil t)
(autoload 'org-publish "org-publish-current-project" nil t)

(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))

(setq org-log-done t)

(setq org-publish-project-alist
      (list
       '("blog" 

         :base-directory "~/blog/"
         :base-extension "org"
         :publishing-directory "~/public_html/blog/"
         :publishing-function org-publish-org-to-html
         :auto-index t
         :blog-base-url "http://emresahin.net/";
         :blog-title "emreşahin.net"
         :blog-description "Emre Şahin"
         :blog-export-rss t
         :index-function org-publish-blog-index
         :index-filename "index2.org"
         :index-title "okuyan bir kişiye"
         :language "en"
         :index-posts 6)))

As far as I understand, I did the steps described in org-blog.el
correctly. However when I use M-x org-publish-all an error (which
produces the attached debug report) occurs. 

There may be problems about locale, my initial installation of this
system was with Turkish locale and there was a different error about
publishing. Then I tried to switch to English locale (by changing the
value in /etc/defaults/locale and set my language environment as

(set-language-environment "UTF-8")
(setq default-file-name-coding-system 'utf-8)
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(set-clipboard-coding-system 'utf-8)
(prefer-coding-system 'utf-8)

in my .emacs. (Locale problem may be about emacs in general, because
when I was playing with blorg.el recently, I didn't get any output due
to an error also. And there is strange bug in gnus which make emacs to
shut down immediately when I try to open some e-mail messages. However
I couldn't reproduce this bug to submit a nice report, and emacs 21.4
doesn't have such a problem.)

Above bug also occurs in Emacs 21.4 (GNU Emacs 21.4.1
(i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-03-11 on
raven, modified by Debian)

If there is any information I can further give, I'd be glad to help. 

Best Regards,

Emre 

Attachment: org-export-region-as-html.dbg.el
Description: application/emacs-lisp


reply via email to

[Prev in Thread] Current Thread [Next in Thread]