emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to delete an instruction when it has expired
@ 2022-10-24 15:41 Renato Pontefice
  2022-10-25  7:37 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Renato Pontefice @ 2022-10-24 15:41 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] 3+ messages in thread

* Re: How to delete an instruction when it has expired
  2022-10-24 15:41 How to delete an instruction when it has expired Renato Pontefice
@ 2022-10-25  7:37 ` Ihor Radchenko
       [not found]   ` <404E2EE0-FF46-442D-84EF-6710E7D64D19@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2022-10-25  7:37 UTC (permalink / raw)
  To: Renato Pontefice; +Cc: 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?

Could you please provide more details?

From my reading, you may be able to utilize org-archive functionality
(see 9.2 Archiving section of Org manual).

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

* Re: How to delete an instruction when it has expired
       [not found]   ` <404E2EE0-FF46-442D-84EF-6710E7D64D19@gmail.com>
@ 2022-10-25  9:08     ` Ihor Radchenko
  0 siblings, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2022-10-25  9:08 UTC (permalink / raw)
  To: Renato Pontefice; +Cc: emacs-orgmode

[Adding Org mailing list back to CC]

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

> Maybe this is not what I’m looking for:
> I have a simple line:
> ** TODO da xxx con yyyyy <2022-10-19 Wed 11:00>
> When the 19th I’ve done this, I change the state from RODO in DONE. I’m wondering if it exist a way to definitely delete this line, because as lines increase, my file get increased and confusing. So Im looking for socomand that let me close and delete the line. A simple line deletion?
> May be…

Pressing C-k on the heading will delete the whole heading if you set
org-special-ctrl-k to non-nil.

Also, the archive functionality I mentioned can move the heading away to
a separate file. See org-archive-location.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

end of thread, other threads:[~2022-10-25  9:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-24 15:41 How to delete an instruction when it has expired Renato Pontefice
2022-10-25  7:37 ` Ihor Radchenko
     [not found]   ` <404E2EE0-FF46-442D-84EF-6710E7D64D19@gmail.com>
2022-10-25  9:08     ` Ihor Radchenko

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).