From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: BUG: org-emphasize (C-c C-x C-f) returns with error Date: Tue, 28 Oct 2008 20:30:28 +0100 Message-ID: <4534C659-A5E2-4172-BC8B-AD1F83734D3C@uva.nl> References: <1225210867.20791.1281698309@webmail.messagingengine.com> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KuuGx-0007Cu-Co for emacs-orgmode@gnu.org; Tue, 28 Oct 2008 15:30:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KuuGw-0007CA-1D for emacs-orgmode@gnu.org; Tue, 28 Oct 2008 15:30:35 -0400 Received: from [199.232.76.173] (port=49058 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KuuGv-0007C3-Mm for emacs-orgmode@gnu.org; Tue, 28 Oct 2008 15:30:33 -0400 Received: from ug-out-1314.google.com ([66.249.92.174]:62034) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KuuGu-0004WU-Lh for emacs-orgmode@gnu.org; Tue, 28 Oct 2008 15:30:33 -0400 Received: by ug-out-1314.google.com with SMTP id 36so410500uga.17 for ; Tue, 28 Oct 2008 12:30:31 -0700 (PDT) In-Reply-To: <1225210867.20791.1281698309@webmail.messagingengine.com> 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: Vladi Solutka Cc: emacs-orgmode@gnu.org Hi Vladi, this is a good fix, but I am turning on tags for this one as well, because the
 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 "" "")
>    ("/" 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 > > > > _______________________________________________ > 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