From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Subject: Bug? Highlighting inconsistent with export Date: Mon, 29 Aug 2016 13:52:08 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2pOGeGAiWFCcCtJr82DhLrjRsM2Eqtb3d" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beQjP-0007QP-8H for emacs-orgmode@gnu.org; Mon, 29 Aug 2016 13:52:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1beQjL-000093-A4 for emacs-orgmode@gnu.org; Mon, 29 Aug 2016 13:52:23 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:56599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beQjL-00008t-0B for emacs-orgmode@gnu.org; Mon, 29 Aug 2016 13:52:19 -0400 Received: from [18.26.2.123] ([18.26.2.123]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0M2pyk-1an97f3yvW-00sicI for ; Mon, 29 Aug 2016 19:52:18 +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: emacs-orgmode@gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2pOGeGAiWFCcCtJr82DhLrjRsM2Eqtb3d Content-Type: multipart/mixed; boundary="ju1ouqUb109LRqJkKDkmwA2uRi3dsJk7L"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-orgmode@gnu.org Message-ID: Subject: Bug? Highlighting inconsistent with export --ju1ouqUb109LRqJkKDkmwA2uRi3dsJk7L Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi all, In the following snippets, I have marked which bits are syntax-highlighte= d as code, and which bits are exported as code. Some =E2=80=9C=3Dcode=3D=E2=80=9D [fn:: ~more~ ~of it~].= ~even more code~=E2=80=94 ~this~ =E2=80=94. Highlighted? No Yes No No No= Exported? No Yes Yes No No= Note the inconsistency in the footnote case. ~this~ isn't highlighted be= cause it's surrounded by non-breaking space. ~of it~ isn't highlighted b= ecause of the =E2=80=98]=E2=80=99, but on export it does get rendered as = code. Some suggestions: Paired delimiters and quotes, such as =E2=80=9C=E2=80=9D= =E2=80=98=E2=80=99 <> [], could be allowed around code (by changing the = default for =E2=80=98org-emphasis-regexp-components=E2=80=99). Spaces (i= ncluding zero-width spaces) could also be allowed: this would provide a u= niversal mechanism for ensuring that a bit of code is highlighted. For ex= ample, =E2=80=9CThere are many ~let~s in this code=E2=80=9D wouldn't work= , but =E2=80=9CThere are many ~let~=E2=80=8Bs in this code=E2=80=9D would= work fine. Cheers, Cl=C3=A9ment. --ju1ouqUb109LRqJkKDkmwA2uRi3dsJk7L-- --2pOGeGAiWFCcCtJr82DhLrjRsM2Eqtb3d Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXxHZOAAoJEPqg+cTm90wjkosQALRJZXrNaD13z7TiQe6+Bmjd bPH4vm3/wf/WhuZletCErYSzrrCaq9xCCiHQVKaXzpbWJ/cQZ1ceu34uB7KFn6hX qomsski8uNpwidZSaaCVZZvi9oszK0lXdJkujAuGZhGyGoD0nGlK2mBhvO2O33o/ 7zoTTN3MI0jQTLBHzjIloTu3PZXWWBabwvDXS3TOugSIbBIaVYFJ/UJuSuF4FEWf yElG9be84gNFLSbu0RBjIst5GnuOFF0t5PZzp3xv3J18G9XXpK6+IyOhb5rOpV1b QVLkMF/Bxt4yDHDtru4v6si+r7vneaCE8tluwKT1KwCRKykXrRPn4LT7GuUMRrir iw4ZbD170wY3yR2hljGguacubrltsTLSpyUtir2lAxu+WeMFIkTOwoQsxN4lb52V i6+kwYXX/jleqORzoyRH7M35SHOfAJWslHIYhakrRwJEIDmXBRZJTibbP5BfvCvK pTC/rzwgrpcywuKI8NnA9WPBIqz6Gdmbe3LTnT9ADOz39VZTNfVzIUb8MgRwmzBq J3oXyhlLIVcR4nAzphAZB2dl0HoPEEDz+8NF1CRCvmSFy2cCwqXkmJaVuS9ZFQMD 5C+VoHSXrMN3zsgDBzzrbiYExWs6JiETOhKGiDBkYNuhk4btqaSqmpvKF0fOwueb hMFd+bkPHkaDp1VrUL1k =zgXt -----END PGP SIGNATURE----- --2pOGeGAiWFCcCtJr82DhLrjRsM2Eqtb3d--