emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Anupam Sengupta <anupamsg@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Tag selection is inconsistent when loaded from #+SETUPFILE in orgmode 8.0.x
Date: Tue, 14 May 2013 21:09:49 -0400	[thread overview]
Message-ID: <m238tpcale.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1312 bytes --]

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: test.org --]
[-- Type: text/x-org, Size: 98 bytes --]

#+SETUPFILE: ~/setup.org
#+TAGS: @Work(w) @Home(h)

* The top entry
  SCHEDULED: <2013-05-14 Tue>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: setup.org --]
[-- Type: text/x-org, Size: 25 bytes --]

#+TAGS: email(e) call(c)

             reply	other threads:[~2013-05-15  1:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15  1:09 Anupam Sengupta [this message]
2013-05-16  8:35 ` [BUG] Tag selection is inconsistent when loaded from #+SETUPFILE in orgmode 8.0.x Bastien
2013-05-24  0:33   ` Anupam Sengupta
2013-07-03 15:05     ` Bastien

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m238tpcale.fsf@gmail.com \
    --to=anupamsg@gmail.com \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).