From unknown Mon Jun 23 06:02:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22734: 24.5; do not leave opened org-agenda-files on org-agenda-list, etc. Resent-From: Oleksandr Gavenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Feb 2016 14:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22734 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 22734@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14558054169210 (code B ref -1); Thu, 18 Feb 2016 14:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2016 14:23:36 +0000 Received: from localhost ([127.0.0.1]:60306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWPUQ-0002OP-8s for submit@debbugs.gnu.org; Thu, 18 Feb 2016 09:23:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37336) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWPUL-0002O7-Hs for submit@debbugs.gnu.org; Thu, 18 Feb 2016 09:23:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWPUC-0004cG-W2 for submit@debbugs.gnu.org; Thu, 18 Feb 2016 09:23:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPUC-0004c7-Sx for submit@debbugs.gnu.org; Thu, 18 Feb 2016 09:23:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPU9-00009c-9A for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:23:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWPU4-0004Y9-SH for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:23:13 -0500 Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:33516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPU4-0004Y4-KR for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:23:08 -0500 Received: by mail-lb0-x232.google.com with SMTP id x4so29661222lbm.0 for ; Thu, 18 Feb 2016 06:23:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=9X1ZyxCPOpY1cmfq7zAMnLR7qPD8OTXBn7qtAhMZJ3A=; b=OffhZh/ApppKXxkB5sN/0UsRyKc2hvo4d8UzSqFlTFBKgFsAfzEuBM0GaW386Zgaf3 a95RdHZd54GBLlmW7eYNxGqiPtebwczcBrefVtmJdtUi8aShLpGbn9u4AKzpISJFYIBG gDc/d53X+JkgHxgVgiAyX/Cw2kNIJaJ7yxHwi4VVu4xXiaqUsIdtJmdYbqa/B00AFkvm tV0nBgxiMlY/UeD6G/5dQkNxWERbc2WGddhNGOLPkhZpcxoFVgsNx6xOzmplwlpqyya9 klX9/iAelSk0efYpOX5OAr2sMJbkidHBk0i3/G06P0XbYMlYcNLg6BQ/k5+Ov/UzdtTY wusA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=9X1ZyxCPOpY1cmfq7zAMnLR7qPD8OTXBn7qtAhMZJ3A=; b=FV5l/wIfnbifQir7849Ybt83TCkLOUBFbYuT7MTaGAwWYuD70GwqqjMCiJ7MK62H0O x+4G7ZRtRh2iY5USE22Ex192FTog4MfoEAmghVWRMjyD0LTnl22FptWglXzXgnJ4jLvD ctyptTSMdGnbSSZJEvLK2oBAnIsX5W7TzV7Oacp5yR9wqZ3LZy8STRJDjdLPfhgHSv59 jpYUz5PBtmN4zVKabeK4iy7BiQ3T/+G6uNNuZj6OHb0DIgCjR+Raw+XWhUf7kSrw8kye 1AKBaPbgc5QLXIVCEDuIuxHTO/mdhTjjD7v3EFJnIZ2iez/XC7zhl4FvFTIa5ehRrwKX yQNQ== X-Gm-Message-State: AG10YOScUILia5gjF/LdKPWIU/ltvks9Izp+YXJI4OJ8tv3J+m8lMKGIm4wGb5nm39vp3g== X-Received: by 10.112.167.37 with SMTP id zl5mr3388307lbb.60.1455805387532; Thu, 18 Feb 2016 06:23:07 -0800 (PST) Received: from desktop ([46.118.53.144]) by smtp.gmail.com with ESMTPSA id 37sm976783lfs.3.2016.02.18.06.23.06 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Feb 2016 06:23:06 -0800 (PST) From: Oleksandr Gavenko Date: Thu, 18 Feb 2016 16:23:05 +0200 Message-ID: <87y4aidrna.fsf@gavenkoa.example.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.2) of 2015-10-24 on trouble, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11702000 System Description: Debian GNU/Linux testing (stretch) Recently I changed workflow with org-mode and trapped into issue which already described: http://emacs.stackexchange.com/questions/5741/do-not-keep-org-agenda-files-open-after-generating-agenda/ Previously I use: * NOTE.org as main storage for free form notes edited by hand with key binding to quick access to this file * TODO.org for `org-remember' or (lambda () (interactive) (org-capture nil "t")) TODO.org I visit only via `C-c a a'. But NOTE.org become unmaintainable with size greater then 1 MiB of plain text. So I split this file into several files by easy distinguished topics, like LEARNING.org, purchases.org, emacs-python.org, linux.org, vps.org, ... Instead of maintaining list of possible names I have specified directory: (setq org-agenda-file-regexp "\\`[^.#].*[^_]\\.org\\'" org-agenda-files (list org-directory)) I happy with this setup because I can quickly find necessary topic via switching to buffer (by IDO via meaningful file name) and search (by C-s) performed in limited space. All schedules available via `C-c a a' across all .org files. But now I have a lot of opened unused .org files after `C-c a a' which I should kill when they appear during buffer switches. The right behavior is to preserve opened only files that already was opened and kill other files. Note that navigation from agenda buffer SHOULD work. If I press RET on item it should open corresponding file if it is not already opened. -- http://defun.work/ From unknown Mon Jun 23 06:02:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22734: 24.5; do not leave opened org-agenda-files on org-agenda-list, etc. Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Thu, 18 Feb 2016 17:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22734 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: To: Oleksandr Gavenko Cc: 22734@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 22734-submit@debbugs.gnu.org id=B22734.145581505625156 (code B ref 22734); Thu, 18 Feb 2016 17:05:02 +0000 Received: (at 22734) by debbugs.gnu.org; 18 Feb 2016 17:04:16 +0000 Received: from localhost ([127.0.0.1]:33158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWRzw-0006Xa-Ha for submit@debbugs.gnu.org; Thu, 18 Feb 2016 12:04:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49829) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWRzs-0006XH-3n for 22734@debbugs.gnu.org; Thu, 18 Feb 2016 12:04:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWRzj-00062F-C1 for 22734@debbugs.gnu.org; Thu, 18 Feb 2016 12:04:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWRzj-00062A-8U; Thu, 18 Feb 2016 12:03:59 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1862 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aWRzi-0002JG-JB; Thu, 18 Feb 2016 12:03:59 -0500 Date: Thu, 18 Feb 2016 19:04:14 +0200 Message-Id: <83twl6t0fl.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87y4aidrna.fsf@gavenkoa.example.com> (message from Oleksandr Gavenko on Thu, 18 Feb 2016 16:23:05 +0200) References: <87y4aidrna.fsf@gavenkoa.example.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Oleksandr Gavenko > Date: Thu, 18 Feb 2016 16:23:05 +0200 > > In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.2) > of 2015-10-24 on trouble, modified by Debian > Windowing system distributor `The X.Org Foundation', version 11.0.11702000 > System Description: Debian GNU/Linux testing (stretch) > > Recently I changed workflow with org-mode and trapped into issue which already > described: > > http://emacs.stackexchange.com/questions/5741/do-not-keep-org-agenda-files-open-after-generating-agenda/ > > Previously I use: > > * NOTE.org as main storage for free form notes edited by hand with key > binding to quick access to this file > > * TODO.org for `org-remember' or > (lambda () (interactive) (org-capture nil "t")) > > TODO.org I visit only via `C-c a a'. But NOTE.org become unmaintainable with > size greater then 1 MiB of plain text. > > So I split this file into several files by easy distinguished topics, like > LEARNING.org, purchases.org, emacs-python.org, linux.org, vps.org, ... > > Instead of maintaining list of possible names I have specified directory: > > (setq org-agenda-file-regexp "\\`[^.#].*[^_]\\.org\\'" > org-agenda-files (list org-directory)) > > I happy with this setup because I can quickly find necessary topic via > switching to buffer (by IDO via meaningful file name) and search (by C-s) > performed in limited space. > > All schedules available via `C-c a a' across all .org files. > > But now I have a lot of opened unused .org files after `C-c a a' which I > should kill when they appear during buffer switches. > > The right behavior is to preserve opened only files that already was opened > and kill other files. Shouldn't this be reported to the Org folks? It sounds like a purely Org issue. From unknown Mon Jun 23 06:02:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22734: 24.5; do not leave opened org-agenda-files on org-agenda-list, etc. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Thu, 18 Feb 2016 20:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22734 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 22734@debbugs.gnu.org, Oleksandr Gavenko Received: via spool by 22734-submit@debbugs.gnu.org id=B22734.145582869519488 (code B ref 22734); Thu, 18 Feb 2016 20:52:02 +0000 Received: (at 22734) by debbugs.gnu.org; 18 Feb 2016 20:51:35 +0000 Received: from localhost ([127.0.0.1]:33263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWVXz-00054G-BM for submit@debbugs.gnu.org; Thu, 18 Feb 2016 15:51:35 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:49023) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWVXw-00053u-OU for 22734@debbugs.gnu.org; Thu, 18 Feb 2016 15:51:33 -0500 Received: from selenimh (unknown [IPv6:2a03:a0a0:0:4301::2de]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 814AA17209F; Thu, 18 Feb 2016 21:51:30 +0100 (CET) From: Nicolas Goaziou In-Reply-To: <83twl6t0fl.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 18 Feb 2016 19:04:14 +0200") References: <87y4aidrna.fsf@gavenkoa.example.com> <83twl6t0fl.fsf@gnu.org> Date: Thu, 18 Feb 2016 21:53:34 +0100 Message-ID: <871t89kaep.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, Eli Zaretskii writes: >> From: Oleksandr Gavenko >> Date: Thu, 18 Feb 2016 16:23:05 +0200 >> >> TODO.org I visit only via `C-c a a'. But NOTE.org become unmaintainable with >> size greater then 1 MiB of plain text. It would be interesting to see a profile report about this. >> But now I have a lot of opened unused .org files after `C-c a a' which I >> should kill when they appear during buffer switches. >> >> The right behavior is to preserve opened only files that already was opened >> and kill other files. AFAICT, Org expects that agenda files are always being visited. This may be related to speed issues. In any case, you could filter out Org files from buffer list (e.g., with `ido-ignore-buffers' and alike), and use `org-buffer-list' whenever you need them. Regards, -- Nicolas Goaziou From unknown Mon Jun 23 06:02:30 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Oleksandr Gavenko Subject: bug#22734: closed (Re: bug#22734: 24.5; do not leave opened org-agenda-files on org-agenda-list, etc.) Message-ID: References: <87lgimff2u.fsf@nicolasgoaziou.fr> <87y4aidrna.fsf@gavenkoa.example.com> X-Gnu-PR-Message: they-closed 22734 X-Gnu-PR-Package: org-mode Reply-To: 22734@debbugs.gnu.org Date: Fri, 01 Dec 2017 19:02:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1512154922-32182-1" This is a multi-part message in MIME format... ------------=_1512154922-32182-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #22734: 24.5; do not leave opened org-agenda-files on org-agenda-list, etc. which was filed against the org-mode package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 22734@debbugs.gnu.org. --=20 22734: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22734 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1512154922-32182-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 22734-done) by debbugs.gnu.org; 1 Dec 2017 19:01:05 +0000 Received: from localhost ([127.0.0.1]:40454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKqYa-0007af-NO for submit@debbugs.gnu.org; Fri, 01 Dec 2017 14:01:04 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:43475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKqYY-0007Us-QH for 22734-done@debbugs.gnu.org; Fri, 01 Dec 2017 14:01:03 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 1B836A80CB; Fri, 1 Dec 2017 20:00:57 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eKqYT-0000MH-HZ; Fri, 01 Dec 2017 20:00:57 +0100 From: Nicolas Goaziou To: 22734-done@debbugs.gnu.org Subject: Re: bug#22734: 24.5; do not leave opened org-agenda-files on org-agenda-list, etc. In-Reply-To: <871t89kaep.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Thu, 18 Feb 2016 21:53:34 +0100") References: <87y4aidrna.fsf@gavenkoa.example.com> <83twl6t0fl.fsf@gnu.org> <871t89kaep.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Fri, 01 Dec 2017 20:00:57 +0100 Message-ID: <87lgimff2u.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22734-done Cc: Eli Zaretskii , Oleksandr Gavenko X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Nicolas Goaziou writes: > Hello, > > Eli Zaretskii writes: > >>> From: Oleksandr Gavenko >>> Date: Thu, 18 Feb 2016 16:23:05 +0200 >>> >>> TODO.org I visit only via `C-c a a'. But NOTE.org become unmaintainable with >>> size greater then 1 MiB of plain text. > > It would be interesting to see a profile report about this. > >>> But now I have a lot of opened unused .org files after `C-c a a' which I >>> should kill when they appear during buffer switches. >>> >>> The right behavior is to preserve opened only files that already was opened >>> and kill other files. > > AFAICT, Org expects that agenda files are always being visited. This may > be related to speed issues. > > In any case, you could filter out Org files from buffer list (e.g., with > `ido-ignore-buffers' and alike), and use `org-buffer-list' whenever you > need them. Since there is no more answer from the OP, I'm closing this bug. Regards, ------------=_1512154922-32182-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Feb 2016 14:23:36 +0000 Received: from localhost ([127.0.0.1]:60306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWPUQ-0002OP-8s for submit@debbugs.gnu.org; Thu, 18 Feb 2016 09:23:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37336) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWPUL-0002O7-Hs for submit@debbugs.gnu.org; Thu, 18 Feb 2016 09:23:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWPUC-0004cG-W2 for submit@debbugs.gnu.org; Thu, 18 Feb 2016 09:23:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPUC-0004c7-Sx for submit@debbugs.gnu.org; Thu, 18 Feb 2016 09:23:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPU9-00009c-9A for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:23:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWPU4-0004Y9-SH for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:23:13 -0500 Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:33516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPU4-0004Y4-KR for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:23:08 -0500 Received: by mail-lb0-x232.google.com with SMTP id x4so29661222lbm.0 for ; Thu, 18 Feb 2016 06:23:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=9X1ZyxCPOpY1cmfq7zAMnLR7qPD8OTXBn7qtAhMZJ3A=; b=OffhZh/ApppKXxkB5sN/0UsRyKc2hvo4d8UzSqFlTFBKgFsAfzEuBM0GaW386Zgaf3 a95RdHZd54GBLlmW7eYNxGqiPtebwczcBrefVtmJdtUi8aShLpGbn9u4AKzpISJFYIBG gDc/d53X+JkgHxgVgiAyX/Cw2kNIJaJ7yxHwi4VVu4xXiaqUsIdtJmdYbqa/B00AFkvm tV0nBgxiMlY/UeD6G/5dQkNxWERbc2WGddhNGOLPkhZpcxoFVgsNx6xOzmplwlpqyya9 klX9/iAelSk0efYpOX5OAr2sMJbkidHBk0i3/G06P0XbYMlYcNLg6BQ/k5+Ov/UzdtTY wusA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=9X1ZyxCPOpY1cmfq7zAMnLR7qPD8OTXBn7qtAhMZJ3A=; b=FV5l/wIfnbifQir7849Ybt83TCkLOUBFbYuT7MTaGAwWYuD70GwqqjMCiJ7MK62H0O x+4G7ZRtRh2iY5USE22Ex192FTog4MfoEAmghVWRMjyD0LTnl22FptWglXzXgnJ4jLvD ctyptTSMdGnbSSZJEvLK2oBAnIsX5W7TzV7Oacp5yR9wqZ3LZy8STRJDjdLPfhgHSv59 jpYUz5PBtmN4zVKabeK4iy7BiQ3T/+G6uNNuZj6OHb0DIgCjR+Raw+XWhUf7kSrw8kye 1AKBaPbgc5QLXIVCEDuIuxHTO/mdhTjjD7v3EFJnIZ2iez/XC7zhl4FvFTIa5ehRrwKX yQNQ== X-Gm-Message-State: AG10YOScUILia5gjF/LdKPWIU/ltvks9Izp+YXJI4OJ8tv3J+m8lMKGIm4wGb5nm39vp3g== X-Received: by 10.112.167.37 with SMTP id zl5mr3388307lbb.60.1455805387532; Thu, 18 Feb 2016 06:23:07 -0800 (PST) Received: from desktop ([46.118.53.144]) by smtp.gmail.com with ESMTPSA id 37sm976783lfs.3.2016.02.18.06.23.06 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Feb 2016 06:23:06 -0800 (PST) From: Oleksandr Gavenko To: bug-gnu-emacs@gnu.org Subject: 24.5; do not leave opened org-agenda-files on org-agenda-list, etc. Date: Thu, 18 Feb 2016 16:23:05 +0200 Message-ID: <87y4aidrna.fsf@gavenkoa.example.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.2) of 2015-10-24 on trouble, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11702000 System Description: Debian GNU/Linux testing (stretch) Recently I changed workflow with org-mode and trapped into issue which already described: http://emacs.stackexchange.com/questions/5741/do-not-keep-org-agenda-files-open-after-generating-agenda/ Previously I use: * NOTE.org as main storage for free form notes edited by hand with key binding to quick access to this file * TODO.org for `org-remember' or (lambda () (interactive) (org-capture nil "t")) TODO.org I visit only via `C-c a a'. But NOTE.org become unmaintainable with size greater then 1 MiB of plain text. So I split this file into several files by easy distinguished topics, like LEARNING.org, purchases.org, emacs-python.org, linux.org, vps.org, ... Instead of maintaining list of possible names I have specified directory: (setq org-agenda-file-regexp "\\`[^.#].*[^_]\\.org\\'" org-agenda-files (list org-directory)) I happy with this setup because I can quickly find necessary topic via switching to buffer (by IDO via meaningful file name) and search (by C-s) performed in limited space. All schedules available via `C-c a a' across all .org files. But now I have a lot of opened unused .org files after `C-c a a' which I should kill when they appear during buffer switches. The right behavior is to preserve opened only files that already was opened and kill other files. Note that navigation from agenda buffer SHOULD work. If I press RET on item it should open corresponding file if it is not already opened. -- http://defun.work/ ------------=_1512154922-32182-1--