From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Subject: Re: allow italic quote marks? org-emphasis-regexp-components Date: Thu, 18 Jun 2015 03:23:20 +0000 Message-ID: References: <87ioap46w5.fsf@gmail.com> <87zj3x7mz5.fsf@stevenarntson.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c034fc8e3f7da0518c25456 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5QQO-0002qI-FA for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 23:23:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5QQM-0002fD-W7 for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 23:23:32 -0400 Received: from mail-yk0-x22d.google.com ([2607:f8b0:4002:c07::22d]:34970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5QQM-0002f9-QM for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 23:23:30 -0400 Received: by ykar6 with SMTP id r6so56398602yka.2 for ; Wed, 17 Jun 2015 20:23:30 -0700 (PDT) In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Steven Arntson , emacs-orgmode@gnu.org, Myles English --94eb2c034fc8e3f7da0518c25456 Content-Type: text/plain; charset=UTF-8 And Steven, You need to insert that same char between , and / in /then,/ On Wed, Jun 17, 2015 at 11:19 PM Kaushal wrote: > The solution is simpler than you think; you simply need to add ZERO WIDTH > SPACE unicode char between / and " (beginning) and " and / (end). > > The default way to do it is > > C-x 8 RET zero width space RET > > or > > C-x 8 RET 200b RET > > But I need to use this priceless unicode char to escape stuff like this in > org-mode and so I have bound "0" in "C-x 8" map to insert this char. > Here is how I do it in my init: > https://github.com/kaushalmodi/.emacs.d/blob/f3c44e933f45dfdb760540e9f86acc91b55ab94a/setup-files/setup-editing.el#L637 > Thus I simply need to do C-x 8 0 to insert the ZERO WIDTH SPACE. > > To elaborate more, <0> below is where you insert the 200b unicode > characters: > > I would like to see /<0>"these surrounding quotes in italics"<0>/. > > > > On Wed, Jun 17, 2015 at 10:46 PM Steven Arntson > wrote: > >> I am not helpful here, but would simply like to add that I would also >> love an answer to this, as well as times when italics don't seem to work >> around periods and commas, like "and /then,/ well, ..." (which does not >> italicize for me on emacs 24.5.1, org 8.2.1). >> >> Myles English writes: >> >> > Hello, >> > >> > Can anyone tell me what to set org-emphasis-regexp-components to in >> > order to allow italic quote marks? >> > >> > i.e. /"like this"/ >> > >> > I don't understand the documentation and am just not in the mood to >> > spend the next hour or so working it out. (That is a rule of thumb for >> > me; if it involves a regular expression, it will take at least an hour, >> > and three cups of tea.) >> > >> > Thanks, >> > Myles >> >> >> --94eb2c034fc8e3f7da0518c25456 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
And Steven,

You need to insert that sam= e char between , and / in=C2=A0/then,/=C2=A0

On Wed, Jun 17, 2015 at 11:19 PM Kaushal <<= a href=3D"mailto:kaushal.modi@gmail.com">kaushal.modi@gmail.com> wro= te:
The solution i= s simpler than you think; you simply need to add ZERO WIDTH SPACE unicode c= har between / and " (beginning) and " and / (end).

Th= e default way to do it is

C-x 8 RET zero width spa= ce RET=C2=A0

or

C-x 8 RET= 200b RET

But I need to use this priceless unicode= char to escape stuff like this in org-mode and so I have bound "0&quo= t; in "C-x 8" map to insert this char.
=
Thus I simply need to do C-x 8 0 to insert the ZERO WIDTH SPACE.
=

To elaborate more, <0> below is where you insert = the 200b unicode characters:

I would like to see /= <0>"these surrounding quotes in italics"<0>/.



On Wed, Jun 17, 2015 at 10:46 PM Steven Arntson <steven@stevenarntson.com<= /a>> wrote:
I am not helpful her= e, but would simply like to add that I would also
love an answer to this, as well as times when italics don't seem to wor= k
around periods and commas, like "and /then,/ well, ..." (which do= es not
italicize for me on emacs 24.5.1, org 8.2.1).

Myles English <
mylesenglish@gmail.com> writes:

> Hello,
>
> Can anyone tell me what to set org-emphasis-regexp-components to in > order to allow italic quote marks?
>
> i.e. /"like this"/
>
> I don't understand the documentation and am just not in the mood t= o
> spend the next hour or so working it out.=C2=A0 (That is a rule of thu= mb for
> me; if it involves a regular expression, it will take at least an hour= ,
> and three cups of tea.)
>
> Thanks,
> Myles


--94eb2c034fc8e3f7da0518c25456--