From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Vladi Solutka" Subject: BUG: org-emphasize (C-c C-x C-f) returns with error Date: Tue, 28 Oct 2008 17:21:07 +0100 Message-ID: <1225210867.20791.1281698309@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KurJf-0008Mk-PE for emacs-orgmode@gnu.org; Tue, 28 Oct 2008 12:21:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KurJe-0008M7-R5 for emacs-orgmode@gnu.org; Tue, 28 Oct 2008 12:21:11 -0400 Received: from [199.232.76.173] (port=33868 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KurJe-0008M4-9s for emacs-orgmode@gnu.org; Tue, 28 Oct 2008 12:21:10 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:49425) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KurJe-00013s-0E for emacs-orgmode@gnu.org; Tue, 28 Oct 2008 12:21:10 -0400 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 4327B184B5B for ; Tue, 28 Oct 2008 12:21:08 -0400 (EDT) Content-Disposition: inline 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 Hi! I just noticed that org-emphasize (when called via C-c C-x C-f) returns an error. In org.el:3501 there seems to be a problem when 'org-emphasis-alist' contains empty strings for html tags; I in fact made the error go away by adding html tags for the org-verbatim entry of this list (org.el:2255): (defcustom org-emphasis-alist `(("*" bold "" "") ("/" italic "" "") ("_" underline "" "") ("=" org-code "" "" verbatim) - ("~" org-verbatim "" "" verbatim) + ("~" org-verbatim "
" "
" verbatim) ("+" ,(if (featurep 'xemacs) 'org-table '(:strike-through t)) "" "") ) But I guess this is the wrong place to fix it ... :-| --- \\/ladi