* 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
* Re: BUG: org-emphasize (C-c C-x C-f) returns with error
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
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-10-28 19:30 UTC (permalink / raw
To: Vladi Solutka; +Cc: emacs-orgmode
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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ 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.