From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44935: Emacs inserts hardwired org-agenda-files variable, overwriting user options Date: Sun, 29 Nov 2020 17:07:30 +0200 Message-ID: <837dq4mcb1.fsf__34575.0184076437$1606662575$gmane$org@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15521"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44935@debbugs.gnu.org To: daniela-spit@gmx.it Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 29 16:09:31 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kjOKR-0003xR-Jw for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Nov 2020 16:09:31 +0100 Original-Received: from localhost ([::1]:37650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjOKP-0003J3-3u for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Nov 2020 10:09:29 -0500 Original-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 Original-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 Original-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 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 Original-Received: via spool by 44935-submit@debbugs.gnu.org id=B44935.160666246914815 (code B ref 44935); Sun, 29 Nov 2020 15:08:02 +0000 Original-Received: (at 44935) by debbugs.gnu.org; 29 Nov 2020 15:07:49 +0000 Original-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 Original-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 Original-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 Original-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 In-Reply-To: (daniela-spit@gmx.it) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194556 Archived-At: > 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?