emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Konstantin Antipin <antipin.konstantin@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: embedded/inherited tags
Date: Wed, 1 Apr 2009 12:05:18 +0200	[thread overview]
Message-ID: <267ADF6E-C461-4386-BBDC-59860DA4A032@gmail.com> (raw)
In-Reply-To: <61176df0903311425mcd60f5ct474b6bbc7ff5caf8@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 3583 bytes --]

This is an interesting hack, and it does solve what Eraldo was asking  
for.

However, I also think that using the outline hierarchy to file things
properly, and in this way making use of the existing tag inheritance,
is a very good alternative, as described by Peter Jones and by Manish
earlier in this thread.

- Carsten

On Mar 31, 2009, at 11:25 PM, Konstantin Antipin wrote:

> Peter Jones - thanks for the advise. Unfortunately it does not fit to
> me, since I have my todo items in different files.
>
> Eraldo - I was also thinking about this, but I thought that maybe
> solution already exists...
>
> Anyhow, for my it is fixed - I wrote a small package org-assoc-tags,
> that allows to have key-tag and associated tags. For example:
>
> (setq org-assoc-tags '(
> 		       ("emacs" "tech")
> 		       ("orgmode" "emacs" "tech")
> 		       ))
>
> If you assign :emacs: tag, then :tech: will be assigned automatically.
> If you assign :orgmode: tag, then both :emacs: and :tech: will be  
> assigned.
> The package can be found at: http://www.emacswiki.org/emacs/org-assoc-tags.el
>
> Hopefully it might be helpful for someone,
> Kostya
>
> On Mon, Mar 30, 2009 at 6:25 PM, Eraldo Helal <admin@eraldo.at> wrote:
>>
>> Hi Kostya!
>>
>> I am still pretty new to emacs and org-mode, but from what I have  
>> read until now...
>> Could you use the tag hook to automatically assign the :tech: tag  
>> along with :firefox: and|or :emacs: etc...
>> This is still not exactly what you wished afaics, but it may make  
>> things a little more convenient.
>>
>> On Mon, Mar 30, 2009 at 16:47, Konstantin Antipin <antipin.konstantin@googlemail.com 
>> > wrote:
>>>
>>> Hi,
>>>
>>> Manish - thank you for the reply.
>>>
>>> Here is what I want in details:
>>> For example, I have following  
>>> tags :tech: :firefox: :emacs: :orgmode:
>>> In agenda I usually ask only for TODO with :tech: tags, in order  
>>> to see actions, related to technical stuff.
>>>
>>> clearly, :firefox: and :emacs: are related to :tech: tag. It would  
>>> be convenient to introduce tag hierarchy:
>>> every todo-item with :emacs: (or :firefox: ) tag only should show  
>>> up in agenda, when I query for :tech: tag.
>>> I understand, that every time I assign :emacs: tag I can  
>>> assign :tech: tag as well, and this will do the work, but it is  
>>> not convenient.
>>>
>>>
>>> Is such mechanism exists?
>>>
>>> My todo's are scatterd over the files, thus I can not use usual  
>>> tag hierarchy, that is controlled by, for example, "org-use-tag- 
>>> inheritance".
>>>
>>> thanks,
>>> Kostya
>>>
>>> On Mon, Mar 30, 2009 at 1:09 PM, Manish <mailtomanish.sharma@gmail.com 
>>> > wrote:
>>>>
>>>>  On Sat, Mar 28, 2009 at 6:59 PM, Konstantin Antipin wrote:
>>>>  > Dear org-users,
>>>>  > Is there any way to make tags inherited from another tag?
>>>>  > For example, I have following tags:
>>>>  > :tech:
>>>>  >  :emacs:
>>>>  >   :orgmode:
>>>>  >  :ubuntu:
>>>>  >
>>>>  > :other:
>>>>
>>>> Could you please a little elaborate more on this?  Also please  
>>>> take a
>>>> look at variable "org-use-tag-inheritance".
>>>>
>>>> --
>>>> Manish
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>
>
> _______________________________________________
> 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


[-- Attachment #1.2: Type: text/html, Size: 9145 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

  parent reply	other threads:[~2009-04-01 10:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-28 13:29 embedded/inherited tags Konstantin Antipin
2009-03-30 11:09 ` Manish
2009-03-30 14:47   ` Konstantin Antipin
2009-03-30 16:25     ` Eraldo Helal
2009-03-31 21:25       ` Konstantin Antipin
2009-03-31 22:15         ` Samuel Wales
2009-03-31 23:43           ` Konstantin Antipin
2009-04-01 10:05             ` Carsten Dominik
2009-04-01 23:02               ` Samuel Wales
2009-04-05 12:07                 ` Carsten Dominik
2009-04-01 10:05         ` Carsten Dominik [this message]
2009-03-30 14:29 ` Peter Jones

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=267ADF6E-C461-4386-BBDC-59860DA4A032@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=antipin.konstantin@googlemail.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).