From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: (require 'htmlize) in org-exp should have NOERROR set Date: Mon, 17 Nov 2008 01:25:18 +0100 Message-ID: <873ahri4gh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1rv2-0005E5-M0 for emacs-orgmode@gnu.org; Sun, 16 Nov 2008 19:24:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1rv0-0005B2-T9 for emacs-orgmode@gnu.org; Sun, 16 Nov 2008 19:24:43 -0500 Received: from [199.232.76.173] (port=41148 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1rv0-0005Az-Ng for emacs-orgmode@gnu.org; Sun, 16 Nov 2008 19:24:42 -0500 Received: from ey-out-1920.google.com ([74.125.78.149]:21514) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L1rv0-0007ot-AG for emacs-orgmode@gnu.org; Sun, 16 Nov 2008 19:24:42 -0500 Received: by ey-out-1920.google.com with SMTP id 4so888763eyg.24 for ; Sun, 16 Nov 2008 16:24:39 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org With org-mode 6.12a from Emacs 23 of 15-11-2008, I get the error (file-error "Cannot open load file" "htmlize") when exporting to HTML this file: ---- #+BEGIN_SRC emacs-lisp ; beeeeep (beep) #+END_SRC ---- The problem seems to be in org-export-format-source-code (org-exp.el): ;; We are exporting to HTML (condition-case nil (require 'htmlize) (nil t)) That should be just (require 'htmlize nil t) I have also seen the idiom (condition-case nil (require 'htmlize) (error t)), but I think (require 'htmlize nil t) is cleaner because it doesn't throw errors. -- Daniel