emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* per file face keywords, /in/ file
@ 2013-12-07 21:42 brady trainor
  2013-12-07 23:42 ` Suvayu Ali
  0 siblings, 1 reply; 4+ messages in thread
From: brady trainor @ 2013-12-07 21:42 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-08 10:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-07 21:42 per file face keywords, /in/ file brady trainor
2013-12-07 23:42 ` Suvayu Ali
2013-12-08  5:57   ` brady trainor
2013-12-08 10:49     ` Suvayu Ali

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