From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: How to represent Emacs keystrokes in Org? Date: Sat, 29 Nov 2014 22:58:00 +0100 Message-ID: <87a939is9j.fsf@wmi.amu.edu.pl> References: <87vbm4fvce.fsf@wmi.amu.edu.pl> <87tx1o8mwj.fsf@gmx.us> <87bnnpisgq.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xuq1p-0003Si-14 for emacs-orgmode@gnu.org; Sat, 29 Nov 2014 16:58:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xuq1j-00083K-Ae for emacs-orgmode@gnu.org; Sat, 29 Nov 2014 16:58:08 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:48816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xuq1j-00083D-3E for emacs-orgmode@gnu.org; Sat, 29 Nov 2014 16:58:03 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 7513D42065 for ; Sat, 29 Nov 2014 22:58:02 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wFn96COWQh34 for ; Sat, 29 Nov 2014 22:58:02 +0100 (CET) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 14CCD42062 for ; Sat, 29 Nov 2014 22:58:02 +0100 (CET) In-reply-to: <87bnnpisgq.fsf@wmi.amu.edu.pl> 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: emacs-orgmode@gnu.org On 2014-11-29, at 22:53, Marcin Borkowski wrote: > On 2014-11-24, at 19:38, Rasmus wrote: > >> Marcin Borkowski writes: >> >>> Hello, >>> >>> I'm writing (in Org) a text on Emacs usage. How to >>> correctly/canonically represent keystrokes, like "C-x RET f"? >>> Currently, I use =3DC-x RET f=3D; are there any alternatives? >> >> That's what I'd do. Or ~C-x RET f~. You could also use a macro, if y= ou >> want it to me be more semantic (I hope I use this word correctly). > > Houston, we've got a problem. What about =3DM-,=3D? Somehow it seems = not > to be interpreted in the right way: it does not get fontified correctly= , > nor does export in the right way. What can I do about it? I found > about org-emphasis-regexp-components, is it the only way? Also, how do > I reload Org without restarting Emacs? (I am an Emacs geek and I try t= o > beat my record of emacs-uptime, you know. ;-) ) Wow, I got an idea, and it worked. Here's an excerpt from `C-u C-x =3D' at my solution;-): position: 11859 of 16051 (74%), column: 253 character: =E2=80=8D (displayed as =E2=80=8D) (codepoint 8205= , #o20015, #x200d) preferred charset: unicode (Unicode (ISO10646)) code point in charset: 0x200D syntax: . which means: punctuation to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME" buffer code: #xE2 #x80 #x8D file code: #xE2 #x80 #x8D (encoded by coding system utf-8-uni= x) display: by this font (glyph code) xft:-unknown-Phetsarath OT-normal-normal-normal-*-17-*-*-*-*-0-iso106= 46-1 (#x120) Character code properties: customize what to show name: ZERO WIDTH JOINER A bit ugly trick, but works. What are the opinions? Regards, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University