From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Julian M. Burgos" Subject: Re: Avoiding open buffers when clocking in Date: Tue, 22 Sep 2015 16:34:04 +0000 Message-ID: References: <87mvweh1i0.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeQzq-0001pr-1w for emacs-orgmode@gnu.org; Tue, 22 Sep 2015 13:04:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZeQzm-0004G0-Sm for emacs-orgmode@gnu.org; Tue, 22 Sep 2015 13:04:49 -0400 Received: from hafgarpur.hafro.is ([130.208.64.48]:40195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeQzm-0004F4-Ho for emacs-orgmode@gnu.org; Tue, 22 Sep 2015 13:04:46 -0400 In-reply-to: <87mvweh1i0.fsf@kyleam.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Kyle Meyer Cc: org-mode mailing list Thanks Kyle, I did not knew this one. I was manually using this function (defun only-current-buffer ()=20 (interactive) = =20 (mapc 'kill-buffer (cdr (buffer-list (current-buffer))))) to kill all buffers after clocking in, but your solution is simpler. =20 Kyle Meyer writes: > "Julian M. Burgos" writes: > >> When clocking in at some particular task, org-mode opens all my agenda >> files (I assume to check if there are dangling clocks). I have many >> agenda files, and I rather avoid opening tons of new buffers. Is ther= e any >> way to make org-mode not check for dangling clocks in other agenda >> files? > > If you're ok with disabling automatic clock resolution entirely, settin= g > org-clock-auto-clock-resolution to nil should work. --=20 Julian Mariano Burgos, PhD Hafranns=C3=B3knastofnun/Marine Research Institute Sk=C3=BAlagata 4, 121 Reykjav=C3=ADk, Iceland S=C3=ADmi/Telephone : +354-5752037 Br=C3=A9fs=C3=ADmi/Telefax: +354-5752001 Netfang/Email: julian@hafro.is