From mboxrd@z Thu Jan 1 00:00:00 1970 From: brady trainor Subject: per file face keywords, /in/ file Date: Sat, 7 Dec 2013 21:42:52 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpPqD-0002e0-IT for emacs-orgmode@gnu.org; Sat, 07 Dec 2013 16:55:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpPq5-0000g1-7F for emacs-orgmode@gnu.org; Sat, 07 Dec 2013 16:55:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:48176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpPq5-0000dq-0W for emacs-orgmode@gnu.org; Sat, 07 Dec 2013 16:55:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VpPq3-0004zd-NI for emacs-orgmode@gnu.org; Sat, 07 Dec 2013 22:55:04 +0100 Received: from D-173-250-195-115.dhcp4.washington.edu ([173.250.195.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Dec 2013 22:55:03 +0100 Received: from algebrat by D-173-250-195-115.dhcp4.washington.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Dec 2013 22:55:03 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.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.