John Sullivan wrote: > Wanrong Lin <[EMAIL PROTECTED]> writes: > > >> John Sullivan wrote: >> >>> Wanrong Lin <[EMAIL PROTECTED]> writes: >>> >>> >>> >>>> When I am using planner-copy-or-move-region to re-schedule a block of >>>> tasks, it seems the first task in the block is always missed by this >>>> function. Is this a bug? >>>> I am using Emacs 21.4 on Debian, and planner 2007-03-22 tar ball. >>>> >>>> Thanks for giving comments or investigating this. >>>> >>>> >>> I've thought about this a bit, still thinking about it. >>> >>> The task on the current line won't be moved. So you just need to set the >>> mark >>> on the line before the first task you want to move. >>> >>> If we change this, we have to decide what happens when the mark is in the >>> middle of a task. Should that task be moved, or not? >>> >>> I think sticking with the current behavior might be best. >>> >>> >>> >> I agree it is a vague issue and debatable whether a task should be moved >> or not when the mark is in the middle of a task, but if the beginning of >> a region is at the *beginning* of a task line, I would say probably it >> is intuitive for most people to think that the task should be moved. >> When I have a nice rectangular selection block (both the beginning and >> end of the region are at the starting positions of lines), I just think >> the whole block will get moved. >> >> Can we check in the function that at least for the non-vague case as I >> described above, the whole region will get moved? Missing a task >> sometimes can shake people's trust in the planning system. :) >> > > I can go along with that. Can you put a bug in the tracker for it and mark it > priority 6 please? > > What I ultimately want to do is have planner-copy-or-move-task check to see if > transient-mark-mode is enabled, and if so, operate on the region. > > The line you draw (no pun intended) makes sense to me. > > Done with the bug report.
I created my own customized function to check whether transient-mark-mode is enabled and then call the proper functions. It would be nice to see that get included in planner-copy-or-move-task. Thanks. Wanrong _______________________________________________ Planner-el-discuss mailing list [email protected] https://mail.gna.org/listinfo/planner-el-discuss
