Re: [O] Kill all items with specific tag to kill-ring.

2013-05-01 Thread Carsten Dominik
On 29.4.2013, at 19:14, Oleksandr Gavenko wrote: > On 2013-04-25, Bernt Hansen wrote: > >> Oleksandr Gavenko writes: >> > I want this feature in order to simplify precess of moving entries from > job org-file to home org-file by marking entries with tag :HOME:... >> >> If all you wan

Re: [O] Kill all items with specific tag to kill-ring.

2013-04-29 Thread Oleksandr Gavenko
On 2013-04-25, Bernt Hansen wrote: > Oleksandr Gavenko writes: > >>> > I want this feature in order to simplify precess of moving entries from >>> > job org-file to home org-file by marking entries with tag :HOME:... > > If all you want to do is move items why not use the agenda? Mark your > entr

Re: [O] Kill all items with specific tag to kill-ring.

2013-04-25 Thread Bernt Hansen
Oleksandr Gavenko writes: >> > I want this feature in order to simplify precess of moving entries from job >> > org-file to home org-file by marking entries with tag :HOME:... Hi Oleksandr, If all you want to do is move items why not use the agenda? Mark your entries with a tag, do an agenda s

Re: [O] Kill all items with specific tag to kill-ring.

2013-04-25 Thread Oleksandr Gavenko
Carsten Dominik gmail.com> writes: > On 25 apr. 2013, at 10:56, Oleksandr Gavenko gmail.com> wrote: > > > > (defun my-org-kill-by-tag (tag) > > (interactive (list (completing-read "Enter tag: " (org-get-buffer-tags > > (kill-new "") > > (org-scan-tags > > (lambda () > > (let ( (las

Re: [O] Kill all items with specific tag to kill-ring.

2013-04-25 Thread Carsten Dominik
On 25 apr. 2013, at 10:56, Oleksandr Gavenko wrote: > Carsten Dominik gmail.com> writes: > >> >> >> On 25.4.2013, at 10:21, Oleksandr Gavenko gmail.com> wrote: >> >>> I finish with very hackie code (based on knowledge of internal >>> implementation of org-scan-tags): >>> >>> (defun my-org

Re: [O] Kill all items with specific tag to kill-ring.

2013-04-25 Thread Oleksandr Gavenko
Carsten Dominik gmail.com> writes: > > > On 25.4.2013, at 10:21, Oleksandr Gavenko gmail.com> wrote: > > > I finish with very hackie code (based on knowledge of internal > > implementation of org-scan-tags): > > > > (defun my-org-kill-by-tag (tag) > > (interactive (list (read-input "Enter t

Re: [O] Kill all items with specific tag to kill-ring.

2013-04-25 Thread Carsten Dominik
On 25.4.2013, at 10:21, Oleksandr Gavenko wrote: > Carsten Dominik gmail.com> writes: > >> >> On 25.4.2013, at 07:32, Oleksandr Gavenko gmail.com> wrote: >> >>> I use tags only on top level items in org-file. >>> >>> And want move all items marked by specific tag to different org-file. >>>

Re: [O] Kill all items with specific tag to kill-ring.

2013-04-25 Thread Oleksandr Gavenko
Carsten Dominik gmail.com> writes: > > On 25.4.2013, at 07:32, Oleksandr Gavenko gmail.com> wrote: > > > I use tags only on top level items in org-file. > > > > And want move all items marked by specific tag to different org-file. > > > > I expect that this command kill items with selected t

Re: [O] Kill all items with specific tag to kill-ring.

2013-04-24 Thread Carsten Dominik
On 25.4.2013, at 07:32, Oleksandr Gavenko wrote: > I use tags only on top level items in org-file. > > And want move all items marked by specific tag to different org-file. > > I expect that this command kill items with selected tag to kill-ring in one > step (so single undo command return orig

[O] Kill all items with specific tag to kill-ring.

2013-04-24 Thread Oleksandr Gavenko
I use tags only on top level items in org-file. And want move all items marked by specific tag to different org-file. I expect that this command kill items with selected tag to kill-ring in one step (so single undo command return original buffer content). Seems there are no such command build-in