From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: embedded/inherited tags Date: Wed, 1 Apr 2009 12:05:16 +0200 Message-ID: <52ED26C8-3FD4-4E7C-B188-CA9DF4543740@gmail.com> References: <61176df0903280629g76b084cen50eec7fc0bb7271a@mail.gmail.com> <61176df0903300747n1f301d80v7733f4c055abd719@mail.gmail.com> <938fae2d0903300925p39534429t8c93bbdc9d6bca48@mail.gmail.com> <61176df0903311425mcd60f5ct474b6bbc7ff5caf8@mail.gmail.com> <20524da70903311515g545f65cem16c4c497da218d79@mail.gmail.com> <61176df0903311643v253b723en663fd28a8b083086@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: multipart/mixed; boundary="===============0797562052==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoxK0-0001oH-KI for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 06:05:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoxJv-0001hS-PV for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 06:05:23 -0400 Received: from [199.232.76.173] (port=55098 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoxJv-0001h4-05 for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 06:05:19 -0400 Received: from mail-ew0-f160.google.com ([209.85.219.160]:54739) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LoxJt-0003yj-UD for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 06:05:18 -0400 Received: by mail-ew0-f160.google.com with SMTP id 4so3126393ewy.42 for ; Wed, 01 Apr 2009 03:05:17 -0700 (PDT) In-Reply-To: <61176df0903311643v253b723en663fd28a8b083086@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Konstantin Antipin Cc: emacs-orgmode@gnu.org --===============0797562052== Content-Type: multipart/alternative; boundary=Apple-Mail-2-427595200 --Apple-Mail-2-427595200 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Apr 1, 2009, at 1:43 AM, Konstantin Antipin wrote: > Samuel - Your solution is probably more elegant. Then I will wait for > search with lisp syntax functionality, and so far just use my code. That would mean waiting a long time. The discussion about the lisp search was a long time ago, and nothing has happened. Did I really say I was going to make this, Samuel? - Carsten > > K > > On Wed, Apr 1, 2009 at 12:15 AM, Samuel Wales > wrote: >> Another possibility is to use your assoc tags and fix it on the >> search >> side. If you always have a custom search, you can use `( ... ,( ... >> )) when you define it. >> >> Then you only need one tag on each task. The advantage of this is >> that if the associations change, you will not need to change the >> tags. >> >> Currently this requires concatenating strings, but in the future, >> according to Carsten, there will be optional Lisp syntax for >> searches, >> which will make it easier. It might also allow stuff not currently >> possible. >> >> On 2009-03-31, 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 >>> 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 >>>> 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 >>>> > >>>>> 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 >>> >> >> >> -- >> Myalgic encephalomyelitis denialism is causing death (decades early; >> Jason et al. 2006) and severe suffering (worse than nearly all other >> diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting >> science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm >> > > > _______________________________________________ > 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 --Apple-Mail-2-427595200 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On Apr 1, 2009, = at 1:43 AM, Konstantin Antipin wrote:

Samuel - Your solution is probably more elegant. Then = I will wait for
search with lisp syntax functionality, and so far = just use my code.

That would = mean waiting a long time.  The discussion about the
lisp = search was a long time ago, and nothing has = happened.

Did I really say I was going to make = this, Samuel?

- Carsten


K

On Wed, Apr 1, 2009 at 12:15 AM, Samuel = Wales <samologist@gmail.com> = wrote:
Another possibility is to use your = assoc tags and fix it on the search
side.  If you always have a custom search, you can = use `( ... ,( ...
)) when you = define it.

Then you only = need one tag on each task.  The advantage of this = is
that if the associations = change, you will not need to change the = tags.

Currently this = requires concatenating strings, but in the = future,
according to Carsten, = there will be optional Lisp syntax for = searches,
which will make it = easier.  It might also allow stuff not = currently
possible.

On 2009-03-31, = Konstantin Antipin <antipin.konstantin@googl= email.com> 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.emacs= wiki.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@googl= email.com> = wrote:

Hi,
<= blockquote type=3D"cite">

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.co= m>
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?
<= blockquote type=3D"cite">
 > 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



--
Myalgic = encephalomyelitis denialism is causing death (decades = early;
Jason et al. 2006) and = severe suffering (worse than nearly all = other
diseases studied; e.g. = Schweitzer et al. 1995) and grossly = corrupting
science.  http://ww= w.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm



___________________________________= ____________
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
<= br>= --Apple-Mail-2-427595200-- --===============0797562052== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0797562052==--