emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-blog bug in 4.77 org-export-region-as-html?
@ 2007-06-11 16:21 Emre Sahin
  2007-06-12 15:51 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Emre Sahin @ 2007-06-11 16:21 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 3084 bytes --]


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 #2: org-export-region-as-html.dbg.el --]
[-- Type: application/emacs-lisp, Size: 12451 bytes --]

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-12 22:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-11 16:21 org-blog bug in 4.77 org-export-region-as-html? Emre Sahin
2007-06-12 15:51 ` Carsten Dominik
2007-06-12 22:43   ` David O'Toole

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).