GNU bug report logs - #22734
24.5; do not leave opened org-agenda-files on org-agenda-list, etc.

Previous Next

Package: org-mode;

Reported by: Oleksandr Gavenko <gavenkoa <at> gmail.com>

Date: Thu, 18 Feb 2016 14:24:02 UTC

Severity: normal

Found in version 24.5

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Oleksandr Gavenko <gavenkoa <at> gmail.com>
Subject: bug#22734: closed (Re: bug#22734: 24.5; do not leave opened
 org-agenda-files on org-agenda-list, etc.)
Date: Fri, 01 Dec 2017 19:02:02 +0000
[Message part 1 (text/plain, inline)]
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 <at> debbugs.gnu.org.

-- 
22734: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22734
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: 22734-done <at> debbugs.gnu.org
Cc: Eli Zaretskii <eliz <at> gnu.org>, Oleksandr Gavenko <gavenkoa <at> gmail.com>
Subject: Re: bug#22734: 24.5;
 do not leave opened org-agenda-files on org-agenda-list, etc.
Date: Fri, 01 Dec 2017 20:00:57 +0100
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:

> Hello,
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>>> From: Oleksandr Gavenko <gavenkoa <at> gmail.com>
>>> 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,

[Message part 3 (message/rfc822, inline)]
From: Oleksandr Gavenko <gavenkoa <at> gmail.com>
To: bug-gnu-emacs <at> 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
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/



This bug report was last modified 7 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.