From mboxrd@z Thu Jan 1 00:00:00 1970 From: maurice@mboucher.info Subject: agenda does not call file Date: Mon, 06 Dec 2010 18:20:14 +0100 Message-ID: <87hbeqyg1d.fsf@lonovo.maison.ici> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=32837 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPeh3-0001sN-46 for emacs-orgmode@gnu.org; Mon, 06 Dec 2010 12:17:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPeh1-0001p1-R5 for emacs-orgmode@gnu.org; Mon, 06 Dec 2010 12:17:41 -0500 Received: from smtp4-g21.free.fr ([212.27.42.4]:47936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPeh1-0001oR-7c for emacs-orgmode@gnu.org; Mon, 06 Dec 2010 12:17:39 -0500 Received: from lonovo.maison.ici (unknown [82.251.6.104]) by smtp4-g21.free.fr (Postfix) with ESMTP id E500C4C81F6 for ; Mon, 6 Dec 2010 18:17:32 +0100 (CET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi org-moders, 1 configuration ~~~~~~~~~~~~~~~ Below, a piece of my org-agenda-custom-commands. I want to obtain my notes from my ordinary agenda files and from carto.org. Some of them are tagged "note" with the property CATEGORY "openstreetmap" ("n" . "Notes") ("na" "toutes" tags "note" nil) ("nc" "connexions" ((tags "CATEGORY=3D\"connexions internet\"+note" ((org-agenda-remove-tags t)) ))) ("no" "osm" ( (tags "CATEGORY=3D\"openstreetmap\"+note" ((org-agenda-remove-tags t))) (tags "CATEGORY=3D\"openstreetmap\"+note" ((org-agenda-files '("/home/momo/org/ordi/carto.org")) (org-agenda-remove-tags t) )) )) 2 manip1 ~~~~~~~~ With C-c a n o, my agenda looks like : 2.1 bad ------- ,---- | Headlines with TAGS match: CATEGORY=3D"openstreetmap"+note | openstreetmap: osmosis | openstreetmap: org et osm ou gmap : pour indiquer un lieu | openstreetmap: Exemple de lettre =C3=A0 l'administration pour lib= =C3=A9rer les donn=C3=A9es |=20 | =3D=3D=3D=3D | Headlines with TAGS match: CATEGORY=3D"openstreetmap"+note `---- 3 manip2 ~~~~~~~~ Now, I load file carto.org and if I lock agenda restriction to this file (C-c C-x <) I get : 3.1 good -------- ,---- | Headlines with TAGS match: CATEGORY=3D"openstreetmap"+note | openstreetmap: Openstreetmap | openstreetmap: josm et tilecache | openstreetmap: fichier traces | openstreetmap: commandes | openstreetmap: marquage d'un endroit ? | openstreetmap: cartes v=C3=A9lo et pi=C3=A9tion garmin | openstreetmap: cartes garmin de Geofabrik | openstreetmap: commande osmosis | openstreetmap: OpenStreetMap/OpenLayers and Privoxy | openstreetmap: Finding all affected URLs | openstreetmap: Comparing the files |=20=20 | =3D=3D=3D | Headlines with TAGS match: CATEGORY=3D"openstreetmap"+note | openstreetmap: Openstreetmap | openstreetmap: josm et tilecache | openstreetmap: fichier traces | openstreetmap: commandes | openstreetmap: marquage d'un endroit ? | openstreetmap: cartes v=C3=A9lo et pi=C3=A9tion garmin | openstreetmap: cartes garmin de Geofabrik | openstreetmap: commande osmosis | openstreetmap: OpenStreetMap/OpenLayers and Privoxy | openstreetmap: Finding all affected URLs | openstreetmap: Comparing the files `---- 4 manip3 ~~~~~~~~ I "agenda lock agenda restriction remove" ( C-c C-x >), I get : 4.1 excellent ------------- ,---- | Headlines with TAGS match: CATEGORY=3D"openstreetmap"+note | openstreetmap: osmosis | openstreetmap: org et osm ou gmap : pour indiquer un lieu | openstreetmap: Exemple de lettre =C3=A0 l'administration pour lib= =C3=A9rer les donn=C3=A9es |=20 | =3D=3D=3D | Headlines with TAGS match: CATEGORY=3D"openstreetmap"+note | openstreetmap: Openstreetmap | openstreetmap: josm et tilecache | openstreetmap: fichier traces | openstreetmap: commandes | openstreetmap: marquage d'un endroit ? | openstreetmap: cartes v=C3=A9lo et pi=C3=A9tion garmin | openstreetmap: cartes garmin de Geofabrik | openstreetmap: commande osmosis | openstreetmap: OpenStreetMap/OpenLayers and Privoxy | openstreetmap: Finding all affected URLs | openstreetmap: Comparing the files `---- 5 Conclusion ~~~~~~~~~~~~ If I kill the buffer carto.org, I need to repeat manip2 and manip3 to succeed. Just reloading file carto.org is inefficient. I suppose the agenda command does not consider the required file (carto.org), even if this command loads it - I can see it in list of buffers.=20 Maybe my configuration is wrong and of course, no errors occur at any time. emacs : GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-11-04 on barber, modified by Debian org-mode : 7.3 Thanks for future explanation, Maurice