bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44935: Emacs inserts hardwired org-agenda-files variable, overwritin


From: daniela-spit
Subject: bug#44935: Emacs inserts hardwired org-agenda-files variable, overwriting user options
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.

Dani





reply via email to

[Prev in Thread] Current Thread [Next in Thread]