emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Julian Burgos <jmburgos@uw.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to make org-clock-in close the files it opens
Date: Tue, 02 Aug 2011 11:45:45 -0500	[thread overview]
Message-ID: <87zkjr7oee.fsf@fastmail.fm> (raw)
In-Reply-To: <CAFGvYpT9NsFc-E_xwbDpWcHEGCxXEO5F3=0agqL-b++rjbB8wA@mail.gmail.com> (Julian Burgos's message of "Tue, 2 Aug 2011 13:18:41 +0000")

Julian Burgos <jmburgos@uw.edu> writes:

> When using org-clock-in, all files in my agenda list are opened.  This
> makes sense, as org mode is looking for clocks already opened.  But it
> is possible to make org mode to close all these files?  

I was going to suggest M-x org-agenda-exit, but that does not work
because neither org-resolve-clocks nor org-find-open-clocks add the
files they open to org-agenda-new-buffers. 

As a workaround you could feed a list of files to org-release-buffers.

> I do keep lots of files in my agenda, and it is a pain to have to
> close them by hand. Many thanks,

Might I ask why you would like to close your agenda files? They will be
reopened when you call the agenda.

Best,
Matt

      reply	other threads:[~2011-08-02 16:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02 13:18 how to make org-clock-in close the files it opens Julian Burgos
2011-08-02 16:45 ` Matt Lundin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkjr7oee.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jmburgos@uw.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).