In my init file I have my own code, however emacs is insisting on adding the following. This means that my settings are being disregarded. How can I stop emacs doing this?
(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"))) > Sent: Saturday, November 28, 2020 at 9:11 PM > From: daniela-s...@gmx.it > To: "Jeremie Juste" <jeremieju...@gmail.com> > Cc: "Org-Mode mailing list" <emacs-orgmode@gnu.org> > Subject: Re: Adding Org Files to org-agenda-files > > I've made some progress, I am getting > > File: ~/02histr/gadmin/meeting.rcl.org > > This happens even though I removed the file name from org-agenda-files > in my init file, and restarted another session. > > > Sent: Saturday, November 28, 2020 at 8:55 PM > > From: "Jeremie Juste" <jeremieju...@gmail.com> > > To: daniela-s...@gmx.it > > Cc: "Org-Mode mailing list" <emacs-orgmode@gnu.org> > > Subject: Re: Adding Org Files to org-agenda-files > > > > ||On Saturday, 28 Nov 2020 at 20:16, daniela-s...@gmx.it wrote: > > > Something is wrong. Now I have done as follows, but Org Agenda still > > > shows > > > meetings. > > > > You have two checks to make, > > > > 1. what is the content of org-agenda-files? > > 2. refresh the org-agenda with the command (org-agenda-redo) usually > > bounded to r in the org-agenda-mode > > > > HTH, > > Jeremie > > > > > > ||On Saturday, 28 Nov 2020 at 20:16, daniela-s...@gmx.it wrote: > > > Something is wrong. Now I have done as follows, but Org Agenda still > > > shows > > > meetings. > > > > > > (setq org-agenda-files > > > '("~/02histr/gadmin/todo.rcl.org" > > > "~/02histr/gadmin/writing.rcl.org" > > > "~/02histr/gadmin/health.rcl.org")) > > > > > > ;; "~/02histr/gadmin/meeting.rcl.org" > > > ;; "~/02histr/gadmin/household.rcl.org" > > > > > >> Sent: Saturday, November 28, 2020 at 8:01 PM > > >> From: "Jeremie Juste" <jeremieju...@gmail.com> > > >> To: daniela-s...@gmx.it > > >> Cc: "Org-Mode mailing list" <emacs-orgmode@gnu.org> > > >> Subject: Re: Adding Org Files to org-agenda-files > > >> > > >> || On Saturday, 28 Nov 2020 at 19:43, daniela-s...@gmx.it wrote: > > >> > Why does Agenda not simply honour the init file. Many fume something > > >> > awful > > >> > when you question them on how things are done. > > >> It turns out that it does. > > >> > > >> This what I have in my input file > > >> > > >> (setq org-agenda-files > > >> '("~/Documents/academic-project.org" "~/Documents/when-tired.org" > > >> "~/Documents/work.org" "~/Documents/refile.org" > > >> "~/Documents/todo.org")) > > >> > > >> just be careful about the custom-set-variables section. I you use > > >> the command (org-agenda-file-to-front) to add files to org-agenda-files, > > >> then if I'm not mistaken the org-agenda-files will get redefined in the > > >> custom-set-variables section. > > >> > > >> HTH, > > >> Best regards, > > >> Jeremie > > >> > > >> > > >> > > >> > > >> > > > > > > > -- > > Jeremie Juste > > > >