From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Suggestion: Add zero-width nbsp to emphasis-regexp-components Date: Wed, 06 Jun 2018 14:07:18 +0200 Message-ID: <87sh6086fd.fsf@nicolasgoaziou.fr> References: <87h8mgmjsy.fsf@surprise.skruttet> <874ligf83w.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQXDr-0005EA-1v for emacs-orgmode@gnu.org; Wed, 06 Jun 2018 08:07:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQXDn-0003z2-V9 for emacs-orgmode@gnu.org; Wed, 06 Jun 2018 08:07:27 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:34449) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fQXDn-0003x8-NP for emacs-orgmode@gnu.org; Wed, 06 Jun 2018 08:07:23 -0400 In-Reply-To: <874ligf83w.fsf@mbork.pl> (Marcin Borkowski's message of "Wed, 06 Jun 2018 13:49:07 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Marcin Borkowski Cc: Chris , emacs-orgmode@gnu.org Hello, Marcin Borkowski writes: > On 2018-06-06, at 09:54, Chris wrote: > >> * Problem >> >> There needs to be a way to coax Org into interpreting something as an >> emphasis marker, even if it ordinarily would not look like it (for >> example, because it is in the middle of a regular word, when putting >> emphasis on only part of a word.) >> >> * Suggested Solution >> >> Include the Unicode zero width no-break space character (U+feff) in >> both ~pre~ and ~post~ sections of ~org-emphasis-regexp-components~. > > +1 This is already the case. PRE and POST parts of `org-emphasis-regexp-components' contain "[:space:]", which matches zero width space. Regards, -- Nicolas Goaziou