From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: 22734@debbugs.gnu.org
Subject: bug#22734: 24.5; do not leave opened org-agenda-files on org-agenda-list, etc.
Date: Thu, 18 Feb 2016 16:23:05 +0200 [thread overview]
Message-ID: <87y4aidrna.fsf@gavenkoa.example.com> (raw)
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/
next reply other threads:[~2016-02-18 14:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-18 14:23 Oleksandr Gavenko [this message]
2016-02-18 17:04 ` bug#22734: 24.5; do not leave opened org-agenda-files on org-agenda-list, etc Eli Zaretskii
2016-02-18 20:53 ` Nicolas Goaziou
2017-12-01 19:00 ` Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y4aidrna.fsf@gavenkoa.example.com \
--to=gavenkoa@gmail.com \
--cc=22734@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.