From mboxrd@z Thu Jan 1 00:00:00 1970 From: k@rdw.se (Christoffer =?utf-8?Q?Stjernl=C3=B6f?=) Subject: Add zero width nbsp to pre component of org-emphasis-regexp-components Date: Mon, 18 Dec 2017 10:04:47 +0100 Message-ID: <87tvwoz9sg.fsf@rdw.se> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQrLx-0002bh-AC for emacs-orgmode@gnu.org; Mon, 18 Dec 2017 04:04:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQrLu-0000jd-64 for emacs-orgmode@gnu.org; Mon, 18 Dec 2017 04:04:53 -0500 Received: from shelly.rdw.se ([188.226.220.149]:42029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQrLt-0000ht-WA for emacs-orgmode@gnu.org; Mon, 18 Dec 2017 04:04:50 -0500 Received: from localhost (vps.xkqr.org [109.74.206.55]) by shelly.rdw.se (Postfix) with ESMTPSA id 891E240153 for ; Mon, 18 Dec 2017 10:04:48 +0100 (CET) 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: emacs-orgmode@gnu.org Hey! I'm sure there's a reason this hasn't been done, so I'll suggest it and hope for a lecture. :) Sometimes I want to emphasise just part of a word (I'll use the company name socialgrow as a running example), so I insert a zero width non-breaking space around the emphasis marks, like so: social[zewinbsp]*grow*. My thinking is that this will let Org think they are two separate words, but in any real sense they stick together (no linebreak across them, zero spacing between them.) However, this requires one to add the zero width non breaking space to the pre component of org-emphasis-regexp-components, which is not the default. Any reason that is so? Regards, Chris