emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] per file face keywords, /in/ file


From: brady trainor
Subject: [O] per file face keywords, /in/ file
Date: Sat, 7 Dec 2013 21:42:52 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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









reply via email to

[Prev in Thread] Current Thread [Next in Thread]