From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anupam Sengupta Subject: [BUG] Tag selection is inconsistent when loaded from #+SETUPFILE in orgmode 8.0.x Date: Tue, 14 May 2013 21:09:49 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcQEH-0007XC-P4 for emacs-orgmode@gnu.org; Tue, 14 May 2013 21:10:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcQEF-0007BS-Dm for emacs-orgmode@gnu.org; Tue, 14 May 2013 21:10:05 -0400 Received: from mail-ie0-x235.google.com ([2607:f8b0:4001:c03::235]:48276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcQEF-00079D-8U for emacs-orgmode@gnu.org; Tue, 14 May 2013 21:10:03 -0400 Received: by mail-ie0-f181.google.com with SMTP id x12so2531164ief.12 for ; Tue, 14 May 2013 18:10:02 -0700 (PDT) Received: from Anupams-MacBook-Pro.local (dynamic-acs-24-101-168-157.zoominternet.net. [24.101.168.157]) by mx.google.com with ESMTPSA id wn10sm27075942igb.2.2013.05.14.18.09.59 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 14 May 2013 18:10:00 -0700 (PDT) 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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi, 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). The Org files are: test.org: ========= #+SETUPFILE: ~/setup.org #+TAGS: @Work(w) @Home(h) * The top entry SCHEDULED: <2013-05-14 Tue> setup.org: ========== #+TAGS: email(e) call(c) With the setup above, invoking C-c C-q on the first entry in the _buffer_ displays *only* the two tag entries from setup.org; i.e.: ================================================================ Inherited: Current: [e] email [c] call ================================================================ And invoking C-c C-q in the _agenda_ for this entry displays *only* the two entries from the in-buffer tag settings: ================================================================ Inherited: Current: [w] @Work [h] @Home ================================================================ In prior versions of orgmode (prior to 8.0.x), all four tags would be displayed in the tag selection buffer. I have attached the test files. Regards, -- Anupam --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename=test.org Content-Description: test.org #+SETUPFILE: ~/setup.org #+TAGS: @Work(w) @Home(h) * The top entry SCHEDULED: <2013-05-14 Tue> --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename=setup.org Content-Description: setup.org #+TAGS: email(e) call(c) --=-=-=--