From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maurice Subject: agenda does not call file Date: Wed, 01 Dec 2010 16:48:52 +0100 Message-ID: <871v61qysb.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=52364 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNot2-0005Z3-Oe for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 10:46:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNosw-0003MR-Nu for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 10:46:28 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:43210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNosw-0003Lg-4Q for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 10:46:22 -0500 Received: from lonovo.maison.ici (unknown [82.64.106.235]) by smtp2-g21.free.fr (Postfix) with ESMTP id 2E3234B01F7 for ; Wed, 1 Dec 2010 16:46:15 +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 =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 =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 =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. Thanks for future explanation, Maurice