emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Refile error - Kill is not a (set of) trees
@ 2009-06-24  5:44 Michael Gilbert
  2009-06-25  4:45 ` Carsten Dominik
  0 siblings, 1 reply; 22+ messages in thread
From: Michael Gilbert @ 2009-06-24  5:44 UTC (permalink / raw)
  To: emacs-orgmode

Hi all --

I am a noob - drawn to the alien world of Emacs (from my familiar Mac  
environment) by OrgMode. I am uncertain enough that I don't rightly  
know if this is best described as an OrgMode error or an Emacs error.  
Most likely a human error, I guess.

I am using last night's Aquamacs build: GNU Emacs 23.0.94.1 (i386- 
apple-darwin9.7.0, NS apple-appkit-949.46)
  of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
2.0dev. Org-mode 6.21b.

In OrgMode, I am trying to learn to refile tasks. I use C-c C-w on a  
TODO item in a notes file. It goes through the process of allowing me  
to select the destination for the item. But then it throws an error -  
"Kill is not a (set of) trees" etc - every time. Doesn't kill the TODO  
and obviously doesn't yank it to the new location.

Any advice?

-- Michael

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

* Re: Refile error - Kill is not a (set of) trees
  2009-06-24  5:44 Refile error - Kill is not a (set of) trees Michael Gilbert
@ 2009-06-25  4:45 ` Carsten Dominik
  2009-06-25 17:42   ` Michael Gilbert
  0 siblings, 1 reply; 22+ messages in thread
From: Carsten Dominik @ 2009-06-25  4:45 UTC (permalink / raw)
  To: Michael Gilbert; +Cc: emacs-orgmode


On Jun 24, 2009, at 7:44 AM, Michael Gilbert wrote:

> Hi all --
>
> I am a noob - drawn to the alien world of Emacs (from my familiar  
> Mac environment) by OrgMode. I am uncertain enough that I don't  
> rightly know if this is best described as an OrgMode error or an  
> Emacs error. Most likely a human error, I guess.
>
> I am using last night's Aquamacs build: GNU Emacs 23.0.94.1 (i386- 
> apple-darwin9.7.0, NS apple-appkit-949.46)
> of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
> 2.0dev. Org-mode 6.21b.
>
> In OrgMode, I am trying to learn to refile tasks. I use C-c C-w on a  
> TODO item in a notes file. It goes through the process of allowing  
> me to select the destination for the item. But then it throws an  
> error - "Kill is not a (set of) trees" etc - every time. Doesn't  
> kill the TODO and obviously doesn't yank it to the new location.


Are you selecting a region before calling the command? That region  
might be not a valid tree.

- Carsten

>
> Any advice?
>
> -- Michael
>
>
>
>
>
> _______________________________________________
> 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] 22+ messages in thread

* Re: Refile error - Kill is not a (set of) trees
  2009-06-25  4:45 ` Carsten Dominik
@ 2009-06-25 17:42   ` Michael Gilbert
  2009-06-26  8:14     ` Carsten Dominik
  0 siblings, 1 reply; 22+ messages in thread
From: Michael Gilbert @ 2009-06-25 17:42 UTC (permalink / raw)
  To: emacs-orgmode

>> I am a noob - drawn to the alien world of Emacs (from my familiar  
>> Mac environment) by OrgMode. I am uncertain enough that I don't  
>> rightly know if this is best described as an OrgMode error or an  
>> Emacs error. Most likely a human error, I guess.
>>
>> I am using last night's Aquamacs build: GNU Emacs 23.0.94.1 (i386- 
>> apple-darwin9.7.0, NS apple-appkit-949.46)
>> of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
>> 2.0dev. Org-mode 6.21b.
>>
>> In OrgMode, I am trying to learn to refile tasks. I use C-c C-w on  
>> a TODO item in a notes file. It goes through the process of  
>> allowing me to select the destination for the item. But then it  
>> throws an error - "Kill is not a (set of) trees" etc - every time.  
>> Doesn't kill the TODO and obviously doesn't yank it to the new  
>> location.
>
> Are you selecting a region before calling the command? That region  
> might be not a valid tree.

I have done this with the point (that's the emacs word for cursor,  
right?) in a TODO item. I have done it with the entire item selected  
as a region.

I am happy to backtrace this or test in whatever way is needed. I knew  
I was getting into something complex here.

-- Michael


Michael C. Gilbert -- mcg@gilbert.org

    The Gilbert Center -- http://gilbert.org
    Nonprofit Online News -- http://nonprofitnews.org

        "There can be no joy of life without joy of work." -- Aquinas

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

* Re: Refile error - Kill is not a (set of) trees
  2009-06-25 17:42   ` Michael Gilbert
@ 2009-06-26  8:14     ` Carsten Dominik
  2009-08-03 18:33       ` Michael Gilbert
  0 siblings, 1 reply; 22+ messages in thread
From: Carsten Dominik @ 2009-06-26  8:14 UTC (permalink / raw)
  To: Michael Gilbert; +Cc: emacs-orgmode

I am unable to reproduce this problem.

- Carsten

On Jun 25, 2009, at 7:42 PM, Michael Gilbert wrote:

>>> I am a noob - drawn to the alien world of Emacs (from my familiar  
>>> Mac environment) by OrgMode. I am uncertain enough that I don't  
>>> rightly know if this is best described as an OrgMode error or an  
>>> Emacs error. Most likely a human error, I guess.
>>>
>>> I am using last night's Aquamacs build: GNU Emacs 23.0.94.1 (i386- 
>>> apple-darwin9.7.0, NS apple-appkit-949.46)
>>> of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
>>> 2.0dev. Org-mode 6.21b.
>>>
>>> In OrgMode, I am trying to learn to refile tasks. I use C-c C-w on  
>>> a TODO item in a notes file. It goes through the process of  
>>> allowing me to select the destination for the item. But then it  
>>> throws an error - "Kill is not a (set of) trees" etc - every time.  
>>> Doesn't kill the TODO and obviously doesn't yank it to the new  
>>> location.
>>
>> Are you selecting a region before calling the command? That region  
>> might be not a valid tree.
>
> I have done this with the point (that's the emacs word for cursor,  
> right?) in a TODO item. I have done it with the entire item selected  
> as a region.
>
> I am happy to backtrace this or test in whatever way is needed. I  
> knew I was getting into something complex here.
>
> -- Michael
>
>
> Michael C. Gilbert -- mcg@gilbert.org
>
>   The Gilbert Center -- http://gilbert.org
>   Nonprofit Online News -- http://nonprofitnews.org
>
>       "There can be no joy of life without joy of work." -- Aquinas
>
>
> _______________________________________________
> 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] 22+ messages in thread

* Re: Refile error - Kill is not a (set of) trees
  2009-06-26  8:14     ` Carsten Dominik
@ 2009-08-03 18:33       ` Michael Gilbert
  2009-08-04 15:17         ` Carsten Dominik
                           ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Michael Gilbert @ 2009-08-03 18:33 UTC (permalink / raw)
  To: emacs-orgmode

Hi --

I have more information on this error. I think I've traced it down to  
whether the command is actually killing the current element in the  
first place.

I had a clipboard management function working in Quicksilver and got  
rid of that in order to test this better. I got an error on refiling,  
but it was a different error this time. One about the element being  
empty, IIRC.

Am I misunderstanding refile? Do I have to do more than have the  
cursor on the line to be moved?

And is there a way I can further backtrace this so that it might be  
useful for troubleshooting by others? Or screencast the error so you  
can see I am not making this up? I am  enamored of orgmode now, but  
I'm on the verge of abandoning it because I have a notes file from  
which I cannot conveniently refile tasks and it's becoming unmanageable.

-- Michael




On Jun 26,2009, at 1:14 AM, Carsten Dominik wrote:

> I am unable to reproduce this problem.
>
> - Carsten
>
> On Jun 25, 2009, at 7:42 PM, Michael Gilbert wrote:
>
>>>> I am a noob - drawn to the alien world of Emacs (from my familiar  
>>>> Mac environment) by OrgMode. I am uncertain enough that I don't  
>>>> rightly know if this is best described as an OrgMode error or an  
>>>> Emacs error. Most likely a human error, I guess.
>>>>
>>>> I am using last night's Aquamacs build: GNU Emacs 23.0.94.1 (i386- 
>>>> apple-darwin9.7.0, NS apple-appkit-949.46)
>>>> of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
>>>> 2.0dev. Org-mode 6.21b.
>>>>
>>>> In OrgMode, I am trying to learn to refile tasks. I use C-c C-w  
>>>> on a TODO item in a notes file. It goes through the process of  
>>>> allowing me to select the destination for the item. But then it  
>>>> throws an error - "Kill is not a (set of) trees" etc - every  
>>>> time. Doesn't kill the TODO and obviously doesn't yank it to the  
>>>> new location.
>>>
>>> Are you selecting a region before calling the command? That region  
>>> might be not a valid tree.
>>
>> I have done this with the point (that's the emacs word for cursor,  
>> right?) in a TODO item. I have done it with the entire item  
>> selected as a region.
>>
>> I am happy to backtrace this or test in whatever way is needed. I  
>> knew I was getting into something complex here.

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

* Re: Refile error - Kill is not a (set of) trees
  2009-08-03 18:33       ` Michael Gilbert
@ 2009-08-04 15:17         ` Carsten Dominik
  2009-08-05  5:39           ` Chris Mann
  2009-08-04 15:18         ` Refile error - Kill is not a (set of) trees Carsten Dominik
  2009-08-05 10:12         ` Carsten Dominik
  2 siblings, 1 reply; 22+ messages in thread
From: Carsten Dominik @ 2009-08-04 15:17 UTC (permalink / raw)
  To: Michael Gilbert; +Cc: emacs-orgmode

Hi Michael,

could you please do the following:

- Run Emacs with a minimal configuration
- Make me a test file that will let me reproduce the bug if possible.

Thanks.

- Carsten

On Aug 3, 2009, at 8:33 PM, Michael Gilbert wrote:

> Hi --
>
> I have more information on this error. I think I've traced it down  
> to whether the command is actually killing the current element in  
> the first place.
>
> I had a clipboard management function working in Quicksilver and got  
> rid of that in order to test this better. I got an error on  
> refiling, but it was a different error this time. One about the  
> element being empty, IIRC.
>
> Am I misunderstanding refile? Do I have to do more than have the  
> cursor on the line to be moved?
>
> And is there a way I can further backtrace this so that it might be  
> useful for troubleshooting by others? Or screencast the error so you  
> can see I am not making this up? I am  enamored of orgmode now, but  
> I'm on the verge of abandoning it because I have a notes file from  
> which I cannot conveniently refile tasks and it's becoming  
> unmanageable.
>
> -- Michael
>
>
>
>
> On Jun 26,2009, at 1:14 AM, Carsten Dominik wrote:
>
>> I am unable to reproduce this problem.
>>
>> - Carsten
>>
>> On Jun 25, 2009, at 7:42 PM, Michael Gilbert wrote:
>>
>>>>> I am a noob - drawn to the alien world of Emacs (from my  
>>>>> familiar Mac environment) by OrgMode. I am uncertain enough that  
>>>>> I don't rightly know if this is best described as an OrgMode  
>>>>> error or an Emacs error. Most likely a human error, I guess.
>>>>>
>>>>> I am using last night's Aquamacs build: GNU Emacs 23.0.94.1  
>>>>> (i386-apple-darwin9.7.0, NS apple-appkit-949.46)
>>>>> of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
>>>>> 2.0dev. Org-mode 6.21b.
>>>>>
>>>>> In OrgMode, I am trying to learn to refile tasks. I use C-c C-w  
>>>>> on a TODO item in a notes file. It goes through the process of  
>>>>> allowing me to select the destination for the item. But then it  
>>>>> throws an error - "Kill is not a (set of) trees" etc - every  
>>>>> time. Doesn't kill the TODO and obviously doesn't yank it to the  
>>>>> new location.
>>>>
>>>> Are you selecting a region before calling the command? That  
>>>> region might be not a valid tree.
>>>
>>> I have done this with the point (that's the emacs word for cursor,  
>>> right?) in a TODO item. I have done it with the entire item  
>>> selected as a region.
>>>
>>> I am happy to backtrace this or test in whatever way is needed. I  
>>> knew I was getting into something complex here.
>
>
> _______________________________________________
> 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] 22+ messages in thread

* Re: Refile error - Kill is not a (set of) trees
  2009-08-03 18:33       ` Michael Gilbert
  2009-08-04 15:17         ` Carsten Dominik
@ 2009-08-04 15:18         ` Carsten Dominik
  2009-08-05 10:12         ` Carsten Dominik
  2 siblings, 0 replies; 22+ messages in thread
From: Carsten Dominik @ 2009-08-04 15:18 UTC (permalink / raw)
  To: Michael Gilbert; +Cc: emacs-orgmode


On Aug 3, 2009, at 8:33 PM, Michael Gilbert wrote:

> Hi --
>
> I have more information on this error. I think I've traced it down  
> to whether the command is actually killing the current element in  
> the first place.
>
> I had a clipboard management function working in Quicksilver and got  
> rid of that in order to test this better. I got an error on  
> refiling, but it was a different error this time. One about the  
> element being empty, IIRC.
>
> Am I misunderstanding refile? Do I have to do more than have the  
> cursor on the line to be moved?

No, this is exactly everything you need to do.

- Carsten

>
> And is there a way I can further backtrace this so that it might be  
> useful for troubleshooting by others? Or screencast the error so you  
> can see I am not making this up? I am  enamored of orgmode now, but  
> I'm on the verge of abandoning it because I have a notes file from  
> which I cannot conveniently refile tasks and it's becoming  
> unmanageable.
>
> -- Michael
>
>
>
>
> On Jun 26,2009, at 1:14 AM, Carsten Dominik wrote:
>
>> I am unable to reproduce this problem.
>>
>> - Carsten
>>
>> On Jun 25, 2009, at 7:42 PM, Michael Gilbert wrote:
>>
>>>>> I am a noob - drawn to the alien world of Emacs (from my  
>>>>> familiar Mac environment) by OrgMode. I am uncertain enough that  
>>>>> I don't rightly know if this is best described as an OrgMode  
>>>>> error or an Emacs error. Most likely a human error, I guess.
>>>>>
>>>>> I am using last night's Aquamacs build: GNU Emacs 23.0.94.1  
>>>>> (i386-apple-darwin9.7.0, NS apple-appkit-949.46)
>>>>> of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
>>>>> 2.0dev. Org-mode 6.21b.
>>>>>
>>>>> In OrgMode, I am trying to learn to refile tasks. I use C-c C-w  
>>>>> on a TODO item in a notes file. It goes through the process of  
>>>>> allowing me to select the destination for the item. But then it  
>>>>> throws an error - "Kill is not a (set of) trees" etc - every  
>>>>> time. Doesn't kill the TODO and obviously doesn't yank it to the  
>>>>> new location.
>>>>
>>>> Are you selecting a region before calling the command? That  
>>>> region might be not a valid tree.
>>>
>>> I have done this with the point (that's the emacs word for cursor,  
>>> right?) in a TODO item. I have done it with the entire item  
>>> selected as a region.
>>>
>>> I am happy to backtrace this or test in whatever way is needed. I  
>>> knew I was getting into something complex here.
>
>
> _______________________________________________
> 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] 22+ messages in thread

* Re: Refile error - Kill is not a (set of) trees
  2009-08-04 15:17         ` Carsten Dominik
@ 2009-08-05  5:39           ` Chris Mann
  2009-08-05  9:27             ` Carsten Dominik
                               ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Chris Mann @ 2009-08-05  5:39 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <carsten.dominik@gmail.com> writes:

> could you please do the following:
>
> - Run Emacs with a minimal configuration
> - Make me a test file that will let me reproduce the bug if possible.


Hello Carsten,

I've also been experiencing this behaviour lately.  I have been able to
reproduce this consistently with the following:

1) Create a file `reproduce.org', with the following contents:

   * Level1-1
   ** Level2-1
   *** TODO Level3-1
       SCHEDULED: <2009-08-05 Wed>
   ** Level2-2

2) run `emacs -Q' and evalute something resembling the following:

   (progn
     (add-to-list 'load-path "path/to/org-mode/lisp") 
     (require 'org-agenda)
     (setq org-agenda-files '("reproduce.org") 
           org-refile-targets '((("reproduce.org") . (:maxlevel . 2)))))

3) 'M-x org-agenda-list'

4) Move point to the `Level3-1' item in the agenda, 'C-c C-w' and
   attempt to refile it to, for example, Level2-1.

5) Error: org-paste-subtree: The kill is not a (set of) tree(s) [...]


As far as I can tell, the error occurs only when the heading's source
buffer is folded at the `Level1-1' heading; I could not reproduce the
error while the outermost heading was unfolded, regardless of the level
of the refile source / target.

I've investigated this error briefly: I believe `org-back-to-heading'
moves backward (passed the correct heading), to the outer-most heading,
causing `org-end-of-subtree' to then search for the start of heading of
the wrong level (too shallow).

Resultingly, the killed region may extend passed the end of the target
subtree.  In the above example, I believe the killed text would include
both the level 3 heading and the subsequent level 2 heading.

My suspicion is that this is stemming from a problem within outline-mode.

org-mode 6.29a
GNU Emacs 23.1.50.1

 -- Chris

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

* Re: Re: Refile error - Kill is not a (set of) trees
  2009-08-05  5:39           ` Chris Mann
@ 2009-08-05  9:27             ` Carsten Dominik
  2009-08-05 10:33             ` Carsten Dominik
  2009-08-15  6:39             ` Michael Gilbert
  2 siblings, 0 replies; 22+ messages in thread
From: Carsten Dominik @ 2009-08-05  9:27 UTC (permalink / raw)
  To: Chris Mann; +Cc: emacs-orgmode

Hi Chris,

On Aug 5, 2009, at 7:39 AM, Chris Mann wrote:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> could you please do the following:
>>
>> - Run Emacs with a minimal configuration
>> - Make me a test file that will let me reproduce the bug if possible.
>
>
> Hello Carsten,
>
> I've also been experiencing this behaviour lately.  I have been able  
> to
> reproduce this consistently with the following:
>
> 1) Create a file `reproduce.org', with the following contents:
>
>   * Level1-1
>   ** Level2-1
>   *** TODO Level3-1
>       SCHEDULED: <2009-08-05 Wed>
>   ** Level2-2
>
> 2) run `emacs -Q' and evalute something resembling the following:
>
>   (progn
>     (add-to-list 'load-path "path/to/org-mode/lisp")
>     (require 'org-agenda)
>     (setq org-agenda-files '("reproduce.org")
>           org-refile-targets '((("reproduce.org") . (:maxlevel .  
> 2)))))
>
> 3) 'M-x org-agenda-list'
>
> 4) Move point to the `Level3-1' item in the agenda, 'C-c C-w' and
>   attempt to refile it to, for example, Level2-1.
>
> 5) Error: org-paste-subtree: The kill is not a (set of) tree(s) [...]
>
>
> As far as I can tell, the error occurs only when the heading's source
> buffer is folded at the `Level1-1' heading; I could not reproduce the
> error while the outermost heading was unfolded, regardless of the  
> level
> of the refile source / target.
>
> I've investigated this error briefly: I believe `org-back-to-heading'
> moves backward (passed the correct heading), to the outer-most  
> heading,
> causing `org-end-of-subtree' to then search for the start of heading  
> of
> the wrong level (too shallow).

Can you identify which org-back-to-heading is doing this?  Inside  
which function, what line?

Thanks.

- Carsten

>
> Resultingly, the killed region may extend passed the end of the target
> subtree.  In the above example, I believe the killed text would  
> include
> both the level 3 heading and the subsequent level 2 heading.
>
> My suspicion is that this is stemming from a problem within outline- 
> mode.
>
> org-mode 6.29a
> GNU Emacs 23.1.50.1
>
> -- Chris
>
>
>
> _______________________________________________
> 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] 22+ messages in thread

* Re: Refile error - Kill is not a (set of) trees
  2009-08-03 18:33       ` Michael Gilbert
  2009-08-04 15:17         ` Carsten Dominik
  2009-08-04 15:18         ` Refile error - Kill is not a (set of) trees Carsten Dominik
@ 2009-08-05 10:12         ` Carsten Dominik
  2 siblings, 0 replies; 22+ messages in thread
From: Carsten Dominik @ 2009-08-05 10:12 UTC (permalink / raw)
  To: Michael Gilbert; +Cc: emacs-orgmode

Ouch,

I *did* find a big bug there, so I hope this problem will disappear now,
one you have upgraded to the latest git version...

- Carsten

On Aug 3, 2009, at 8:33 PM, Michael Gilbert wrote:

> Hi --
>
> I have more information on this error. I think I've traced it down  
> to whether the command is actually killing the current element in  
> the first place.
>
> I had a clipboard management function working in Quicksilver and got  
> rid of that in order to test this better. I got an error on  
> refiling, but it was a different error this time. One about the  
> element being empty, IIRC.
>
> Am I misunderstanding refile? Do I have to do more than have the  
> cursor on the line to be moved?
>
> And is there a way I can further backtrace this so that it might be  
> useful for troubleshooting by others? Or screencast the error so you  
> can see I am not making this up? I am  enamored of orgmode now, but  
> I'm on the verge of abandoning it because I have a notes file from  
> which I cannot conveniently refile tasks and it's becoming  
> unmanageable.
>
> -- Michael
>
>
>
>
> On Jun 26,2009, at 1:14 AM, Carsten Dominik wrote:
>
>> I am unable to reproduce this problem.
>>
>> - Carsten
>>
>> On Jun 25, 2009, at 7:42 PM, Michael Gilbert wrote:
>>
>>>>> I am a noob - drawn to the alien world of Emacs (from my  
>>>>> familiar Mac environment) by OrgMode. I am uncertain enough that  
>>>>> I don't rightly know if this is best described as an OrgMode  
>>>>> error or an Emacs error. Most likely a human error, I guess.
>>>>>
>>>>> I am using last night's Aquamacs build: GNU Emacs 23.0.94.1  
>>>>> (i386-apple-darwin9.7.0, NS apple-appkit-949.46)
>>>>> of 2009-06-23 on BRAEBURN.PSY.CMU.EDU - Aquamacs Distribution  
>>>>> 2.0dev. Org-mode 6.21b.
>>>>>
>>>>> In OrgMode, I am trying to learn to refile tasks. I use C-c C-w  
>>>>> on a TODO item in a notes file. It goes through the process of  
>>>>> allowing me to select the destination for the item. But then it  
>>>>> throws an error - "Kill is not a (set of) trees" etc - every  
>>>>> time. Doesn't kill the TODO and obviously doesn't yank it to the  
>>>>> new location.
>>>>
>>>> Are you selecting a region before calling the command? That  
>>>> region might be not a valid tree.
>>>
>>> I have done this with the point (that's the emacs word for cursor,  
>>> right?) in a TODO item. I have done it with the entire item  
>>> selected as a region.
>>>
>>> I am happy to backtrace this or test in whatever way is needed. I  
>>> knew I was getting into something complex here.
>
>
> _______________________________________________
> 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] 22+ messages in thread

* Re: Re: Refile error - Kill is not a (set of) trees
  2009-08-05  5:39           ` Chris Mann
  2009-08-05  9:27             ` Carsten Dominik
@ 2009-08-05 10:33             ` Carsten Dominik
  2009-08-15  6:39             ` Michael Gilbert
  2 siblings, 0 replies; 22+ messages in thread
From: Carsten Dominik @ 2009-08-05 10:33 UTC (permalink / raw)
  To: Chris Mann; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On Aug 5, 2009, at 7:39 AM, Chris Mann wrote:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> could you please do the following:
>>
>> - Run Emacs with a minimal configuration
>> - Make me a test file that will let me reproduce the bug if possible.
>
>
> Hello Carsten,
>
> I've also been experiencing this behaviour lately.  I have been able  
> to
> reproduce this consistently with the following:
>
> 1) Create a file `reproduce.org', with the following contents:
>
>   * Level1-1
>   ** Level2-1
>   *** TODO Level3-1
>       SCHEDULED: <2009-08-05 Wed>
>   ** Level2-2
>
> 2) run `emacs -Q' and evalute something resembling the following:
>
>   (progn
>     (add-to-list 'load-path "path/to/org-mode/lisp")
>     (require 'org-agenda)
>     (setq org-agenda-files '("reproduce.org")
>           org-refile-targets '((("reproduce.org") . (:maxlevel .  
> 2)))))
>
> 3) 'M-x org-agenda-list'
>
> 4) Move point to the `Level3-1' item in the agenda, 'C-c C-w' and
>   attempt to refile it to, for example, Level2-1.
>
> 5) Error: org-paste-subtree: The kill is not a (set of) tree(s) [...]
>
>
> As far as I can tell, the error occurs only when the heading's source
> buffer is folded at the `Level1-1' heading; I could not reproduce the
> error while the outermost heading was unfolded, regardless of the  
> level
> of the refile source / target.
>
> I've investigated this error briefly: I believe `org-back-to-heading'
> moves backward (passed the correct heading), to the outer-most  
> heading,
> causing `org-end-of-subtree' to then search for the start of heading  
> of
> the wrong level (too shallow).
>
> Resultingly, the killed region may extend passed the end of the target
> subtree.  In the above example, I believe the killed text would  
> include
> both the level 3 heading and the subsequent level 2 heading.
>
> My suspicion is that this is stemming from a problem within outline- 
> mode.
>
> org-mode 6.29a
> GNU Emacs 23.1.50.1
>
> -- Chris
>
>
>
> _______________________________________________
> 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] 22+ messages in thread

* Re: Re: Refile error - Kill is not a (set of) trees
  2009-08-05  5:39           ` Chris Mann
  2009-08-05  9:27             ` Carsten Dominik
  2009-08-05 10:33             ` Carsten Dominik
@ 2009-08-15  6:39             ` Michael Gilbert
  2009-08-15  7:04               ` Carsten Dominik
  2 siblings, 1 reply; 22+ messages in thread
From: Michael Gilbert @ 2009-08-15  6:39 UTC (permalink / raw)
  To: emacs-orgmode

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> could you please do the following:
>>
>> - Run Emacs with a minimal configuration
>> - Make me a test file that will let me reproduce the bug if possible.

I followed Chris Mann's example and did the following:

1) Create a file `reproduce.org', with the following contents:

  Level1-1
** Level2-1
*** TODO Level3-1
     SCHEDULED: <2009-08-05 Wed>
** Level2-2
* Level1-2

2) Ran emacs clean, with no preferences file.

3) Executed this, to make sure I was using the latest orgmode:

(setq load-path (cons "~/Applications/Text/Aquamacs/contrib/org/lisp"  
load-path))

Checked to make sure. Yes, it's 6.29trans

4) Moved the points to Level3-1. C-c C-w. Attempt to refile to Level1-2.

5) "The kill is not a (set of) trees" etc.


Running:

Aquamacs, Emacs 23.1.1
Org-Mode 6.29trans


I am at the end of this. My pile of things to refile is now so huge  
that my agenda is incomprehensible. I really do not know what to do  
here. The error is real. I hope that this reproduction is in some way  
useful. Is there something else I can do? Backtrace? Examine the kill- 
ring?

-- Michael

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

* Re: Re: Refile error - Kill is not a (set of) trees
  2009-08-15  6:39             ` Michael Gilbert
@ 2009-08-15  7:04               ` Carsten Dominik
  2009-08-15  7:45                 ` Michael Gilbert
  0 siblings, 1 reply; 22+ messages in thread
From: Carsten Dominik @ 2009-08-15  7:04 UTC (permalink / raw)
  To: Michael Gilbert; +Cc: emacs-orgmode

Hi Michael,

On Aug 15, 2009, at 8:39 AM, Michael Gilbert wrote:

>> Carsten Dominik <carsten.dominik@gmail.com> writes:
>>
>>> could you please do the following:
>>>
>>> - Run Emacs with a minimal configuration
>>> - Make me a test file that will let me reproduce the bug if  
>>> possible.
>
> I followed Chris Mann's example and did the following:
>
> 1) Create a file `reproduce.org', with the following contents:
>
> Level1-1

Is there a star missing here before Level1-1?

> ** Level2-1
> *** TODO Level3-1
>    SCHEDULED: <2009-08-05 Wed>
> ** Level2-2
> * Level1-2
>
> 2) Ran emacs clean, with no preferences file.
>
> 3) Executed this, to make sure I was using the latest orgmode:

> (setq load-path (cons "~/Applications/Text/Aquamacs/contrib/org/ 
> lisp" load-path))
>
> Checked to make sure. Yes, it's 6.29trans



>
> 4) Moved the points to Level3-1. C-c C-w. Attempt to refile to  
> Level1-2.

So you are refiling en entry to the same position where is was before?
OK, this it not forbidden.

>
> 5) "The kill is not a (set of) trees" etc.

For me it works just fine.  I just tried in AquaEmacs.

>
>
> Running:
>
> Aquamacs, Emacs 23.1.1
> Org-Mode 6.29trans
>
>
> I am at the end of this. My pile of things to refile is now so huge  
> that my agenda is incomprehensible. I really do not know what to do  
> here. The error is real. I hope that this reproduction is in some  
> way useful. Is there something else I can do? Backtrace? Examine the  
> kill-ring?

Yes, backtrace, and the content of the kill ring would be interesting.
Backtrace with uncompiled code if possible, press C-u C-c C-x ! before  
trying to create the bug.

- Carsten

>
> -- Michael
>
>
>
>
>
> _______________________________________________
> 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] 22+ messages in thread

* Re: Re: Refile error - Kill is not a (set of) trees
  2009-08-15  7:04               ` Carsten Dominik
@ 2009-08-15  7:45                 ` Michael Gilbert
  2009-08-15 10:57                   ` Carsten Dominik
  0 siblings, 1 reply; 22+ messages in thread
From: Michael Gilbert @ 2009-08-15  7:45 UTC (permalink / raw)
  To: emacs-orgmode


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


On Aug 15,2009, at 12:04 AM, Carsten Dominik wrote:

> Hi Michael,
>
> On Aug 15, 2009, at 8:39 AM, Michael Gilbert wrote:
>
>>> Carsten Dominik <carsten.dominik@gmail.com> writes:
>>>
>>>> could you please do the following:
>>>>
>>>> - Run Emacs with a minimal configuration
>>>> - Make me a test file that will let me reproduce the bug if  
>>>> possible.
>>
>> I followed Chris Mann's example and did the following:
>>
>> 1) Create a file `reproduce.org', with the following contents:
>>
>> Level1-1
>
> Is there a star missing here before Level1-1?

Yes, just a copy error here in my email. The original file has the star.


>> ** Level2-1
>> *** TODO Level3-1
>>   SCHEDULED: <2009-08-05 Wed>
>> ** Level2-2
>> * Level1-2
>>
>> 2) Ran emacs clean, with no preferences file.
>>
>> 3) Executed this, to make sure I was using the latest orgmode:
>
>> (setq load-path (cons "~/Applications/Text/Aquamacs/contrib/org/ 
>> lisp" load-path))
>>
>> Checked to make sure. Yes, it's 6.29trans
>
>
>
>>
>> 4) Moved the points to Level3-1. C-c C-w. Attempt to refile to  
>> Level1-2.
>
> So you are refiling en entry to the same position where is was before?
> OK, this it not forbidden.

No. I think that is meant to move it DOWN to the bottom entry.


>>
>> 5) "The kill is not a (set of) trees" etc.
>
> For me it works just fine.  I just tried in AquaEmacs.

Huh. This is so strange. Wish we could reproduce this OYM.


>> Running:
>>
>> Aquamacs, Emacs 23.1.1
>> Org-Mode 6.29trans
>>
>>
>> I am at the end of this. My pile of things to refile is now so huge  
>> that my agenda is incomprehensible. I really do not know what to do  
>> here. The error is real. I hope that this reproduction is in some  
>> way useful. Is there something else I can do? Backtrace? Examine  
>> the kill-ring?
>
> Yes, backtrace, and the content of the kill ring would be interesting.
> Backtrace with uncompiled code if possible, press C-u C-c C-x !  
> before trying to create the bug.

Here's the backtrace:

Debugger entered--Lisp error: (error "The kill is not a (set of)  
tree(s) - please use <S-insertchar> to yank anyway")
   signal(error ("The kill is not a (set of) tree(s) - please use <S- 
insertchar> to yank anyway"))
   ad-Orig-error("%s" "The kill is not a (set of) tree(s) - please use  
<S-insertchar> to yank anyway")
   apply(ad-Orig-error ("%s" "The kill is not a (set of) tree(s) -  
please use <S-insertchar> to yank anyway"))
   (setq ad-return-value (apply (quote ad-Orig-error) args))
   (if aquamacs-ring-bell-on-error-flag (progn (aquamacs-bell) (setq  
ad-return-value ...)) (setq ad-return-value (apply ... args)))
   (let (ad-return-value) (if aquamacs-ring-bell-on-error-flag  
(progn ... ...) (setq ad-return-value ...)) ad-return-value)
   error("%s" "The kill is not a (set of) tree(s) - please use <S- 
insertchar> to yank anyway")
   (if (org-kill-is-subtree-p tree) nil (error "%s" (substitute- 
command-keys "The kill is not a (set of) tree(s) - please use \\[yank]  
to yank anyway")))
   (unless (org-kill-is-subtree-p tree) (error "%s" (substitute- 
command-keys "The kill is not a (set of) tree(s) - please use \\[yank]  
to yank anyway")))
   org-paste-subtree(2)
   (save-restriction (widen) (if pos (progn ... ... ... ...) (setq  
level 1) (if ... ... ... ...)) (if (not ...) (newline)) (bookmark-set  
"org-refile-last-stored") (org-paste-subtree level) (if (fboundp ...)  
(deactivate-mark)) (run-hooks (quote org-after-refile-insert-hook)))
   (save-excursion (save-restriction (widen) (if pos ... ... ...)  
(if ... ...) (bookmark-set "org-refile-last-stored") (org-paste- 
subtree level) (if ... ...) (run-hooks ...)))
   (save-excursion (set-buffer (setq nbuf ...)) (setq reversed (org- 
notes-order-reversed-p)) (save-excursion (save- 
restriction ... ... ... ... ... ... ...)))
   (if goto (progn (switch-to-buffer nbuf) (goto-char pos) (org-show- 
context ...)) (if regionp (progn ... ...) (org-copy-subtree 1 nil t))  
(save-excursion (set-buffer ...) (setq reversed ...) (save- 
excursion ...)) (if regionp (delete-region ... ...) (org-cut-subtree))  
(when (featurep ...) (org-inlinetask-remove-END-maybe)) (setq org- 
markers-to-move nil) (message "Refiled to \"%s\"" (car it)))
   (progn (setq file (nth 1 it) re (nth 2 it) pos (nth 3 it)) (if  
(and ... pos ... ...) (error "Cannot refile to position inside the  
tree or region")) (setq nbuf (or ... ...)) (if goto  
(progn ... ... ...) (if regionp ... ...) (save-excursion ... ... ...)  
(if regionp ... ...) (when ... ...) (setq org-markers-to-move nil)  
(message "Refiled to \"%s\"" ...)))
   (if (setq it (or rfloc ...)) (progn (setq file ... re ... pos ...)  
(if ... ...) (setq nbuf ...) (if goto ... ... ... ... ... ... ...)))
   (when (setq it (or rfloc ...)) (setq file (nth 1 it) re (nth 2 it)  
pos (nth 3 it)) (if (and ... pos ... ...) (error "Cannot refile to  
position inside the tree or region")) (setq nbuf (or ... ...)) (if  
goto (progn ... ... ...) (if regionp ... ...) (save- 
excursion ... ... ...) (if regionp ... ...) (when ... ...) (setq org- 
markers-to-move nil) (message "Refiled to \"%s\"" ...)))
   (if (equal goto (quote ...)) (org-refile-goto-last-stored) (when  
(setq it ...) (setq file ... re ... pos ...) (if ... ...) (setq  
nbuf ...) (if goto ... ... ... ... ... ... ...)))
   (let* ((cbuf ...) (regionp ...) (region-start ...) (region-end ...)  
(region-length ...) (filename ...) pos it nbuf file re level reversed)  
(when regionp (goto-char region-start) (or ... ...) (setq region- 
start ...) (unless ... ...)) (if (equal goto ...) (org-refile-goto- 
last-stored) (when ... ... ... ... ...)))
   org-refile(nil)
   call-interactively(org-refile nil nil)


-- Michael




[-- Attachment #1.2: Type: text/html, Size: 8461 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] 22+ messages in thread

* Re: Re: Refile error - Kill is not a (set of) trees
  2009-08-15  7:45                 ` Michael Gilbert
@ 2009-08-15 10:57                   ` Carsten Dominik
  2009-08-15 12:13                     ` Stefan Vollmar
  0 siblings, 1 reply; 22+ messages in thread
From: Carsten Dominik @ 2009-08-15 10:57 UTC (permalink / raw)
  To: Michael Gilbert; +Cc: emacs-orgmode


On Aug 15, 2009, at 9:45 AM, Michael Gilbert wrote:

>
> On Aug 15,2009, at 12:04 AM, Carsten Dominik wrote:
>
>> Hi Michael,
>>
>> On Aug 15, 2009, at 8:39 AM, Michael Gilbert wrote:
>>
>>>> Carsten Dominik <carsten.dominik@gmail.com> writes:
>>>>
>>>>> could you please do the following:
>>>>>
>>>>> - Run Emacs with a minimal configuration
>>>>> - Make me a test file that will let me reproduce the bug if  
>>>>> possible.
>>>
>>> I followed Chris Mann's example and did the following:
>>>
>>> 1) Create a file `reproduce.org', with the following contents:
>>>
>>> Level1-1
>>
>> Is there a star missing here before Level1-1?
>
> Yes, just a copy error here in my email. The original file has the  
> star.
>
>
>>> ** Level2-1
>>> *** TODO Level3-1
>>>   SCHEDULED: <2009-08-05 Wed>
>>> ** Level2-2
>>> * Level1-2
>>>
>>> 2) Ran emacs clean, with no preferences file.
>>>
>>> 3) Executed this, to make sure I was using the latest orgmode:
>>
>>> (setq load-path (cons "~/Applications/Text/Aquamacs/contrib/org/ 
>>> lisp" load-path))
>>>
>>> Checked to make sure. Yes, it's 6.29trans
>>

How did you check? In Emacs, when looking at an Org file,
with M-x org-version?


>>
>>
>>>
>>> 4) Moved the points to Level3-1. C-c C-w. Attempt to refile to  
>>> Level1-2.
>>
>> So you are refiling en entry to the same position where is was  
>> before?
>> OK, this it not forbidden.
>
> No. I think that is meant to move it DOWN to the bottom entry.
>
>
>>>
>>> 5) "The kill is not a (set of) trees" etc.
>>
>> For me it works just fine.  I just tried in AquaEmacs.
>
> Huh. This is so strange. Wish we could reproduce this OYM.
>
>
>>> Running:
>>>
>>> Aquamacs, Emacs 23.1.1
>>> Org-Mode 6.29trans
>>>
>>>
>>> I am at the end of this. My pile of things to refile is now so  
>>> huge that my agenda is incomprehensible. I really do not know what  
>>> to do here. The error is real. I hope that this reproduction is in  
>>> some way useful. Is there something else I can do? Backtrace?  
>>> Examine the kill-ring?
>>
>> Yes, backtrace, and the content of the kill ring would be  
>> interesting.
>> Backtrace with uncompiled code if possible, press C-u C-c C-x !  
>> before trying to create the bug.
>
> Here's the backtrace:
>
> Debugger entered--Lisp error: (error "The kill is not a (set of)  
> tree(s) - please use <S-insertchar> to yank anyway")
>   signal(error ("The kill is not a (set of) tree(s) - please use <S- 
> insertchar> to yank anyway"))
>   ad-Orig-error("%s" "The kill is not a (set of) tree(s) - please  
> use <S-insertchar> to yank anyway")
>   apply(ad-Orig-error ("%s" "The kill is not a (set of) tree(s) -  
> please use <S-insertchar> to yank anyway"))
>   (setq ad-return-value (apply (quote ad-Orig-error) args))
>   (if aquamacs-ring-bell-on-error-flag (progn (aquamacs-bell) (setq  
> ad-return-value ...)) (setq ad-return-value (apply ... args)))
>   (let (ad-return-value) (if aquamacs-ring-bell-on-error-flag  
> (progn ... ...) (setq ad-return-value ...)) ad-return-value)
>   error("%s" "The kill is not a (set of) tree(s) - please use <S- 
> insertchar> to yank anyway")
>   (if (org-kill-is-subtree-p tree) nil (error "%s" (substitute- 
> command-keys "The kill is not a (set of) tree(s) - please use \\ 
> [yank] to yank anyway")))
>   (unless (org-kill-is-subtree-p tree) (error "%s" (substitute- 
> command-keys "The kill is not a (set of) tree(s) - please use \\ 
> [yank] to yank anyway")))
>   org-paste-subtree(2)
>   (save-restriction (widen) (if pos (progn ... ... ... ...) (setq  
> level 1) (if ... ... ... ...)) (if (not ...) (newline)) (bookmark- 
> set "org-refile-last-stored") (org-paste-subtree level) (if  
> (fboundp ...) (deactivate-mark)) (run-hooks (quote org-after-refile- 
> insert-hook)))
>   (save-excursion (save-restriction (widen) (if pos ... ... ...)  
> (if ... ...) (bookmark-set "org-refile-last-stored") (org-paste- 
> subtree level) (if ... ...) (run-hooks ...)))
>   (save-excursion (set-buffer (setq nbuf ...)) (setq reversed (org- 
> notes-order-reversed-p)) (save-excursion (save- 
> restriction ... ... ... ... ... ... ...)))
>   (if goto (progn (switch-to-buffer nbuf) (goto-char pos) (org-show- 
> context ...)) (if regionp (progn ... ...) (org-copy-subtree 1 nil  
> t)) (save-excursion (set-buffer ...) (setq reversed ...) (save- 
> excursion ...)) (if regionp (delete-region ... ...) (org-cut- 
> subtree)) (when (featurep ...) (org-inlinetask-remove-END-maybe))  
> (setq org-markers-to-move nil) (message "Refiled to \"%s\"" (car it)))
>   (progn (setq file (nth 1 it) re (nth 2 it) pos (nth 3 it)) (if  
> (and ... pos ... ...) (error "Cannot refile to position inside the  
> tree or region")) (setq nbuf (or ... ...)) (if goto  
> (progn ... ... ...) (if regionp ... ...) (save- 
> excursion ... ... ...) (if regionp ... ...) (when ... ...) (setq org- 
> markers-to-move nil) (message "Refiled to \"%s\"" ...)))
>   (if (setq it (or rfloc ...)) (progn (setq file ... re ... pos ...)  
> (if ... ...) (setq nbuf ...) (if goto ... ... ... ... ... ... ...)))
>   (when (setq it (or rfloc ...)) (setq file (nth 1 it) re (nth 2 it)  
> pos (nth 3 it)) (if (and ... pos ... ...) (error "Cannot refile to  
> position inside the tree or region")) (setq nbuf (or ... ...)) (if  
> goto (progn ... ... ...) (if regionp ... ...) (save- 
> excursion ... ... ...) (if regionp ... ...) (when ... ...) (setq org- 
> markers-to-move nil) (message "Refiled to \"%s\"" ...)))
>   (if (equal goto (quote ...)) (org-refile-goto-last-stored) (when  
> (setq it ...) (setq file ... re ... pos ...) (if ... ...) (setq  
> nbuf ...) (if goto ... ... ... ... ... ... ...)))
>   (let* ((cbuf ...) (regionp ...) (region-start ...) (region- 
> end ...) (region-length ...) (filename ...) pos it nbuf file re  
> level reversed) (when regionp (goto-char region-start) (or ... ...)  
> (setq region-start ...) (unless ... ...)) (if (equal goto ...) (org- 
> refile-goto-last-stored) (when ... ... ... ... ...)))
>   org-refile(nil)
>   call-interactively(org-refile nil nil)
>
>
> -- Michael
>
>
>
> _______________________________________________
> 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] 22+ messages in thread

* Re: Re: Refile error - Kill is not a (set of) trees
  2009-08-15 10:57                   ` Carsten Dominik
@ 2009-08-15 12:13                     ` Stefan Vollmar
  2009-08-15 12:26                       ` Carsten Dominik
  2009-08-15 16:15                       ` Carsten Dominik
  0 siblings, 2 replies; 22+ messages in thread
From: Stefan Vollmar @ 2009-08-15 12:13 UTC (permalink / raw)
  To: emacs-orgmode

Dear Carsten,

On 15.08.2009, at 12:57, Carsten Dominik wrote:

> How did you check? In Emacs, when looking at an Org file,
> with M-x org-version?

In my case, M-x org-version also yields 6.29trans (and it works  
beautifully with the changes you made for multi-line macros, so this  
is looking good). I observe the same behaviour as reported by Michael  
Gilbert: when trying to re-file a tree with C-c $ (bound to org- 
archive.el) Aquamacs 2.0pr2 complains "The kill is not a (setof)  
tree(s) - please use ^Y to yank anyway". This used to work with  
Aquamacs 1.7 (but it was an older version of org-mode, too).

Warm regards,
  Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de

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

* Re: Re: Refile error - Kill is not a (set of) trees
  2009-08-15 12:13                     ` Stefan Vollmar
@ 2009-08-15 12:26                       ` Carsten Dominik
  2009-08-15 16:15                       ` Carsten Dominik
  1 sibling, 0 replies; 22+ messages in thread
From: Carsten Dominik @ 2009-08-15 12:26 UTC (permalink / raw)
  To: Stefan Vollmar; +Cc: emacs-orgmode

Do you have a download url for tis version of aquaemacs for me?

Thanks.

- Carsten

On Aug 15, 2009, at 2:13 PM, Stefan Vollmar wrote:

> Dear Carsten,
>
> On 15.08.2009, at 12:57, Carsten Dominik wrote:
>
>> How did you check? In Emacs, when looking at an Org file,
>> with M-x org-version?
>
> In my case, M-x org-version also yields 6.29trans (and it works  
> beautifully with the changes you made for multi-line macros, so this  
> is looking good). I observe the same behaviour as reported by  
> Michael Gilbert: when trying to re-file a tree with C-c $ (bound to  
> org-archive.el) Aquamacs 2.0pr2 complains "The kill is not a (setof)  
> tree(s) - please use ^Y to yank anyway". This used to work with  
> Aquamacs 1.7 (but it was an older version of org-mode, too).
>
> Warm regards,
> Stefan
> -- 
> Dr. Stefan Vollmar, Dipl.-Phys.
> Max-Planck-Institut für neurologische Forschung
> Gleuelerstr. 50, 50931 Köln, Germany
> Tel.: +49-221-4726-213  FAX +49-221-4726-298
> Tel.: +49-221-478-5713  Mobile: 0160-93874279
> Email: vollmar@nf.mpg.de   http://www.nf.mpg.de
>
>
>
>
>
>
>
> _______________________________________________
> 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] 22+ messages in thread

* Re: Re: Refile error - Kill is not a (set of) trees
  2009-08-15 12:13                     ` Stefan Vollmar
  2009-08-15 12:26                       ` Carsten Dominik
@ 2009-08-15 16:15                       ` Carsten Dominik
  2009-08-15 16:16                         ` Carsten Dominik
                                           ` (2 more replies)
  1 sibling, 3 replies; 22+ messages in thread
From: Carsten Dominik @ 2009-08-15 16:15 UTC (permalink / raw)
  To: Stefan Vollmar, Michael Gilbert; +Cc: emacs-orgmode

Hi Michael, hi Stefan,

I have now finally been able to reproduce this problem.  It is
a bug in Aquamacs 2.0. Could one of you please propagate this
issue to the Aquamacs maintainer?

In Aquamacs Distribution 2.0preview2, at least the following commands
fail to set the kill ring appropriately:

     (copy-region-as-kill beg end)
     (kill-kill-region beg end)

After these commands, in normal Emacs operations,

     (current-kill 0)

will return the content of the copied/killed region.  Not so
in Aquamacs.  This breaks Org-mode and presumably other
packages that will use these function calls.

This used to work in earlier version of Aquamacs.

- Carsten

On Aug 15, 2009, at 2:13 PM, Stefan Vollmar wrote:

> Dear Carsten,
>
> On 15.08.2009, at 12:57, Carsten Dominik wrote:
>
>> How did you check? In Emacs, when looking at an Org file,
>> with M-x org-version?
>
> In my case, M-x org-version also yields 6.29trans (and it works  
> beautifully with the changes you made for multi-line macros, so this  
> is looking good). I observe the same behaviour as reported by  
> Michael Gilbert: when trying to re-file a tree with C-c $ (bound to  
> org-archive.el) Aquamacs 2.0pr2 complains "The kill is not a (setof)  
> tree(s) - please use ^Y to yank anyway". This used to work with  
> Aquamacs 1.7 (but it was an older version of org-mode, too).
>
> Warm regards,
> Stefan
> -- 
> Dr. Stefan Vollmar, Dipl.-Phys.
> Max-Planck-Institut für neurologische Forschung
> Gleuelerstr. 50, 50931 Köln, Germany
> Tel.: +49-221-4726-213  FAX +49-221-4726-298
> Tel.: +49-221-478-5713  Mobile: 0160-93874279
> Email: vollmar@nf.mpg.de   http://www.nf.mpg.de
>
>
>
>
>
>
>
> _______________________________________________
> 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] 22+ messages in thread

* Re: Re: Refile error - Kill is not a (set of) trees
  2009-08-15 16:15                       ` Carsten Dominik
@ 2009-08-15 16:16                         ` Carsten Dominik
  2009-08-15 22:04                         ` Thank you, Carsten, others (was: Refile error - Kill is not a (set of) trees) Michael Gilbert
  2010-02-15 15:16                         ` Org-mode related bug reintroduced in Aquamacs " Michael Gilbert
  2 siblings, 0 replies; 22+ messages in thread
From: Carsten Dominik @ 2009-08-15 16:16 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode


On Aug 15, 2009, at 6:15 PM, Carsten Dominik wrote:

> Hi Michael, hi Stefan,
>
> I have now finally been able to reproduce this problem.  It is
> a bug in Aquamacs 2.0. Could one of you please propagate this
> issue to the Aquamacs maintainer?
>
> In Aquamacs Distribution 2.0preview2, at least the following commands
> fail to set the kill ring appropriately:
>
>    (copy-region-as-kill beg end)
>    (kill-kill-region beg end)

Sorry, this second line is a typo:

    (kill-region beg end)

- Carsten

>
> After these commands, in normal Emacs operations,
>
>    (current-kill 0)
>
> will return the content of the copied/killed region.  Not so
> in Aquamacs.  This breaks Org-mode and presumably other
> packages that will use these function calls.
>
> This used to work in earlier version of Aquamacs.
>
> - Carsten
>
> On Aug 15, 2009, at 2:13 PM, Stefan Vollmar wrote:
>
>> Dear Carsten,
>>
>> On 15.08.2009, at 12:57, Carsten Dominik wrote:
>>
>>> How did you check? In Emacs, when looking at an Org file,
>>> with M-x org-version?
>>
>> In my case, M-x org-version also yields 6.29trans (and it works  
>> beautifully with the changes you made for multi-line macros, so  
>> this is looking good). I observe the same behaviour as reported by  
>> Michael Gilbert: when trying to re-file a tree with C-c $ (bound to  
>> org-archive.el) Aquamacs 2.0pr2 complains "The kill is not a  
>> (setof) tree(s) - please use ^Y to yank anyway". This used to work  
>> with Aquamacs 1.7 (but it was an older version of org-mode, too).
>>
>> Warm regards,
>> Stefan
>> -- 
>> Dr. Stefan Vollmar, Dipl.-Phys.
>> Max-Planck-Institut für neurologische Forschung
>> Gleuelerstr. 50, 50931 Köln, Germany
>> Tel.: +49-221-4726-213  FAX +49-221-4726-298
>> Tel.: +49-221-478-5713  Mobile: 0160-93874279
>> Email: vollmar@nf.mpg.de   http://www.nf.mpg.de
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
>

=======================
PLEASE NOTE NEW ADDRESS
=======================
prof.dr. Carsten Dominik				dominik@uva.nl
Astronomical Institute 'Anton Pannekoek' 	 	www.astro.uva.nl/~dominik
Faculty of Science, University of Amsterdam		phone 	+31-20-5257477/7491
SCIENCE PARK 904, ROOM C4-106			fax   	+31-20-5257484
1098 XH Amsterdam, The Netherlands
mail: PO BOX 94249, 1090GE, Amsterdam

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

* Thank you, Carsten, others (was: Refile error - Kill is not a (set of) trees)
  2009-08-15 16:15                       ` Carsten Dominik
  2009-08-15 16:16                         ` Carsten Dominik
@ 2009-08-15 22:04                         ` Michael Gilbert
  2010-02-15 15:16                         ` Org-mode related bug reintroduced in Aquamacs " Michael Gilbert
  2 siblings, 0 replies; 22+ messages in thread
From: Michael Gilbert @ 2009-08-15 22:04 UTC (permalink / raw)
  To: emacs-orgmode

On Aug 15,2009, at 9:15 AM, Carsten Dominik wrote:

> Hi Michael, hi Stefan,
>
> I have now finally been able to reproduce this problem.  It is
> a bug in Aquamacs 2.0. Could one of you please propagate this
> issue to the Aquamacs maintainer?

<snip>

Thank you for your patience and persistence, Carsten. Looks like  
Stefan passed this on the the Aquamacs list. I might make a little  
donation (I can't contribute code, which is what they want) over there  
to see if I can bring attention to this issue, but I hope that knowing  
they have broken org-mode and other things might matter. We will see.

Thank you, again.

-- Michael


Michael C. Gilbert -- mcg@gilbert.org

    The Gilbert Center -- http://gilbert.org
    Nonprofit Online News -- http://nonprofitnews.org

        "There can be no joy of life without joy of work." -- Aquinas

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

* Org-mode related bug reintroduced in Aquamacs (was: Refile error - Kill is not a (set of) trees)
  2009-08-15 16:15                       ` Carsten Dominik
  2009-08-15 16:16                         ` Carsten Dominik
  2009-08-15 22:04                         ` Thank you, Carsten, others (was: Refile error - Kill is not a (set of) trees) Michael Gilbert
@ 2010-02-15 15:16                         ` Michael Gilbert
  2010-02-16  4:53                           ` Carsten Dominik
  2 siblings, 1 reply; 22+ messages in thread
From: Michael Gilbert @ 2010-02-15 15:16 UTC (permalink / raw)
  To: emacs-orgmode

Carsten -

In August of last year, you cleared up a big with the Aquamacs team (see below). It seems that this bug has been reintroduced with latest builds of Aquamacs. 

-- Michael


On Aug 15,2009, at 9:15 AM, Carsten Dominik wrote:

> Hi Michael, hi Stefan,
> 
> I have now finally been able to reproduce this problem.  It is
> a bug in Aquamacs 2.0. Could one of you please propagate this
> issue to the Aquamacs maintainer?
> 
> In Aquamacs Distribution 2.0preview2, at least the following commands
> fail to set the kill ring appropriately:
> 
>    (copy-region-as-kill beg end)
>    (kill-kill-region beg end)
> 
> After these commands, in normal Emacs operations,
> 
>    (current-kill 0)
> 
> will return the content of the copied/killed region.  Not so
> in Aquamacs.  This breaks Org-mode and presumably other
> packages that will use these function calls.
> 
> This used to work in earlier version of Aquamacs.
> 
> - Carsten

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

* Re: Org-mode related bug reintroduced in Aquamacs (was: Refile error - Kill is not a (set of) trees)
  2010-02-15 15:16                         ` Org-mode related bug reintroduced in Aquamacs " Michael Gilbert
@ 2010-02-16  4:53                           ` Carsten Dominik
  0 siblings, 0 replies; 22+ messages in thread
From: Carsten Dominik @ 2010-02-16  4:53 UTC (permalink / raw)
  To: Michael Gilbert; +Cc: emacs-orgmode

Hi Michael,

I suggest that you contact David Reitter.

Best wishes

- Carsten

On Feb 15, 2010, at 4:16 PM, Michael Gilbert wrote:

> Carsten -
>
> In August of last year, you cleared up a big with the Aquamacs team  
> (see below). It seems that this bug has been reintroduced with  
> latest builds of Aquamacs.
>
> -- Michael
>
>
> On Aug 15,2009, at 9:15 AM, Carsten Dominik wrote:
>
>> Hi Michael, hi Stefan,
>>
>> I have now finally been able to reproduce this problem.  It is
>> a bug in Aquamacs 2.0. Could one of you please propagate this
>> issue to the Aquamacs maintainer?
>>
>> In Aquamacs Distribution 2.0preview2, at least the following commands
>> fail to set the kill ring appropriately:
>>
>>   (copy-region-as-kill beg end)
>>   (kill-kill-region beg end)
>>
>> After these commands, in normal Emacs operations,
>>
>>   (current-kill 0)
>>
>> will return the content of the copied/killed region.  Not so
>> in Aquamacs.  This breaks Org-mode and presumably other
>> packages that will use these function calls.
>>
>> This used to work in earlier version of Aquamacs.
>>
>> - Carsten
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

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

end of thread, other threads:[~2010-02-16  4:53 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-24  5:44 Refile error - Kill is not a (set of) trees Michael Gilbert
2009-06-25  4:45 ` Carsten Dominik
2009-06-25 17:42   ` Michael Gilbert
2009-06-26  8:14     ` Carsten Dominik
2009-08-03 18:33       ` Michael Gilbert
2009-08-04 15:17         ` Carsten Dominik
2009-08-05  5:39           ` Chris Mann
2009-08-05  9:27             ` Carsten Dominik
2009-08-05 10:33             ` Carsten Dominik
2009-08-15  6:39             ` Michael Gilbert
2009-08-15  7:04               ` Carsten Dominik
2009-08-15  7:45                 ` Michael Gilbert
2009-08-15 10:57                   ` Carsten Dominik
2009-08-15 12:13                     ` Stefan Vollmar
2009-08-15 12:26                       ` Carsten Dominik
2009-08-15 16:15                       ` Carsten Dominik
2009-08-15 16:16                         ` Carsten Dominik
2009-08-15 22:04                         ` Thank you, Carsten, others (was: Refile error - Kill is not a (set of) trees) Michael Gilbert
2010-02-15 15:16                         ` Org-mode related bug reintroduced in Aquamacs " Michael Gilbert
2010-02-16  4:53                           ` Carsten Dominik
2009-08-04 15:18         ` Refile error - Kill is not a (set of) trees Carsten Dominik
2009-08-05 10:12         ` Carsten Dominik

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