From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: Bold links not working Date: Mon, 13 Apr 2009 03:45:01 +0200 Message-ID: <877i1pcoo2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtBDo-0004XJ-Nm for emacs-orgmode@gnu.org; Sun, 12 Apr 2009 21:44:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtBDk-0004Wt-8t for emacs-orgmode@gnu.org; Sun, 12 Apr 2009 21:44:28 -0400 Received: from [199.232.76.173] (port=36028 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtBDk-0004Wi-34 for emacs-orgmode@gnu.org; Sun, 12 Apr 2009 21:44:24 -0400 Received: from mail-fx0-f166.google.com ([209.85.220.166]:48431) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LtBDj-0005Mh-Je for emacs-orgmode@gnu.org; Sun, 12 Apr 2009 21:44:23 -0400 Received: by fxm10 with SMTP id 10so2030111fxm.42 for ; Sun, 12 Apr 2009 18:44:22 -0700 (PDT) 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: mailing-list-org-mode With org-mode 6.25trans from git from right now, I get this output:

A *bold link*, a bold word.

From this input: A *[[destination][bold link]]*, a *bold word*. Both links are however correctly hightlighted with a bold face. At the moment I don't know if this is a regression or did never work befo= re. I have seen that [[destination][*bold link*]] works, but writing *some wo= rds and a [[d][bold]] link* is an easier syntax than *some bold words* [[d]= [*and a bold link*]]. The problem seeems to be in org-html-expand. It is breaking the line in t= hese parts: - "A *" - "[[destination][bold link]]" - "*, a *bold word*." =E2=80=A6and calling org-html-do-expand on each. But the first part alon= e does not activate bold because it doesn't match org-emph-re. What I don't know is how org-html-do-expand could receive the full unbrok= en string so that it can detect the first bold and yet can't be fooled by a= sterisks inside the link, as in *[[de][oops* broken]] (this matches org-emp= h-re). -- Daniel