From: Xebar Saram <zeltakc@gmail.com>
To: Darlan Cavalcante Moreira <darcamo@gmail.com>,
org mode <emacs-orgmode@gnu.org>
Subject: Re: style the tags with colors in theme
Date: Wed, 24 Jul 2013 06:54:13 -0400 [thread overview]
Message-ID: <CAOQHXPqnM06Us2h9r0rjOdjJFArTT0dnyDQTs195c=CdErK3yw@mail.gmail.com> (raw)
In-Reply-To: <8738r4fxw7.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4100 bytes --]
thx again for the answer but it dosent see to work here:
https://paste.xinu.at/KlvP/
this is what i have in my config:
(setq org-tag-faces '(
("mru" :inherit org-done :box nil :underline t :height 1.2)
("Fav" :foreground "blue" :box nil :underline t :height
1.2)))
i restarted emacs but still see fav as a regular tag with out a foreground
of blue etc
any ideas what im doing wrong?
---------------------------------------------------------------------------------------------------------------------------------
The ATTACH tag is automatically added when I attach a file to a headline
(see Attachments in the org-mode manual [[info:org#Attachments]]). It's
the only tag I like to change appearance and thus I used it as an
example. But the same procedure should work with other tags.
A very important detail is that you need to restart Emacs. In the
documentation of org-tag-faces it says "If you set it with Lisp, a
restart of Emacs is required to activate the changes."
Therefore, put something like the code below in your initialization file
and restart Emacs and it should work
--8<---------------cut here---------------start------------->8---
(setq org-tag-faces '(
("SomeTag" :inherit org-done :box nil :underline t :height
1.2)
("SomeOtherTag" :foreground "blue" :box nil :underline t
:height 1.2)))
--8<---------------cut here---------------end--------------->8---
I think that the tags don't need to be in org-tag-alist for this to
work.
On Tue, Jul 23, 2013 at 11:19 PM, Darlan Cavalcante Moreira <
darcamo@gmail.com> wrote:
>
> The ATTACH tag is automatically added when I attach a file to a headline
> (see Attachments in the org-mode manual [[info:org#Attachments]]). It's
> the only tag I like to change appearance and thus I used it as an
> example. But the same procedure should work with other tags.
>
> A very important detail is that you need to restart Emacs. In the
> documentation of org-tag-faces it says "If you set it with Lisp, a
> restart of Emacs is required to activate the changes."
>
> Therefore, put something like the code below in your initialization file
> and restart Emacs and it should work
>
> --8<---------------cut here---------------start------------->8---
> (setq org-tag-faces '(
> ("SomeTag" :inherit org-done :box nil :underline t
> :height 1.2)
> ("SomeOtherTag" :foreground "blue" :box nil :underline t
> :height 1.2)))
> --8<---------------cut here---------------end--------------->8---
>
> I think that the tags don't need to be in org-tag-alist for this to
> work.
>
> --
> Darlan Cavalcante Moreira
> darcamo@gmail.com
>
>
> zeltakc@gmail.com writes:
>
> > Thx Darlan but i cant seem to get it to work.
> > i have tried both adding ATTACH in the top of my org file:
> >
> > #+TAGS: Fav(f) todo(t) mru(m) bind(b) ATTACH(a)
> >
> > and also in my org config:
> >
> > (setq org-tag-alist '(("@work" . ?w) ("@ATTACH" . ?a) ("@dl" . ?d)
> ("@preR"
> > . ?p) ("@fav" . ?f)("@linux" . ?l)))
> >
> > and added your line to my config yet nothing happned when i add the
> ATTACH
> > tag, what am i missing here?
> >
> > best
> >
> > z
> >
> >
> >
> >
> > On Tue, Jul 23, 2013 at 2:45 PM, Darlan Cavalcante Moreira <
> > darcamo@gmail.com> wrote:
> >
> >> I use the code below for the ATTACH tag
> >>
> >> --8<---------------cut here---------------start------------->8---
> >> (setq org-tag-faces '(("ATTACH" :inherit org-done :box nil :underline t
> >> :height 1.2)))
> >> --8<---------------cut here---------------end--------------->8---
> >>
> >> --
> >> Darlan Cavalcante Moreira
> >> darcamo@gmail.com
> >>
> >>
> >> bzg@gnu.org writes:
> >>
> >> > Hi Xebar,
> >> >
> >> > Xebar Saram <zeltakc@gmail.com> writes:
> >> >
> >> >> does anyone know how (if there is a way) to style the tags with
> >> >> colors in a theme? IE to have tags with a different fg/bg from
> >> >> default and even better yet to define a different color for each
> >> >> tag?
> >> >
> >> > See this:
> >> >
> >> > C-h v org-tag-faces RET
> >> >
> >> > HTH,
> >>
>
[-- Attachment #2: Type: text/html, Size: 8255 bytes --]
next prev parent reply other threads:[~2013-07-24 10:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-23 12:52 style the tags with colors in theme Xebar Saram
2013-07-23 16:48 ` Bastien
2013-07-23 18:45 ` Darlan Cavalcante Moreira
[not found] ` <CAOQHXPr73e3Rb61+7_n8KsFgD+kANHqtg3pby8pbkHpwz5715w@mail.gmail.com>
[not found] ` <8738r4fxw7.fsf@gmail.com>
2013-07-24 10:54 ` Xebar Saram [this message]
2013-07-24 13:40 ` Darlan Cavalcante Moreira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOQHXPqnM06Us2h9r0rjOdjJFArTT0dnyDQTs195c=CdErK3yw@mail.gmail.com' \
--to=zeltakc@gmail.com \
--cc=darcamo@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).