From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.bugs 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 Message-ID: <87y4aidrna.fsf@gavenkoa.example.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455805480 14542 80.91.229.3 (18 Feb 2016 14:24:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Feb 2016 14:24:40 +0000 (UTC) To: 22734@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 18 15:24:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aWPVA-00064O-LM for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Feb 2016 15:24:16 +0100 Original-Received: from localhost ([::1]:41730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPV6-0000F1-6Q for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Feb 2016 09:24:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPV0-0000Ep-SS for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:24:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWPUw-0004o2-DQ for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:24:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPUw-0004ny-97 for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aWPUw-0002PC-5V for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:24:02 -0500 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14558054169210 (code B ref -1); Thu, 18 Feb 2016 14:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Feb 2016 14:23:36 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113241 Archived-At: 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/