emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug report org mode
@ 2020-01-20  8:06 Siegmar Maier
  2020-01-26 17:09 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Siegmar Maier @ 2020-01-20  8:06 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1396 bytes --]

Hi,
I found following strange behaviour:
with
windwos 10
emacs-version: GNU Emacs 26.3 (build 1, x86_64-mingw32) of 2019-08-29
org-version: 9.3.1-elpaplus

if I use following sequence the coloring of the keywords is not working:
(org-id-update-id-locations)
(setq org-id-link-to-org-use-id t)
(setq org-agenda-deadline-leaders '("!D!        " "D%02d:       " "D-%02d:      "))
(setq org-agenda-scheduled-leaders '("           " "S%02d:       "))
(setq org-todo-keywords
      '((type
         "TODO(t!)"
         "STARTED(s@)"
         "WAITING(w@)"
         "DELEGATED(g@)"
         "MEET(m!)"
         "SOMEDAY(s!)"
         "PROJECT"
         "|"
         "DONE(d!)"
         "CANCELED(c!)")))
(setq org-todo-keyword-faces
      '(
        ("TODO" :foreground "medium blue" :weight bold)
        ("MEET" :foreground "deep sky blue" :weight bold)
        ("STARTED" :foreground "dark orange" :weight bold)
        ("WAITING" :foreground "red" :weight bold)
        ("SOMEDAY" :foreground "dark blue" :weight bold)
        ("DELEGATED" :foreground "dark orange" :weight bold)
        ("CANCELED" :foreground "forest green" :weight bold)
        ("PROJECT" :foreground "#088e8e" :weight bold)))
According to my examination the problem is with org-id-update-id-locations. Removeing that column makes it work again.
If I put that line behind it works also again

[-- Attachment #2: Type: text/html, Size: 9363 bytes --]

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

* Re: bug report org mode
  2020-01-20  8:06 bug report org mode Siegmar Maier
@ 2020-01-26 17:09 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2020-01-26 17:09 UTC (permalink / raw)
  To: Siegmar Maier; +Cc: emacs-orgmode@gnu.org

Hi Siegmar,

Siegmar Maier <sierma@hotmail.de> writes:

> According to my examination the problem is with
> org-id-update-id-locations. Removeing that column makes it work
> again.
> If I put that line behind it works also again

Yes, `org-todo-keyword-faces' will be taken into account when set
before any actual fontification of an Org buffer.

If `org-id-update-id-locations' visits an Org buffer before
`org-todo-keyword-faces' is set, then this last variable will be
ignore in the visited buffer.

I hope this helps,

-- 
 Bastien

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

end of thread, other threads:[~2020-01-26 17:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-20  8:06 bug report org mode Siegmar Maier
2020-01-26 17:09 ` Bastien

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