Re: How ro delete DONE attemps

2022-10-25 Thread Samuel Wales
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  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



Re: How ro delete DONE attemps

2022-10-25 Thread Tim Cross


Nick Dokos  writes:

> Renato Pontefice  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.



Re: How ro delete DONE attemps

2022-10-25 Thread Nick Dokos
Renato Pontefice  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




How ro delete DONE attemps

2022-10-24 Thread Renato Pontefice
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