From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Beck Subject: Re: Logical not in org-entities.el Date: Sat, 05 Jan 2013 23:08:58 +0100 Message-ID: <50E8A47A.10707@miszellen.de> References: <50E896F8.9050309@miszellen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrbvP-0005ry-Qj for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 17:09:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TrbvN-0006QW-Hd for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 17:09:07 -0500 Received: from mo6-p04-ob.rzone.de ([2a01:238:20a:202:5304::1]:40438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TrbvN-0006QO-Ap for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 17:09:05 -0500 Received: from [10.142.45.17] ([89.204.137.17]) by smtp.strato.de (josoe mo15) (RZmta 31.11 SBL|AUTH) with ESMTPA id U01268p05Jnlfg for ; Sat, 5 Jan 2013 23:09:01 +0100 (CET) In-Reply-To: <50E896F8.9050309@miszellen.de> 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 > org-entities contains the line: > > ("not" "\\textlnot{}" nil "¬" "[angled dash]" "¬" "¬") > > This should be > > ("neg" "\\neg" t "¬" "[angled dash]" "¬" "¬") > > The first line fails in math mode (i.e. "\not" is not replaced at all > and negates/slashes the next symbol); the second works in either case. OK, so org doesn't touch anything inside a math environment at all. Which makes sense in a way. The confusion arises with org-pretty-entities because what you see is definitely not what you get.