From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: (require 'htmlize) in org-exp should have NOERROR set Date: Mon, 17 Nov 2008 05:54:33 +0100 Message-ID: <37E7217E-420D-474A-B178-AD54D15878C8@uva.nl> References: <873ahri4gh.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L1w8F-00058Y-8P for emacs-orgmode@gnu.org; Sun, 16 Nov 2008 23:54:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L1w8D-00058A-WE for emacs-orgmode@gnu.org; Sun, 16 Nov 2008 23:54:38 -0500 Received: from [199.232.76.173] (port=52559 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L1w8D-000587-Tq for emacs-orgmode@gnu.org; Sun, 16 Nov 2008 23:54:37 -0500 Received: from nf-out-0910.google.com ([64.233.182.190]:28998) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L1w8D-0007I5-9O for emacs-orgmode@gnu.org; Sun, 16 Nov 2008 23:54:37 -0500 Received: by nf-out-0910.google.com with SMTP id c7so1265337nfi.26 for ; Sun, 16 Nov 2008 20:54:36 -0800 (PST) In-Reply-To: <873ahri4gh.fsf@gmail.com> 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: Daniel Clemente Cc: emacs-orgmode@gnu.org Fixed, thanks. - Carsten On Nov 17, 2008, at 1:25 AM, Daniel Clemente wrote: > > 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 > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode