From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brady Trainor Subject: Re: org-mode pretty entities has \perp but not \parallel Date: Tue, 18 Nov 2014 01:33:39 -0800 Message-ID: <87r3x026q4.fsf@uw.edu> References: <87bno64s9m.fsf@uw.edu> <87d28mw2v2.fsf@gmx.us> 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]:46737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqfAU-0007xA-7K for emacs-orgmode@gnu.org; Tue, 18 Nov 2014 04:33:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqfAN-0001jM-Qp for emacs-orgmode@gnu.org; Tue, 18 Nov 2014 04:33:50 -0500 Received: from mail-pd0-f169.google.com ([209.85.192.169]:48016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqfAN-0001iR-Km for emacs-orgmode@gnu.org; Tue, 18 Nov 2014 04:33:43 -0500 Received: by mail-pd0-f169.google.com with SMTP id fp1so5699988pdb.28 for ; Tue, 18 Nov 2014 01:33:41 -0800 (PST) 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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > Would you be interested in providing a patch? You would have to add it > to org-entities.el, e.g. after the perp entity and then send the patch > to this list. > I think this works, I did try it, with M-x org-toggle-pretty-entities. (Re:= 5th and 6th argument: Is "||" a good ASCII/Latin1 representation?)=20 #+BEGIN_SRC emacs-lisp ("parallel" "\\parallel" t "∥" "||" "||" "=E2=88=A5") #+END_SRC I also tried to add something like #+BEGIN_SRC=20 ("|" "\\\|" t "∥" "||" "||" "=E2=88=A5") #+END_SRC with "\\\|" or "\\|", but it wasn't working for me. I didn't see any non-al= phabetical entities ("name") in the variable org-entities-user, so I was gu= essing it wouldn't work with a one-line edit.=20 Is the patch okay? I simply used C-x s d (C-g C-x b *Diff* RET). -- Brady diff -c --label /home/iam/.emacs.d/elpa/org-20141027/org-entities.el --labe= l \#\ /home/iam/.emacs.d/elpa/org-20141027/org-en= tities.el /tmp/buffer-content-1773597i *** /home/iam/.emacs.d/elpa/org-20141027/org-entities.el --- # *************** *** 394,399 **** --- 394,400 ---- ("ang" "\\angle" t "∠" "[angle]" "[angle]" "=E2=88=A0") ("angle" "\\angle" t "∠" "[angle]" "[angle]" "=E2=88=A0") ("perp" "\\perp" t "⊥" "[up tack]" "[up tack]" "=E2=8A=A5") + ("parallel" "\\parallel" t "∥" "||" "||" "=E2=88=A5") ("sdot" "\\cdot" t "⋅" "[dot]" "[dot]" "=E2=8B=85") ("cdot" "\\cdot" t "⋅" "[dot]" "[dot]" "=E2=8B=85") ("lceil" "\\lceil" t "⌈" "[left ceiling]" "[left ceiling]" "=E2= =8C=88") Diff finished. Tue Nov 18 00:35:31 2014