From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CNQSKggJxF8TDQAA0tVLHw (envelope-from ) for ; Sun, 29 Nov 2020 20:48:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mAnVJQgJxF9RHgAAB5/wlQ (envelope-from ) for ; Sun, 29 Nov 2020 20:48:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CAF1D940367 for ; Sun, 29 Nov 2020 20:48:07 +0000 (UTC) Received: from localhost ([::1]:55900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjTc5-00064a-4H for larch@yhetil.org; Sun, 29 Nov 2020 15:48:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjTb5-00062l-7U for emacs-orgmode@gnu.org; Sun, 29 Nov 2020 15:47:03 -0500 Received: from mout.gmx.net ([212.227.17.22]:46193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjTb3-0003kc-12 for emacs-orgmode@gnu.org; Sun, 29 Nov 2020 15:47:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606682787; bh=Tb2T02PT0h7T03KW0jr9J9Be/35iHjmqORan9I/We5s=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=MNkNPpjw5QxSqJ41UviRGK7zOIAEyQqK+E+kghsYNRWKkyEPolcoYs6X2oh7eY3HB 8AuKZGPt2zqfEOJDY6ooNl0W0+4RvbqBoPYzNcg1luk/4VJP/DNMc2850F19PHQDcn c8BlwzYzn2JySsNG96l/VdSSavcdxHGYXRo5ae/k= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs12.server.lan [172.19.170.180]) (via HTTP); Sun, 29 Nov 2020 21:46:27 +0100 MIME-Version: 1.0 Message-ID: From: daniela-spit@gmx.it To: Jean Louis Subject: Re: Emacs inserts hardwired org-agenda-files variable, overwriting user options Content-Type: text/plain; charset=UTF-8 Date: Sun, 29 Nov 2020 21:46:27 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:TAbBIodmaPtpHbV+f3KcOqOBfNI000twPOeZN9+2TKRnxNo5Lxxc/+8fM2QsbHs91eIxM BEdnofc3cHHGb0WWL7FbYqljyTGBbyVZL4g44NZ5/tWovKROY3bc2HjqnrB23YCgZ5MzcY9t2x3w nQeXzpJD1Px0ECjgRAjG9xd73T2GDaoFGgFlWz9vEEXMPE89uzvGGlGpR62jCqZnUgNzd4f/uLkN fCsvTUbkp5hkyN5DhTgnvgAkqr+2nlXzi/bRXYZthpw3oxm1z0GqXprhAjdISr5+vaHjcWDLEvcm As= X-UI-Out-Filterresults: notjunk:1;V03:K0:7y2hEpBy7oM=:JFwGLowYj1Gw6CA67OOvdU gqX3eiX7vS6T2Y/SffEibaHv3BKQ6P961ubRkC2NMlvrRbgWm8cia4BjWOC8Qo0E0hgZ2Te5I 03u7chuncVtEPWlINowhDL53bIbFVTHMlVsWqBzPR2GkEvA9pl4Rh3C0edO6asLcSdi2AUysX Ayumg/Pb2QFjiE3bWb+iu+4klXLHWNz1z+vPVNKsKMd9A+ii6fB8Iyy7JNTKtFeDcMeN6xxRR Fp5Z30hKICU6tczFiC3QrN2HeWIcGga9qdZGdKsoHML2hihL9gRd0k0z0xL9fS3uAT/IqY0dr 0x1srXT1TT7MedQtOcoDMM+tYWH/BFW7sn1Ypkd33YvlgwDliquldb1fGV3AqbKzRc5a6ccac WX3A9rampalJtLV17JC/ZLuorueoKGdVkVV90jhG2RUtL8X+3S3VKMo5maw4hNFSdDff7vhAQ +VNYXsEdheDZ9JSHU4ZEVnX4gHzi0vv79lESQPR/CCztDSQu3XrCZSlMKi1ae6qvfM2OIJU6R g+Hrm7TE5yGwsqFsurG0piyZdJWRPDvYgxn7+gDa61bLpF3/7nzqb4ZqWnuEFzs1b9Ktj4rsM 30Vyt/xT8LhvU= Received-SPF: pass client-ip=212.227.17.22; envelope-from=daniela-spit@gmx.it; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-Mode mailing list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.98 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=MNkNPpjw; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-TUID: ccPk3jEHuA9T > Sent: Sunday, November 29, 2020 at 9:15 PM > From: "Jean Louis" > To: daniela-spit@gmx=2Eit > Cc: "Org-Mode mailing list" > Subject: Re: Emacs inserts hardwired org-agenda-files variable, overwrit= ing user options > > * daniela-spit@gmx=2Eit [2020-11-29 21:54]: > > I have identified a problem=2E Let a user set the files to be used for > > Org Agenda in =2Eemacs as follows, and consider the situation when the > > file writing=2Ercl=2Eorg does not exist=2E > >=20 > > (setq org-agenda-files > > '("~/02histr/gadmin/writing=2Ercl=2Eorg" > > "~/02histr/gadmin/meeting=2Ercl=2Eorg" > > "~/02histr/gadmin/household=2Ercl=2Eorg")) > >=20 > > Emacs demands that the file writing=2Ercl=2Eorg be removed from org-ag= enda-files=2E > > Then Emacs sabotages the user's settings by hardwiring org-agenda-file= s at the > > end of the file =2Eemacs by inserting: >=20 > I know that nugging=2E Look what I have found for variable > `org-agenda-files' by using inspection with > {C-h v RET org-agenda-files RET} >=20 > ,---- > | Documentation: > | The files to be used for agenda display=2E > |=20 > | If an entry is a directory, all files in that directory that are match= ed > | by =E2=80=98org-agenda-file-regexp=E2=80=99 will be part of the file l= ist=2E > |=20 > | If the value of the variable is not a list but a single file name, the= n > | the list of agenda files is actually stored and maintained in that fil= e, > | one agenda file per line=2E In this file paths can be given relative = to > | =E2=80=98org-directory=E2=80=99=2E Tilde expansion and environment va= riable substitution > | are also made=2E > |=20 > | Entries may be added to this list with =E2=80=98M-x org-agenda-file-to= -front=E2=80=99 > | and removed with =E2=80=98M-x org-remove-file=E2=80=99=2E > `---- >=20 > Maybe you could try the approach to customize it not to be a list by > single file name=2E Then in that file name you put files one by one=2E =20 Yes, but initially people and going to take my dani=2Eel file and if they happen to delete their file, the whole setup will break down=2E =20 Org should stop trying to delete the file from the list=2E One can use=20 (file-expand-wildcards "~/02histr/gadmin/*=2Eorg") Not everyone wants agenda to simply use all the files=2E For instance I usually want agenda on just a few projects in the directory=2E I have all the files exist now so do not get problems=2E =20 But, for those coping the file and trying to get it to work is fraught with difficulties, with emacs trying to do weird things behind your back=2E