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

2013-12-08 Thread Suvayu Ali
On Sun, Dec 08, 2013 at 05:57:12AM +, brady trainor wrote:
 Suvayu Ali fatkasuvayu+linux at gmail.com writes:

 https://github.com/suvayu/.emacs.d/blob/master/themes/dark-emacs-theme.el#L16

 [...chomp...chomp...chomp...]

 Further, I appreciate your link to a sample of colors, as I am confident you
 have pointed me to a great introduction to some good color choices for faces. 

Well ... if you like dark themes, you could use the theme I pointed to.
Set a custom-theme-directory, and put the file there and load it with
`M-x load-theme RET'.  You can get an example in the emacs-custom.el
file in the same repository.

GL,

-- 
Suvayu

Open source is the future. It sets us free.



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

2013-12-07 Thread brady trainor

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









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

2013-12-07 Thread Suvayu Ali
On Sat, Dec 07, 2013 at 09:42:52PM +, brady trainor wrote:
 
   -*-  mode: org; org-todo-keyword-faces: (TODO . yellow); -*-

Try something like this:

https://github.com/suvayu/.emacs.d/blob/master/themes/dark-emacs-theme.el#L16

 
 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. 

I would advise against it.  Personally I think appearance related
customisations should not be per-file.

GL,

-- 
Suvayu

Open source is the future. It sets us free.



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

2013-12-07 Thread brady trainor
Suvayu Ali fatkasuvayu+linux at gmail.com writes:


 Try something like this:
 

https://github.com/suvayu/.emacs.d/blob/master/themes/dark-emacs-theme.el#L16
 
  
  ... I would like to adjust colors
  in-file. 
 
 I would advise against it.  Personally I think appearance related
 customisations should not be per-file.


Thank you Ali, 

Within a few hours I realized there was little merit in continuing to get a
feel for the keywords in just per-file (stepped out of the main file).
Further, I appreciate your link to a sample of colors, as I am confident you
have pointed me to a great introduction to some good color choices for faces. 

Brady Trainor 

P.S. and I am immensely happy to have found this software and excited about
the possibilities!