From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [BUG] Tag selection is inconsistent when loaded from #+SETUPFILE in orgmode 8.0.x Date: Thu, 16 May 2013 10:35:28 +0200 Message-ID: <8761yj1fvz.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uctey-0001WD-Mq for emacs-orgmode@gnu.org; Thu, 16 May 2013 04:35:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ucteu-0000jz-51 for emacs-orgmode@gnu.org; Thu, 16 May 2013 04:35:36 -0400 Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]:63887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uctet-0000jm-UU for emacs-orgmode@gnu.org; Thu, 16 May 2013 04:35:32 -0400 Received: by mail-we0-f171.google.com with SMTP id u55so2315665wes.2 for ; Thu, 16 May 2013 01:35:31 -0700 (PDT) In-Reply-To: (Anupam Sengupta's message of "Tue, 14 May 2013 21:09:49 -0400") 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: Anupam Sengupta Cc: emacs-orgmode@gnu.org Hi Anupam, Anupam Sengupta writes: > Loading tags from a #+SETUPFILE is causing inconsistent behavior in the > tag-selection for both > in-buffer selection via C-c C-q (`org-set-tags-command`) and > in-agenda selection via : (`org-agenda-set-tags`). > > A test-case using orgmode 8.0.3 on Emacs 24.3 (with the bare minimum > init file setting to get orgmode loaded). Thanks a lot for reporting this and for the test case, it should be fixed now. All: the fix involves checking for a #+setupfile directive when processing Org buffers for building the agenda. This may lead to some slow down when your agenda is built from many files. Let me know if you notice some weirdness. Thanks, -- Bastien