From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Use of Global Tag Hierarchies Breaks Agenda View [8.3.3 (8.3.3-2-g6bc48c-elpa @ ~/.emacs.d/elpa/org-20160111/)] Date: Sat, 16 Jan 2016 16:01:04 +0100 Message-ID: <87si1xr2kv.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKSJn-0003Aw-UX for emacs-orgmode@gnu.org; Sat, 16 Jan 2016 09:59:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKSJn-0006lz-51 for emacs-orgmode@gnu.org; Sat, 16 Jan 2016 09:59:07 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:45371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKSJm-0006lv-Ua for emacs-orgmode@gnu.org; Sat, 16 Jan 2016 09:59:07 -0500 In-Reply-To: (Vincent Emanuele's message of "Thu, 14 Jan 2016 18:31:03 -0500") 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: Vincent Emanuele Cc: emacs-orgmode@gnu.org Hello, Vincent Emanuele writes: > I'm attempting to use global tag hierarchies/groups in a revamp of my > org-mode setup. This seems to be breaking the default Agenda Views > (Emacs goes into a race condition with 100% CPU usage and attempts to > swallow up all 16GB of RAM on my machine). > > However, the agenda view breaks *only* when the number of *.org files is > sufficiently large. The contents of the file are irrelevant. To > reproduce, I created a directory (~/Documents/tmp), with 42 "blank" .org > files created using the "touch" command (I have many org files across > many projects that contain TODO items). Then, run the following: > > Step 1: > ------ > $ emacs -Q -l minimal-org.el > > Here is my minimal-org.el: > ;; activate debugging > (setq debug-on-error t > debug-on-signal nil > debug-on-quit nil) > > ;; add latest org-mode to load path > (add-to-list 'load-path (expand-file-name > "/Users/vaemanuele/.emacs.d/elpa/org-20160111")) > > (setq org-tag-alist '((:startgrouptag) > ("Context") > (:grouptags) > ("@home" . ?h) > ("@laptop" . ?l) > ("@work" . ?w) > (:endgrouptag) > )) > > Step 2: > ------- > Execute the following lisp commands in order > > (org-version) ;; <-- confirms correct version of Org Mode (8.3.3) > (org-agenda-files) ;; <-- nil > (setq org-agenda-files '("~/Documents/tmp")) ;; > (org-agenda) ;; <-- Then press 'a'. Emacs will go into a race > condition Fixed. Thank you for the detailed report. Regards, -- Nicolas Goaziou