* Deleting (not archiving) TODO items when done
@ 2021-08-04 17:47 William Denton
2021-08-04 19:55 ` Peter Neilson
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: William Denton @ 2021-08-04 17:47 UTC (permalink / raw)
To: emacs-orgmode
When I've marked a TODO item as DONE and want to get it out of my projects list,
I've always used C-c C-x C-a (org-archive-subtree-default) to get it out of the
way.
Today I had to go through the archive file to find an old note about something,
and the file was huge because it was filled with many trivial TODOs that didn't
need to be archived. For example, If I'm waiting to hear back from someone,
when they reply I usually just want to mark the task DONE and delete it. I
don't need to record it forever.
Maybe I've been using the archiving not as intended, but I don't see any other
command for getting rid of a TODO. I can't find a command to delete the current
task. Am I missing something? Is there a keystroke to delete a TODO? Or does
everyone archive everything?
Bill
--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Deleting (not archiving) TODO items when done
2021-08-04 17:47 Deleting (not archiving) TODO items when done William Denton
@ 2021-08-04 19:55 ` Peter Neilson
2021-08-04 20:08 ` Hanno Perrey
2021-08-04 21:27 ` Samuel Wales
2021-08-04 22:17 ` Tim Cross
` (3 subsequent siblings)
4 siblings, 2 replies; 9+ messages in thread
From: Peter Neilson @ 2021-08-04 19:55 UTC (permalink / raw)
To: emacs-orgmode
On Wed, 04 Aug 2021 13:47:11 -0400, William Denton <wtd@pobox.com> wrote:
> When I've marked a TODO item as DONE and want to get it out of my
> projects list, I've always used C-c C-x C-a
> (org-archive-subtree-default) to get it out of the way.
>
> Today I had to go through the archive file to find an old note about
> something, and the file was huge because it was filled with many trivial
> TODOs that didn't need to be archived. For example, If I'm waiting to
> hear back from someone, when they reply I usually just want to mark the
> task DONE and delete it. I don't need to record it forever.
>
> Maybe I've been using the archiving not as intended, but I don't see any
> other command for getting rid of a TODO. I can't find a command to
> delete the current task. Am I missing something? Is there a keystroke
> to delete a TODO? Or does everyone archive everything?
>
> Bill
>
> --
> William Denton
> https://www.miskatonic.org/
> Librarian, artist and licensed private investigator.
> Toronto, Canada
It's just text. Delete it. ^k^k or (for bigger items) establish a region
and kill it (^w).
If you would like (since you're in emacs) you can write yourself a special
button to do it.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Deleting (not archiving) TODO items when done
2021-08-04 19:55 ` Peter Neilson
@ 2021-08-04 20:08 ` Hanno Perrey
2021-08-04 21:27 ` Samuel Wales
1 sibling, 0 replies; 9+ messages in thread
From: Hanno Perrey @ 2021-08-04 20:08 UTC (permalink / raw)
To: emacs-orgmode
>> Maybe I've been using the archiving not as intended, but I don't see
>> any other command for getting rid of a TODO. I can't find a command
>> to delete the current task. Am I missing something? Is there a
>> keystroke to delete a TODO? Or does everyone archive everything?
> If you would like (since you're in emacs) you can write yourself a
> special button to do it.
Maybe org-cut-subtree is a good starting point or already fulfills your
needs as it is "a short-hand for marking the subtree and then cutting it".
Best,
Hanno
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Deleting (not archiving) TODO items when done
2021-08-04 19:55 ` Peter Neilson
2021-08-04 20:08 ` Hanno Perrey
@ 2021-08-04 21:27 ` Samuel Wales
1 sibling, 0 replies; 9+ messages in thread
From: Samuel Wales @ 2021-08-04 21:27 UTC (permalink / raw)
To: Peter Neilson; +Cc: emacs-orgmode
as peter said, and you can probably collapse and kill the line or kill
using an agenda command.
the archive is used variously. so is git. so are items like
* LOG [ts] header
and also there is logbook. so where does one store e.g. records of
conversations? something i struggle with. in op's case, git and
things like rsnapshot would be the places he could find what he
deleted.
i tend to be conservative, and sometimes doneify and archive AND use
LOG. drawbacks include impossibly slow archiving [i suspect direct OS
appending to file would be a workaround] and finding needles in
haystacks filled with trivial and near-duplicate entries.
some don't search archives much, some want only meaningful things
there. etc. i am learning the maening of bloat.
On 8/4/21, Peter Neilson <neilson@windstream.net> wrote:
> On Wed, 04 Aug 2021 13:47:11 -0400, William Denton <wtd@pobox.com> wrote:
>
>> When I've marked a TODO item as DONE and want to get it out of my
>> projects list, I've always used C-c C-x C-a
>> (org-archive-subtree-default) to get it out of the way.
>>
>> Today I had to go through the archive file to find an old note about
>> something, and the file was huge because it was filled with many trivial
>>
>> TODOs that didn't need to be archived. For example, If I'm waiting to
>> hear back from someone, when they reply I usually just want to mark the
>> task DONE and delete it. I don't need to record it forever.
>>
>> Maybe I've been using the archiving not as intended, but I don't see any
>>
>> other command for getting rid of a TODO. I can't find a command to
>> delete the current task. Am I missing something? Is there a keystroke
>> to delete a TODO? Or does everyone archive everything?
>>
>> Bill
>>
>> --
>> William Denton
>> https://www.miskatonic.org/
>> Librarian, artist and licensed private investigator.
>> Toronto, Canada
>
> It's just text. Delete it. ^k^k or (for bigger items) establish a region
> and kill it (^w).
>
> If you would like (since you're in emacs) you can write yourself a special
>
> button to do it.
>
>
--
The Kafka Pandemic
Please learn what misopathy is.
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Deleting (not archiving) TODO items when done
2021-08-04 17:47 Deleting (not archiving) TODO items when done William Denton
2021-08-04 19:55 ` Peter Neilson
@ 2021-08-04 22:17 ` Tim Cross
2021-08-05 7:35 ` Dominique Dumont
` (2 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Tim Cross @ 2021-08-04 22:17 UTC (permalink / raw)
To: emacs-orgmode
William Denton <wtd@pobox.com> writes:
> When I've marked a TODO item as DONE and want to get it out of my projects list,
> I've always used C-c C-x C-a (org-archive-subtree-default) to get it out of the
> way.
>
> Today I had to go through the archive file to find an old note about something,
> and the file was huge because it was filled with many trivial TODOs that didn't
> need to be archived. For example, If I'm waiting to hear back from someone,
> when they reply I usually just want to mark the task DONE and delete it. I
> don't need to record it forever.
>
> Maybe I've been using the archiving not as intended, but I don't see any other
> command for getting rid of a TODO. I can't find a command to delete the current
> task. Am I missing something? Is there a keystroke to delete a TODO? Or does
> everyone archive everything?
>
I just delete them using standard Emacs commands. I'm not sure there is
a need for a special 'delete todo' command. It would be easy to code one
yourself if you want one.
With respect to archiving, there is probably some room for more
sophisticated archiving patterns. What I tend to do is at the start of
each year, move all my archive files to a new name which includes the
year in the archive filename. then after a few years, I simply delete
any archives older than 7 years. I find any data older than that is
rarely, if ever, relevant or useful, plus if I really, really want it,
it will be in one of my backup snapshots or git. This means my archive
files don't get to be gigantic and I can search back through just the
archives for a specific year.
In reality, I could probably get rid of old archives much sooner. It is
extremely rare for me to go through archives older than 1 year (I think
I've only ever done this once since I started using org).
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Deleting (not archiving) TODO items when done
2021-08-04 17:47 Deleting (not archiving) TODO items when done William Denton
2021-08-04 19:55 ` Peter Neilson
2021-08-04 22:17 ` Tim Cross
@ 2021-08-05 7:35 ` Dominique Dumont
2021-08-05 14:45 ` William Denton
2021-08-05 8:28 ` Eric S Fraga
2021-08-05 9:36 ` Dominique Dumont
4 siblings, 1 reply; 9+ messages in thread
From: Dominique Dumont @ 2021-08-05 7:35 UTC (permalink / raw)
To: emacs-orgmode
Le mercredi 4 août 2021, 19:47:11 CEST William Denton a écrit :
> Is there a keystroke to delete a TODO?
I usually use C-c C-x C-w to delete a TODO item.
HTH
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Deleting (not archiving) TODO items when done
2021-08-04 17:47 Deleting (not archiving) TODO items when done William Denton
` (2 preceding siblings ...)
2021-08-05 7:35 ` Dominique Dumont
@ 2021-08-05 8:28 ` Eric S Fraga
2021-08-05 9:36 ` Dominique Dumont
4 siblings, 0 replies; 9+ messages in thread
From: Eric S Fraga @ 2021-08-05 8:28 UTC (permalink / raw)
To: William Denton; +Cc: emacs-orgmode
Others have already pointed out that you can simply delete the text (one
short-cut: fold the task and then simply delete the whole line...). An
alternative, however, is to delete from the agenda view. At least for
me, C-k is bound to org-agenda-kill which deletes the entry.
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-607-g185706
: Latest paper written in org: https://arxiv.org/abs/2106.05096
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Deleting (not archiving) TODO items when done
2021-08-04 17:47 Deleting (not archiving) TODO items when done William Denton
` (3 preceding siblings ...)
2021-08-05 8:28 ` Eric S Fraga
@ 2021-08-05 9:36 ` Dominique Dumont
4 siblings, 0 replies; 9+ messages in thread
From: Dominique Dumont @ 2021-08-05 9:36 UTC (permalink / raw)
To: emacs-orgmode
Le mercredi 4 août 2021, 19:47:11 CEST William Denton a écrit :
> Is there a keystroke to delete a TODO?
I usually use C-c C-x C-w to delete a TODO item.
HTH
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Deleting (not archiving) TODO items when done
2021-08-05 7:35 ` Dominique Dumont
@ 2021-08-05 14:45 ` William Denton
0 siblings, 0 replies; 9+ messages in thread
From: William Denton @ 2021-08-05 14:45 UTC (permalink / raw)
To: Dominique Dumont; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
On 5 August 2021, Dominique Dumont wrote:
> Le mercredi 4 août 2021, 19:47:11 CEST William Denton a écrit :
>> Is there a keystroke to delete a TODO?
>
> I usually use C-c C-x C-w to delete a TODO item.
Aha, merci beaucoup, and to Hanno Perrey too. I use org-cut-subtree so rarely
I'd forgotten about it, and didn't realize it would work on a TODO item. It
does just what I want.
Bill
--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-08-05 14:48 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-04 17:47 Deleting (not archiving) TODO items when done William Denton
2021-08-04 19:55 ` Peter Neilson
2021-08-04 20:08 ` Hanno Perrey
2021-08-04 21:27 ` Samuel Wales
2021-08-04 22:17 ` Tim Cross
2021-08-05 7:35 ` Dominique Dumont
2021-08-05 14:45 ` William Denton
2021-08-05 8:28 ` Eric S Fraga
2021-08-05 9:36 ` Dominique Dumont
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).