From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikael Fornius Subject: [PATCH 0/3] No sub/superscript in property keys and two small fixes. Date: Thu, 10 Jun 2010 16:54:48 +0200 Message-ID: <1276181691-7544-1-git-send-email-mfo@abc.se> Return-path: Received: from [140.186.70.92] (port=33258 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMj9o-0000sc-3X for emacs-orgmode@gnu.org; Thu, 10 Jun 2010 10:55:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMj9l-0006BN-Px for emacs-orgmode@gnu.org; Thu, 10 Jun 2010 10:54:59 -0400 Received: from violet.abc.se ([62.80.200.155]:56515) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMj9l-0006AZ-CK for emacs-orgmode@gnu.org; Thu, 10 Jun 2010 10:54:57 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Mikael Fornius Org-entities is great, thanks! I suggest not to fontify property keywords. I found an easy way to prevent org-mode to fontify sub/superscripts in property keys by skipping text with font eq org-special-keyword. What triggered me was the key :LAST_REPEAT: in org-habit who looked silly. I also stumbled upon an unused, unprefixed function named test which I removed. Earlier I used let instead of save-match-data in my patch to org-at-property-p which I also changed. Feel free to apply these patches to org-mode if you like them. Changes applies to Org-mode version 6.36trans (release_6.36.253.g1546e.dirty) Mikael Fornius (3): Removed unused test function. Use save-match-data macro instead of let. Do not fontify subscripts of property keys. lisp/org.el | 25 +++++++++++-------------- 1 files changed, 11 insertions(+), 14 deletions(-)