all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* BUG: org-emphasize (C-c C-x C-f) returns with error
@ 2008-10-28 16:21 Vladi Solutka
  2008-10-28 19:30 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Vladi Solutka @ 2008-10-28 16:21 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2008-10-28 19:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-28 16:21 BUG: org-emphasize (C-c C-x C-f) returns with error Vladi Solutka
2008-10-28 19:30 ` Carsten Dominik

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.