From: brady trainor <algebrat@uw.edu>
To: emacs-orgmode@gnu.org
Subject: per file face keywords, /in/ file
Date: Sat, 7 Dec 2013 21:42:52 +0000 (UTC) [thread overview]
Message-ID: <loom.20131207T222609-893@post.gmane.org> (raw)
(this is my first post here. first, thank you for providing this software,
it seems to have potential for having an optimal effect on my workflow. so
far, it is still just a hobby to learn, but i got a couple things done in
the process.)
I would like to set keyword faces in file. I have considered the following
information:
1. Per-file keywords:
http://orgmode.org/manual/Per_002dfile-keywords.html#Per_002dfile-keywords
2. Faces for TODO keywords:
http://orgmode.org/manual/Faces-for-TODO-keywords.html#Faces-for-TODO-keywords
3. Specifying file variables:
http://www.gnu.org/software/emacs/manual/html_node/emacs/Specifying-File-Variables.html
First I thought about if there was some way to get colors in to the "#+
TODO:" syntax.
That is, I considered that
#+ TODO: TODO
seems to correspond with
(setq org-todo-keyword-faces '(("TODO")))
in the /.emacs file.
Then, I thought about the desired result of
(setq org-todo-keyword-faces '(("TODO" . "yellow")))
and decided there was no way to that with #+TODO: ...
So I considered directions at the 3rd link above, asking emacs to set the
variable for the file, so in my file, I set:
-*- mode: org; org-todo-keyword-faces: ("TODO" . "yellow"); -*-
This did not work as desired. Also, not sure if there will be some inherent
slowing of startup, as currently this ineffective line of code seems to slow
emacs down.
Any ideas?
P.S. Why would I want to do this? In developing my use of org-mode, my use
of keywords is early in it's evolution, so I would like to adjust colors
in-file.
next reply other threads:[~2013-12-07 21:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-07 21:42 brady trainor [this message]
2013-12-07 23:42 ` per file face keywords, /in/ file Suvayu Ali
2013-12-08 5:57 ` brady trainor
2013-12-08 10:49 ` Suvayu Ali
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=loom.20131207T222609-893@post.gmane.org \
--to=algebrat@uw.edu \
--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).