emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mikael Fornius <mfo@abc.se>
To: emacs-orgmode@gnu.org
Cc: Mikael Fornius <mfo@abc.se>
Subject: [PATCH 0/3] No sub/superscript in property keys and two small fixes.
Date: Thu, 10 Jun 2010 16:54:48 +0200	[thread overview]
Message-ID: <1276181691-7544-1-git-send-email-mfo@abc.se> (raw)

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(-)

             reply	other threads:[~2010-06-10 14:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-10 14:54 Mikael Fornius [this message]
2010-06-10 14:54 ` [PATCH 1/3] Removed unused test function Mikael Fornius
2010-06-10 14:54 ` [PATCH 2/3] Use save-match-data macro instead of let Mikael Fornius
2010-06-10 14:54 ` [PATCH 3/3] Do not fontify subscripts of property keys Mikael Fornius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1276181691-7544-1-git-send-email-mfo@abc.se \
    --to=mfo@abc.se \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).