emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-tag-faces does not work for me
@ 2008-12-19 15:34 Wanrong Lin
  2008-12-19 17:47 ` Carsten Dominik
  2008-12-19 18:09 ` Samuel Wales
  0 siblings, 2 replies; 7+ messages in thread
From: Wanrong Lin @ 2008-12-19 15:34 UTC (permalink / raw)
  To: "Emacs-orgmode" mailing list

Hi,

I updated org to the latest (6.15f) and try to use the new org-tag-faces 
feature, but it does not work me.

I have settings like this:

(setq org-tag-faces
      '(("TODAY" . (:foreground "#C00000"))
        ("APPT"  . (:foreground "#C00000"))
        ("NEXT"  . (:foreground "#C00000"))))

It has no effect at all, regardless whether I have "org-tag" customized 
or not.

Another thing I noticed is: in the search result of "tags-todo", all my 
tags are in lower cases, while in regular agenda view, the cases are 
preserved. I found the change of tag cases annoying. Is this a bug or is 
there a way to turn that behavior off?

Thanks a lot if anyone can help.

Wanrong

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

* Re: org-tag-faces does not work for me
  2008-12-19 15:34 org-tag-faces does not work for me Wanrong Lin
@ 2008-12-19 17:47 ` Carsten Dominik
  2008-12-19 19:53   ` Wanrong Lin
  2008-12-19 20:01   ` Wanrong Lin
  2008-12-19 18:09 ` Samuel Wales
  1 sibling, 2 replies; 7+ messages in thread
From: Carsten Dominik @ 2008-12-19 17:47 UTC (permalink / raw)
  To: Wanrong Lin; +Cc: "Emacs-orgmode" mailing list


On Dec 19, 2008, at 4:34 PM, Wanrong Lin wrote:

> Hi,
>
> I updated org to the latest (6.15f) and try to use the new org-tag- 
> faces feature, but it does not work me.
>
> I have settings like this:
>
> (setq org-tag-faces
>     '(("TODAY" . (:foreground "#C00000"))
>       ("APPT"  . (:foreground "#C00000"))
>       ("NEXT"  . (:foreground "#C00000"))))
>
> It has no effect at all, regardless whether I have "org-tag"  
> customized or not.


Have you tried to use named faces?

> Another thing I noticed is: in the search result of "tags-todo", all  
> my tags are in lower cases, while in regular agenda view, the cases  
> are preserved. I found the change of tag cases annoying. Is this a  
> bug or is there a way to turn that behavior off?

It is a bug, fixed now.

- Carsten

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

* Re: org-tag-faces does not work for me
  2008-12-19 15:34 org-tag-faces does not work for me Wanrong Lin
  2008-12-19 17:47 ` Carsten Dominik
@ 2008-12-19 18:09 ` Samuel Wales
  1 sibling, 0 replies; 7+ messages in thread
From: Samuel Wales @ 2008-12-19 18:09 UTC (permalink / raw)
  To: Wanrong Lin; +Cc: Emacs-orgmode mailing list

Did you try c-u c-c c-c to refresh the faces?

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

* Re: org-tag-faces does not work for me
  2008-12-19 17:47 ` Carsten Dominik
@ 2008-12-19 19:53   ` Wanrong Lin
  2008-12-19 20:00     ` Carsten Dominik
  2008-12-19 20:01   ` Wanrong Lin
  1 sibling, 1 reply; 7+ messages in thread
From: Wanrong Lin @ 2008-12-19 19:53 UTC (permalink / raw)
  To: "Emacs-orgmode" mailing list


Thanks for the replies. I restarted Emacs to ensure the faces were 
refreshed. Also, I just tried the named faces. Did not work. Looks like 
you guys don't have the problem, I will look a little deeper.

Wanrong

Carsten Dominik wrote:
>
> On Dec 19, 2008, at 4:34 PM, Wanrong Lin wrote:
>
>> Hi,
>>
>> I updated org to the latest (6.15f) and try to use the new 
>> org-tag-faces feature, but it does not work me.
>>
>> I have settings like this:
>>
>> (setq org-tag-faces
>>     '(("TODAY" . (:foreground "#C00000"))
>>       ("APPT"  . (:foreground "#C00000"))
>>       ("NEXT"  . (:foreground "#C00000"))))
>>
>> It has no effect at all, regardless whether I have "org-tag" 
>> customized or not.
>
>
> Have you tried to use named faces?
>
>> Another thing I noticed is: in the search result of "tags-todo", all 
>> my tags are in lower cases, while in regular agenda view, the cases 
>> are preserved. I found the change of tag cases annoying. Is this a 
>> bug or is there a way to turn that behavior off?
>
> It is a bug, fixed now.
>
> - Carsten
>

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

* Re: org-tag-faces does not work for me
  2008-12-19 19:53   ` Wanrong Lin
@ 2008-12-19 20:00     ` Carsten Dominik
  0 siblings, 0 replies; 7+ messages in thread
From: Carsten Dominik @ 2008-12-19 20:00 UTC (permalink / raw)
  To: Wanrong Lin; +Cc: "Emacs-orgmode" mailing list

Hi Wanrong,

cold you please check what the value of `org-tags-special-face-re is'?

If it is nil, try to set the faces through the customize interface.
I see now that setting it in Lisp might not work.

- Carsten

On Dec 19, 2008, at 8:53 PM, Wanrong Lin wrote:

>
> Thanks for the replies. I restarted Emacs to ensure the faces were  
> refreshed. Also, I just tried the named faces. Did not work. Looks  
> like you guys don't have the problem, I will look a little deeper.
>
> Wanrong
>
> Carsten Dominik wrote:
>>
>> On Dec 19, 2008, at 4:34 PM, Wanrong Lin wrote:
>>
>>> Hi,
>>>
>>> I updated org to the latest (6.15f) and try to use the new org-tag- 
>>> faces feature, but it does not work me.
>>>
>>> I have settings like this:
>>>
>>> (setq org-tag-faces
>>>    '(("TODAY" . (:foreground "#C00000"))
>>>      ("APPT"  . (:foreground "#C00000"))
>>>      ("NEXT"  . (:foreground "#C00000"))))
>>>
>>> It has no effect at all, regardless whether I have "org-tag"  
>>> customized or not.
>>
>>
>> Have you tried to use named faces?
>>
>>> Another thing I noticed is: in the search result of "tags-todo",  
>>> all my tags are in lower cases, while in regular agenda view, the  
>>> cases are preserved. I found the change of tag cases annoying. Is  
>>> this a bug or is there a way to turn that behavior off?
>>
>> It is a bug, fixed now.
>>
>> - Carsten
>>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: org-tag-faces does not work for me
  2008-12-19 17:47 ` Carsten Dominik
  2008-12-19 19:53   ` Wanrong Lin
@ 2008-12-19 20:01   ` Wanrong Lin
  2008-12-19 20:36     ` Carsten Dominik
  1 sibling, 1 reply; 7+ messages in thread
From: Wanrong Lin @ 2008-12-19 20:01 UTC (permalink / raw)
  To: "Emacs-orgmode" mailing list


Ok, it seems I found the cause.

The org-tag-faces will take effect only when it is set before
(require 'org-install)

Putting org-tag-faces before (require 'org-install) is not a big deal. 
But it is a little bit odd, as I can do (setq org-tag-alist ....) after 
(require 'org-install), but the faces have to be set before it.

Anyway, I am glad I found the problem. Thank you.

Wanrong

Carsten Dominik wrote:
>
> On Dec 19, 2008, at 4:34 PM, Wanrong Lin wrote:
>
>> Hi,
>>
>> I updated org to the latest (6.15f) and try to use the new 
>> org-tag-faces feature, but it does not work me.
>>
>> I have settings like this:
>>
>> (setq org-tag-faces
>>     '(("TODAY" . (:foreground "#C00000"))
>>       ("APPT"  . (:foreground "#C00000"))
>>       ("NEXT"  . (:foreground "#C00000"))))
>>
>> It has no effect at all, regardless whether I have "org-tag" 
>> customized or not.
>
>
> Have you tried to use named faces?
>
>> Another thing I noticed is: in the search result of "tags-todo", all 
>> my tags are in lower cases, while in regular agenda view, the cases 
>> are preserved. I found the change of tag cases annoying. Is this a 
>> bug or is there a way to turn that behavior off?
>
> It is a bug, fixed now.
>
> - Carsten
>

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

* Re: org-tag-faces does not work for me
  2008-12-19 20:01   ` Wanrong Lin
@ 2008-12-19 20:36     ` Carsten Dominik
  0 siblings, 0 replies; 7+ messages in thread
From: Carsten Dominik @ 2008-12-19 20:36 UTC (permalink / raw)
  To: Wanrong Lin; +Cc: "Emacs-orgmode" mailing list


On Dec 19, 2008, at 9:01 PM, Wanrong Lin wrote:

>
> Ok, it seems I found the cause.
>
> The org-tag-faces will take effect only when it is set before
> (require 'org-install)
>
> Putting org-tag-faces before (require 'org-install) is not a big  
> deal. But it is a little bit odd, as I can do (setq org-tag- 
> alist ....) after (require 'org-install), but the faces have to be  
> set before it.

Hi Wanrong,

this should no longer be necessary.  Thanks!

- Carsten

>
>
> Wanrong
>
> Carsten Dominik wrote:
>>
>> On Dec 19, 2008, at 4:34 PM, Wanrong Lin wrote:
>>
>>> Hi,
>>>
>>> I updated org to the latest (6.15f) and try to use the new org-tag- 
>>> faces feature, but it does not work me.
>>>
>>> I have settings like this:
>>>
>>> (setq org-tag-faces
>>>    '(("TODAY" . (:foreground "#C00000"))
>>>      ("APPT"  . (:foreground "#C00000"))
>>>      ("NEXT"  . (:foreground "#C00000"))))
>>>
>>> It has no effect at all, regardless whether I have "org-tag"  
>>> customized or not.
>>
>>
>> Have you tried to use named faces?
>>
>>> Another thing I noticed is: in the search result of "tags-todo",  
>>> all my tags are in lower cases, while in regular agenda view, the  
>>> cases are preserved. I found the change of tag cases annoying. Is  
>>> this a bug or is there a way to turn that behavior off?
>>
>> It is a bug, fixed now.
>>
>> - Carsten
>>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2008-12-19 20:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-19 15:34 org-tag-faces does not work for me Wanrong Lin
2008-12-19 17:47 ` Carsten Dominik
2008-12-19 19:53   ` Wanrong Lin
2008-12-19 20:00     ` Carsten Dominik
2008-12-19 20:01   ` Wanrong Lin
2008-12-19 20:36     ` Carsten Dominik
2008-12-19 18:09 ` Samuel Wales

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