From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bold links not working Date: Wed, 15 Apr 2009 09:20:05 +0200 Message-ID: <6D2F9103-CBB9-4894-AF4C-C927FE1580A2@gmail.com> References: <877i1pcoo2.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtzPs-0002qc-VE for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 03:20:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtzPn-0002qQ-FU for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 03:20:15 -0400 Received: from [199.232.76.173] (port=42834 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtzPn-0002qN-90 for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 03:20:11 -0400 Received: from mx20.gnu.org ([199.232.41.8]:28748) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LtzPm-0000dU-Mv for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 03:20:10 -0400 Received: from an-out-0708.google.com ([209.85.132.250]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LtzPm-0000kS-3I for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 03:20:10 -0400 Received: by an-out-0708.google.com with SMTP id c38so2151332ana.21 for ; Wed, 15 Apr 2009 00:20:09 -0700 (PDT) In-Reply-To: <877i1pcoo2.fsf@gmail.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: Daniel Clemente Cc: mailing-list-org-mode Difficult to fix, I am afraid. - Carsten On Apr 13, 2009, at 3:45 AM, Daniel Clemente wrote: > > With org-mode 6.25trans from git from right now, I get this output: > >

> A *bold link*, a bold word strong>. >

> > > =46rom 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 =20 > work before. > I have seen that [[destination][*bold link*]] works, but writing =20 > *some words and a [[d][bold]] link* is an easier syntax than *some =20 > bold words* [[d][*and a bold link*]]. > > > The problem seeems to be in org-html-expand. It is breaking the =20 > line in these parts: > - "A *" > - "[[destination][bold link]]" > - "*, a *bold word*." > =85and calling org-html-do-expand on each. But the first part alone =20= > 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 =20= > unbroken string so that it can detect the first bold and yet can't =20 > be fooled by asterisks inside the link, as in *[[de][oops* broken]] =20= > (this matches org-emph-re). > > > -- Daniel > > > > > _______________________________________________ > 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