emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] BUG: org-emphasize (C-c C-x C-f) returns with error


From: Carsten Dominik
Subject: Re: [Orgmode] BUG: org-emphasize (C-c C-x C-f) returns with error
Date: Tue, 28 Oct 2008 20:30:28 +0100

Hi Vladi,

this is a good fix, but I am turning on <code> tags for this one as well, because the <pre> tag in Org does produce a new paragraph-like box.

- Carsten

On Oct 28, 2008, at 5:21 PM, Vladi Solutka wrote:

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 "<b>" "</b>")
   ("/" italic "<i>" "</i>")
   ("_" underline "<u>" "</u>")
   ("=" org-code "<code>" "</code>" verbatim)
-    ("~" org-verbatim "" "" verbatim)
+    ("~" org-verbatim "<pre>" "</pre>" verbatim)
   ("+" ,(if (featurep 'xemacs) 'org-table '(:strike-through t))
    "<del>" "</del>")
   )


But I guess this is the wrong place to fix it ... :-|

--- \\/ladi



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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