emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Vladi Solutka" <mmlists@eml.cc>
To: emacs-orgmode@gnu.org
Subject: BUG: org-emphasize (C-c C-x C-f) returns with error
Date: Tue, 28 Oct 2008 17:21:07 +0100	[thread overview]
Message-ID: <1225210867.20791.1281698309@webmail.messagingengine.com> (raw)

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

             reply	other threads:[~2008-10-28 16:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28 16:21 Vladi Solutka [this message]
2008-10-28 19:30 ` BUG: org-emphasize (C-c C-x C-f) returns with error Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1225210867.20791.1281698309@webmail.messagingengine.com \
    --to=mmlists@eml.cc \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).