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 Wmb+Amq5w1/AVQAA0tVLHw (envelope-from ) for ; Sun, 29 Nov 2020 15:08:26 +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 cNPSOWm5w19DOwAAB5/wlQ (envelope-from ) for ; Sun, 29 Nov 2020 15:08:25 +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 75927940466 for ; Sun, 29 Nov 2020 15:08:25 +0000 (UTC) Received: from localhost ([::1]:35274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjOJM-0002KL-5t for larch@yhetil.org; Sun, 29 Nov 2020 10:08:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjOJ0-0002KC-Pl; Sun, 29 Nov 2020 10:08:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40680) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjOJ0-0000mk-Id; Sun, 29 Nov 2020 10:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjOJ0-0003rS-Dp; Sun, 29 Nov 2020 10:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44935: Emacs inserts hardwired org-agenda-files variable, overwriting user options Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Sun, 29 Nov 2020 15:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44935 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: To: daniela-spit@gmx.it Received: via spool by 44935-submit@debbugs.gnu.org id=B44935.160666246914815 (code B ref 44935); Sun, 29 Nov 2020 15:08:02 +0000 Received: (at 44935) by debbugs.gnu.org; 29 Nov 2020 15:07:49 +0000 Received: from localhost ([127.0.0.1]:52226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjOIm-0003qs-VH for submit@debbugs.gnu.org; Sun, 29 Nov 2020 10:07:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjOIl-0003qf-4J for 44935@debbugs.gnu.org; Sun, 29 Nov 2020 10:07:47 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35043) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjOIf-0000gx-Pm; Sun, 29 Nov 2020 10:07:41 -0500 Received: from [176.228.60.248] (port=1464 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kjOIe-0004PP-Fc; Sun, 29 Nov 2020 10:07:41 -0500 Date: Sun, 29 Nov 2020 17:07:30 +0200 Message-Id: <837dq4mcb1.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (daniela-spit@gmx.it) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44935@debbugs.gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.78 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: AngQ3LNCrK2P > From: daniela-spit@gmx.it > Date: Sat, 28 Nov 2020 22:34:07 +0100 > > I have identified a problem. Let a user set the files to be used for > Org Agenda in .emacs as follows, and consider the situation when the > file writing.rcl.org does not exist. > > (setq org-agenda-files > '("~/02histr/gadmin/writing.rcl.org" > "~/02histr/gadmin/meeting.rcl.org" > "~/02histr/gadmin/household.rcl.org")) > > Emacs demands that the file writing.rcl.org be removed from org-agenda-files. > Then Emacs sabotages the user's settings by hardwiring org-agenda-files at the > end of the file .emacs by inserting: > > (custom-set-variables > ;; custom-set-variables was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(org-agenda-files > '("~/02histr/gadmin/meeting.rcl.org" "~/02histr/gadmin/household.rcl.org"))) > > This should be considered a bug. Shouldn't this be reported to the Org developers?