emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* tag groups
@ 2013-05-25 14:55 Maurice
  2013-07-03 14:04 ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Maurice @ 2013-05-25 14:55 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I have a problem about groups of tags.

In my custom-file, I defined :

 '(org-tag-alist
(quote
 (("projet" . 112)
  ("suspendu" . 122)
  (:startgroup "lieu")
  ("@dehors" . 100)
  (:grouptags)
  ("@lieu1" . 97)
  ("@lieu2" . 118)
  (:endgroup))))
 '(org-tag-faces nil)
 '(org-tag-persistent-alist
(quote
 (("note" . 110)
  ("noexport" . 120)
  ("lien" . 98)
  ("crypt" . 99))))
 '(org-tags-exclude-from-inheritance (quote ("crypt")))
 '(org-tags-match-list-sublevels (quote indented))

Now, I get 

value for : org-tag-alist

(("projet" . 112)
 ("suspendu" . 122)
 (:startgroup "lieu")
 ("@dehors" . 100)
 (:grouptags)
 ("@lieu1" . 97)
 ("@lieu2" . 118)
 (:endgroup))

 value for : org-tag-persistent-alist
 
(("note" . 110)
 ("noexport" . 120)
 ("lien" . 98)
 ("crypt" . 99))
 
value for : org-tag-alist-for-agenda

 ((:startgroup)
 ("prêté" . 112)
 ("emprunté" . 101)
 (:endgroup)
 ("note" . 110)
 ("noexport" . 120)
 ("lien" . 98)
 ("crypt" . 99)
 ("projet" . 112)
 ("suspendu" . 122)
 (:startgroup "lieu")
 ("@dehors" . 100)
 (:grouptags)
 ("@lieu1" . 97)
 ("@lieu2" . 118))
 
org-tag-groups-alist 
org-tag-groups-alist-for-agenda

keep their original value : nil

If I filter by tag @dehors, I do not get the new filter by tags @dehors or @lieu1 or @lieu2.

Versions :
 
 GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-05-11 on gkar, modified by Debian

 Org-mode version 8.0.3 (release_8.0.3-150-g61d8eb @ /home/momo/.emacs.d/vendor/org-mode/lisp/)

Thanks,

Maurice

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: tag groups
  2013-05-25 14:55 tag groups Maurice
@ 2013-07-03 14:04 ` Bastien
  2013-07-06  9:00   ` Maurice
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2013-07-03 14:04 UTC (permalink / raw)
  To: Maurice; +Cc: emacs-orgmode

Hi Maurice,

Maurice <zarbi@aliceadsl.fr> writes:

> value for : org-tag-alist-for-agenda
>
>  ((:startgroup)
>  ("prêté" . 112)
>  ("emprunté" . 101)
>  (:endgroup)
>  ("note" . 110)
>  ("noexport" . 120)
>  ("lien" . 98)
>  ("crypt" . 99)
>  ("projet" . 112)
>  ("suspendu" . 122)
>  (:startgroup "lieu")
>  ("@dehors" . 100)
>  (:grouptags)
>  ("@lieu1" . 97)
>  ("@lieu2" . 118))

You're missing an :endgroup here -- that's weird.

> org-tag-groups-alist 
> org-tag-groups-alist-for-agenda
>
> keep their original value : nil
>
> If I filter by tag @dehors, I do not get the new filter by tags
> @dehors or @lieu1 or @lieu2.

I just fixed a bug wrt to handling the "@" character in tags.

Can you pull from the git repo and report if you still have the
issue you reported?  If so, please add an example I can quickly
use to reproduce the problem.

Thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: tag groups
  2013-07-03 14:04 ` Bastien
@ 2013-07-06  9:00   ` Maurice
  2013-07-06 11:28     ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Maurice @ 2013-07-06  9:00 UTC (permalink / raw)
  To: emacs-orgmode

Hi, Bastien,

Bastien <bzg@gnu.org> écrivit :

>> value for : org-tag-alist-for-agenda
>>
>>  ((:startgroup)
>>  ("prêté" . 112)
>>  ("emprunté" . 101)
>>  (:endgroup)
>>  ("note" . 110)
>>  ("noexport" . 120)
>>  ("lien" . 98)
>>  ("crypt" . 99)
>>  ("projet" . 112)
>>  ("suspendu" . 122)
>>  (:startgroup "lieu")
>>  ("@dehors" . 100)
>>  (:grouptags)
>>  ("@lieu1" . 97)
>>  ("@lieu2" . 118))
>
> You're missing an :endgroup here -- that's weird.

No, this value was the result of the command « describe-variable org-tag-alist-for-agenda »

> Can you pull from the git repo and report if you still have the
> issue you reported?  If so, please add an example I can quickly
> use to reproduce the problem.

The problem is still there in the last git repo :
release_8.0.5-314-g0bab94

My minimal emacs :

--8<---------------cut here---------------start------------->8---
(add-to-list 'load-path (expand-file-name "~/.emacs.d/vendor/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/vendor/org-mode/contrib/lisp"))
(add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
(setq org-agenda-files '("~/org/temp.org"))
(require 'org)

(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)

(setq org-tag-alist
(quote
 (("projet" . 112)
  ("suspendu" . 122)
  (:startgroup "lieu")
  ("@dehors" . 100)
  (:grouptags)
  ("@lieu1" . 97)
  ("@lieu2" . 118)
  (:endgroup "lieu"))))
--8<---------------cut here---------------end--------------->8---

My temp.org :

--8<---------------cut here---------------start------------->8---
# -*- mode: org ; coding: utf-8 -*-

* Un								    :@dehors:
test1

* Deux								     :@lieu1:
test2

* Trois								     :@lieu2:
test3

* Quatre							      :@lieu1:
test4
--8<---------------cut here---------------end--------------->8---

Maybe, I forget something. Anyway thanks for your investigation.

Maurice

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: tag groups
  2013-07-06  9:00   ` Maurice
@ 2013-07-06 11:28     ` Bastien
  2013-07-06 14:19       ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2013-07-06 11:28 UTC (permalink / raw)
  To: Maurice; +Cc: emacs-orgmode

Hi Maurice,

Maurice <zarbi@aliceadsl.fr> writes:

> No, this value was the result of the command « describe-variable
> org-tag-alist-for-agenda »

Yes -- but somehow the value of this variable is not correctly set.

I will try your minimal example and check, thanks for sharing it.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: tag groups
  2013-07-06 11:28     ` Bastien
@ 2013-07-06 14:19       ` Bastien
  2013-07-09 18:05         ` Maurice
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2013-07-06 14:19 UTC (permalink / raw)
  To: Maurice; +Cc: emacs-orgmode

Hi Maurice,

Bastien <bzg@gnu.org> writes:

> I will try your minimal example and check, thanks for sharing it.

I pushed a fix.  Please try against the maint or master branch when
you get a chance.  Thanks for reporting this!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: tag groups
  2013-07-06 14:19       ` Bastien
@ 2013-07-09 18:05         ` Maurice
  2013-07-09 18:07           ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Maurice @ 2013-07-09 18:05 UTC (permalink / raw)
  To: emacs-orgmode

Bastien,

Bastien <bzg@gnu.org> écrivit :

> I pushed a fix.  Please try against the maint or master branch when
> you get a chance.  Thanks for reporting this!

Sorry for my late reply : I'm living in vacation-mode...

I activate group of tags after your fix with good returns.

Many thanks for your precious work,

Maurice

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: tag groups
  2013-07-09 18:05         ` Maurice
@ 2013-07-09 18:07           ` Bastien
  0 siblings, 0 replies; 7+ messages in thread
From: Bastien @ 2013-07-09 18:07 UTC (permalink / raw)
  To: Maurice; +Cc: emacs-orgmode

Hi Maurice,

Maurice <zarbi@aliceadsl.fr> writes:

> I activate group of tags after your fix with good returns.

Thanks for taking the time to confirm this!

Happy holiday,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-07-09 18:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-25 14:55 tag groups Maurice
2013-07-03 14:04 ` Bastien
2013-07-06  9:00   ` Maurice
2013-07-06 11:28     ` Bastien
2013-07-06 14:19       ` Bastien
2013-07-09 18:05         ` Maurice
2013-07-09 18:07           ` Bastien

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).