emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* refile headline with inherited tags
@ 2009-04-04 22:00 Eraldo Helal
  2009-04-05  6:44 ` Carsten Dominik
  0 siblings, 1 reply; 7+ messages in thread
From: Eraldo Helal @ 2009-04-04 22:00 UTC (permalink / raw)
  To: Org-Mode


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

Today I refiled a headline that was part of a tree using inherited tags:

* topic1                               :tag1:
** headline1
** headline2
* topic2

If I refile headline1 to another file... the tag "tag1" is not on it
anymore...

I am not sure if the best way to handle such cases is to add the tag by hand
and then refile it
... or if it could also be an option to apply all inherited tags to it while
refiling.

[-- Attachment #1.2: Type: text/html, Size: 496 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

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

* Re: refile headline with inherited tags
  2009-04-04 22:00 refile headline with inherited tags Eraldo Helal
@ 2009-04-05  6:44 ` Carsten Dominik
  2009-04-05 14:31   ` Eraldo Helal
  0 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2009-04-05  6:44 UTC (permalink / raw)
  To: Eraldo Helal; +Cc: Org-Mode


On Apr 5, 2009, at 12:00 AM, Eraldo Helal wrote:

> Today I refiled a headline that was part of a tree using inherited  
> tags:
>
> * topic1                               :tag1:
> ** headline1
> ** headline2
> * topic2
>
> If I refile headline1 to another file... the tag "tag1" is not on it  
> anymore...
>
> I am not sure if the best way to handle such cases is to add the tag  
> by hand and then refile it
> ... or if it could also be an option to apply all inherited tags to  
> it while refiling.

I cannot reproduce this.  What org version are you using?

- 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: refile headline with inherited tags
  2009-04-05  6:44 ` Carsten Dominik
@ 2009-04-05 14:31   ` Eraldo Helal
  2009-04-05 14:36     ` Eraldo Helal
  0 siblings, 1 reply; 7+ messages in thread
From: Eraldo Helal @ 2009-04-05 14:31 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Org-Mode


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

On Sun, Apr 5, 2009 at 08:44, Carsten Dominik <carsten.dominik@gmail.com>wrote:

>
> On Apr 5, 2009, at 12:00 AM, Eraldo Helal wrote:
>
>  Today I refiled a headline that was part of a tree using inherited tags:
>>
>> * topic1                               :tag1:
>> ** headline1
>> ** headline2
>> * topic2
>>
>> If I refile headline1 to another file... the tag "tag1" is not on it
>> anymore...
>>
>> I am not sure if the best way to handle such cases is to add the tag by
>> hand and then refile it
>> ... or if it could also be an option to apply all inherited tags to it
>> while refiling.
>>
>
> I cannot reproduce this.  What org version are you using?
>
org-mode version 6.25b

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

[-- Attachment #1.2: Type: text/html, Size: 1908 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

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

* Re: refile headline with inherited tags
  2009-04-05 14:31   ` Eraldo Helal
@ 2009-04-05 14:36     ` Eraldo Helal
  2009-04-05 15:44       ` Bernt Hansen
  2009-04-05 16:18       ` Carsten Dominik
  0 siblings, 2 replies; 7+ messages in thread
From: Eraldo Helal @ 2009-04-05 14:36 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Org-Mode


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

I am not sure if you understood what I meant...

to calrify:
when refiling headline1 to another file (C-c C-w) this headline does not
have the tag :tag1: in the new file.
did your test refile it with the inherited tag?

On Sun, Apr 5, 2009 at 16:31, Eraldo Helal <office@eraldo.at> wrote:

>
>
> On Sun, Apr 5, 2009 at 08:44, Carsten Dominik <carsten.dominik@gmail.com>wrote:
>
>>
>> On Apr 5, 2009, at 12:00 AM, Eraldo Helal wrote:
>>
>>  Today I refiled a headline that was part of a tree using inherited tags:
>>>
>>> * topic1                               :tag1:
>>> ** headline1
>>> ** headline2
>>> * topic2
>>>
>>> If I refile headline1 to another file... the tag "tag1" is not on it
>>> anymore...
>>>
>>> I am not sure if the best way to handle such cases is to add the tag by
>>> hand and then refile it
>>> ... or if it could also be an option to apply all inherited tags to it
>>> while refiling.
>>>
>>
>> I cannot reproduce this.  What org version are you using?
>>
> org-mode version 6.25b
>
>>
>> - 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
>>>
>>
>>
>

[-- Attachment #1.2: Type: text/html, Size: 2519 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

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

* Re: refile headline with inherited tags
  2009-04-05 14:36     ` Eraldo Helal
@ 2009-04-05 15:44       ` Bernt Hansen
  2009-04-05 16:19         ` Matthew Lundin
  2009-04-05 16:18       ` Carsten Dominik
  1 sibling, 1 reply; 7+ messages in thread
From: Bernt Hansen @ 2009-04-05 15:44 UTC (permalink / raw)
  To: Eraldo Helal; +Cc: Org-Mode

I would definitely _not_ want this behaviour by default.  I'm okay with
it being an option if it's useful.  My tasks inherit tags from
#+FILETAGS: and I don't want those moving between files.

-Bernt

Eraldo Helal <office@eraldo.at> writes:

> I am not sure if you understood what I meant...
>
> to calrify:
> when refiling headline1 to another file (C-c C-w) this headline does not have the tag :tag1: in the new file.
> did your test refile it with the inherited tag?
>
> On Sun, Apr 5, 2009 at 16:31, Eraldo Helal <office@eraldo.at> wrote:
>
>     On Sun, Apr 5, 2009 at 08:44, Carsten Dominik <carsten.dominik@gmail.com> wrote:
>
>         On Apr 5, 2009, at 12:00 AM, Eraldo Helal wrote:
>
>             Today I refiled a headline that was part of a tree using inherited tags:
>            
>             * topic1                               :tag1:
>             ** headline1
>             ** headline2
>             * topic2
>            
>             If I refile headline1 to another file... the tag "tag1" is not on it anymore...
>            
>             I am not sure if the best way to handle such cases is to add the tag by hand and then refile it
>             ... or if it could also be an option to apply all inherited tags to it while refiling.
>
>         I cannot reproduce this.  What org version are you using?
>    
>     org-mode version 6.25b
>
>         - 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
>
> _______________________________________________
> 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: refile headline with inherited tags
  2009-04-05 14:36     ` Eraldo Helal
  2009-04-05 15:44       ` Bernt Hansen
@ 2009-04-05 16:18       ` Carsten Dominik
  1 sibling, 0 replies; 7+ messages in thread
From: Carsten Dominik @ 2009-04-05 16:18 UTC (permalink / raw)
  To: Eraldo Helal; +Cc: Org-Mode


On Apr 5, 2009, at 4:36 PM, Eraldo Helal wrote:

> I am not sure if you understood what I meant...
>
> to calrify:
> when refiling headline1 to another file (C-c C-w) this headline does  
> not have the tag :tag1: in the new file.
> did your test refile it with the inherited tag?

I see now what you mean, and no, I do not think that an entry
should carry inherited tags with it when being refiled.
The main use of inheritance is that an entry get tagged
by the environment it is in.  When you remove it
from that environment, this should also remove the
environment tagging.

Or the other way round, refiling is often a way to put an entry
*into* an environment where it can inherit other tags.

- Carsten

>
> On Sun, Apr 5, 2009 at 16:31, Eraldo Helal <office@eraldo.at> wrote:
>
>
> On Sun, Apr 5, 2009 at 08:44, Carsten Dominik <carsten.dominik@gmail.com 
> > wrote:
>
> On Apr 5, 2009, at 12:00 AM, Eraldo Helal wrote:
>
> Today I refiled a headline that was part of a tree using inherited  
> tags:
>
> * topic1                               :tag1:
> ** headline1
> ** headline2
> * topic2
>
> If I refile headline1 to another file... the tag "tag1" is not on it  
> anymore...
>
> I am not sure if the best way to handle such cases is to add the tag  
> by hand and then refile it
> ... or if it could also be an option to apply all inherited tags to  
> it while refiling.
>
> I cannot reproduce this.  What org version are you using?
> org-mode version 6.25b
>
> - 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: Re: refile headline with inherited tags
  2009-04-05 15:44       ` Bernt Hansen
@ 2009-04-05 16:19         ` Matthew Lundin
  0 siblings, 0 replies; 7+ messages in thread
From: Matthew Lundin @ 2009-04-05 16:19 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Eraldo Helal, Org-Mode

Bernt Hansen <bernt@norang.ca> writes:

> I would definitely _not_ want this behaviour by default.  I'm okay with
> it being an option if it's useful.  My tasks inherit tags from
> #+FILETAGS: and I don't want those moving between files.

Agreed. I would not want this to be default behavior (not that anyone is
suggesting that it will be) because I rely heavily on filetags. 

It seems to me that the whole reason for inherited tags is to allow
context to determine the tags. Therefore, when I move an item to a
different context, it's usually because I *want* it to have a different
set of inherited tags. 

Best,
Matt

> Eraldo Helal <office@eraldo.at> writes:
>
>> I am not sure if you understood what I meant...
>>
>> to calrify:
>> when refiling headline1 to another file (C-c C-w) this headline does not have the tag :tag1: in the new file.
>> did your test refile it with the inherited tag?
>>
>> On Sun, Apr 5, 2009 at 16:31, Eraldo Helal <office@eraldo.at> wrote:
>>
>>     On Sun, Apr 5, 2009 at 08:44, Carsten Dominik <carsten.dominik@gmail.com> wrote:
>>
>>         On Apr 5, 2009, at 12:00 AM, Eraldo Helal wrote:
>>
>>             Today I refiled a headline that was part of a tree using inherited tags:
>>            
>>             * topic1                               :tag1:
>>             ** headline1
>>             ** headline2
>>             * topic2
>>            
>>             If I refile headline1 to another file... the tag "tag1" is not on it anymore...
>>            
>>             I am not sure if the best way to handle such cases is to add the tag by hand and then refile it
>>             ... or if it could also be an option to apply all inherited tags to it while refiling.
>>
>>         I cannot reproduce this.  What org version are you using?
>>    
>>     org-mode version 6.25b
>>
>>         - Carsten

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

end of thread, other threads:[~2009-04-05 16:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-04 22:00 refile headline with inherited tags Eraldo Helal
2009-04-05  6:44 ` Carsten Dominik
2009-04-05 14:31   ` Eraldo Helal
2009-04-05 14:36     ` Eraldo Helal
2009-04-05 15:44       ` Bernt Hansen
2009-04-05 16:19         ` Matthew Lundin
2009-04-05 16:18       ` Carsten Dominik

Code repositories for project(s) associated with this 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).