* daniela-s...@gmx.it <daniela-s...@gmx.it> [2020-11-29 21:54]: > 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:
I know that nugging. Look what I have found for variable `org-agenda-files' by using inspection with {C-h v RET org-agenda-files RET} ,---- | Documentation: | The files to be used for agenda display. | | If an entry is a directory, all files in that directory that are matched | by ‘org-agenda-file-regexp’ will be part of the file list. | | If the value of the variable is not a list but a single file name, then | the list of agenda files is actually stored and maintained in that file, | one agenda file per line. In this file paths can be given relative to | ‘org-directory’. Tilde expansion and environment variable substitution | are also made. | | Entries may be added to this list with ‘M-x org-agenda-file-to-front’ | and removed with ‘M-x org-remove-file’. `---- Maybe you could try the approach to customize it not to be a list by single file name. Then in that file name you put files one by one.