all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How ro delete DONE attemps
@ 2022-10-24 15:29 Renato Pontefice
  2022-10-25 13:55 ` Nick Dokos
  2022-10-26  4:48 ` Samuel Wales
  0 siblings, 2 replies; 4+ messages in thread
From: Renato Pontefice @ 2022-10-24 15:29 UTC (permalink / raw)
  To: emacs-orgmode

Hi,
I’m wondering how can I delete, on my .org file, the line that have:
- an old Timestamp (i.e. if I set a thing to be done today (<2022-10-24 Mon 17:26>)
- a TODO item (always with a past date) <2022-10-24 Mon 17:26>

That to have a more clean .org file.

Is it possible?
How can I obtain it?

Thank you

Renato

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

* Re: How ro delete DONE attemps
  2022-10-24 15:29 How ro delete DONE attemps Renato Pontefice
@ 2022-10-25 13:55 ` Nick Dokos
  2022-10-25 23:34   ` Tim Cross
  2022-10-26  4:48 ` Samuel Wales
  1 sibling, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2022-10-25 13:55 UTC (permalink / raw)
  To: emacs-orgmode

Renato Pontefice <renato.pontefice@gmail.com> writes:

> Hi,
> I’m wondering how can I delete, on my .org file, the line that have:
> - an old Timestamp (i.e. if I set a thing to be done today (<2022-10-24 Mon 17:26>)
> - a TODO item (always with a past date) <2022-10-24 Mon 17:26>
>
> That to have a more clean .org file.
>
> Is it possible?
> How can I obtain it?
>

It's just text: you can use ordinary Emacs commands to modify the
file, e.g. C-k will kill a line, or you can use C-d to delete
characters or M-d to delete words.

-- 
Nick



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

* Re: How ro delete DONE attemps
  2022-10-25 13:55 ` Nick Dokos
@ 2022-10-25 23:34   ` Tim Cross
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Cross @ 2022-10-25 23:34 UTC (permalink / raw)
  To: emacs-orgmode


Nick Dokos <ndokos@gmail.com> writes:

> Renato Pontefice <renato.pontefice@gmail.com> writes:
>
>> Hi,
>> I’m wondering how can I delete, on my .org file, the line that have:
>> - an old Timestamp (i.e. if I set a thing to be done today (<2022-10-24 Mon 17:26>)
>> - a TODO item (always with a past date) <2022-10-24 Mon 17:26>
>>
>> That to have a more clean .org file.
>>
>> Is it possible?
>> How can I obtain it?
>>
>
> It's just text: you can use ordinary Emacs commands to modify the
> file, e.g. C-k will kill a line, or you can use C-d to delete
> characters or M-d to delete words.

The other thing you can do is use org's built-in archiving support. With
this, you can have 'old' items which are no longer relevant moved to a
separate archive file, creating a cleaner org file and keeping an
archive record of past items.


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

* Re: How ro delete DONE attemps
  2022-10-24 15:29 How ro delete DONE attemps Renato Pontefice
  2022-10-25 13:55 ` Nick Dokos
@ 2022-10-26  4:48 ` Samuel Wales
  1 sibling, 0 replies; 4+ messages in thread
From: Samuel Wales @ 2022-10-26  4:48 UTC (permalink / raw)
  To: Renato Pontefice; +Cc: emacs-orgmode

are those bare timestamps without planning tags like deadline:
scheduled: closed:?

then you will need something bespoke.  but if they are planning lines
which go after the headline, then you are in luck.  you can use org
archiving tools.  [boken in my version but i think has been fixed in
recent versions.]

On 10/24/22, Renato Pontefice <renato.pontefice@gmail.com> wrote:
> Hi,
> I’m wondering how can I delete, on my .org file, the line that have:
> - an old Timestamp (i.e. if I set a thing to be done today (<2022-10-24 Mon
> 17:26>)
> - a TODO item (always with a past date) <2022-10-24 Mon 17:26>
>
> That to have a more clean .org file.
>
> Is it possible?
> How can I obtain it?
>
> Thank you
>
> Renato
>


-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com


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

end of thread, other threads:[~2022-10-26  4:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-24 15:29 How ro delete DONE attemps Renato Pontefice
2022-10-25 13:55 ` Nick Dokos
2022-10-25 23:34   ` Tim Cross
2022-10-26  4:48 ` Samuel Wales

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.