emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to archive the whole file
@ 2014-10-09 22:44 Marcin Borkowski
  2014-10-10  8:54 ` Thorsten Jolitz
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Borkowski @ 2014-10-09 22:44 UTC (permalink / raw)
  To: Org Mode Mailing List

Hi list,

I have an Org file which should all go to the archive.  What do I do?
Should I manually archive all level-one headlines?  Should I just append
"_archive" to its filename?  What is the best practice?

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

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

* Re: How to archive the whole file
  2014-10-09 22:44 How to archive the whole file Marcin Borkowski
@ 2014-10-10  8:54 ` Thorsten Jolitz
  0 siblings, 0 replies; 2+ messages in thread
From: Thorsten Jolitz @ 2014-10-10  8:54 UTC (permalink / raw)
  To: emacs-orgmode

Marcin Borkowski <mbork@wmi.amu.edu.pl> writes:

Hi,

> I have an Org file which should all go to the archive.  What do I do?
> Should I manually archive all level-one headlines?  Should I just append
> "_archive" to its filename?  What is the best practice?

there are probably build-in solution, but something on the line of 

#+BEGIN_SRC emacs-lisp
(org-map-entries 'org-archive-subtree)
#+END_SRC

might do (totally untested!)

-- 
cheers,
Thorsten

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

end of thread, other threads:[~2014-10-10  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-09 22:44 How to archive the whole file Marcin Borkowski
2014-10-10  8:54 ` Thorsten Jolitz

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