emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeremie Juste <jeremiejuste@gmail.com>
To: daniela-spit@gmx.it
Cc: Tim Cross <theophilusx@gmail.com>,
	emacs-orgmode@gnu.org, Jean Louis <bugs@gnu.support>
Subject: Re: Adding Org Files to org-agenda-files
Date: Sun, 29 Nov 2020 21:55:34 +0100	[thread overview]
Message-ID: <878saj992x.fsf@gmail.com> (raw)
In-Reply-To: <trinity-67dfaf28-41ef-4556-9803-563606f163d4-1606671497525@3c-app-mailcom-bs12> (daniela-spit@gmx.it's message of "Sun, 29 Nov 2020 18:38:17 +0100")

Hello,

>> If you have *both* a settings in your emacs init file for
>> org-agenda-files using (setq org-agenda-files...) and you have a line in
>> your (custom ...) section, you should remove one of them to avoid
>> confusion. In general, what is in the custom section will take
>> preference as it is usually loaded last. If your going to remove the one
>> in the custom section, run M-x customize-variable <ret> org-agenda-files
>> <ret> and then select the options under the 'state' button to 'Erase
>> Customisation', don't just erase the values in the 'Value Menu' box.
>
> Emacs automatically introduced the custom, did not write it myself.
>
I fear I might have been the source of the confusion by suggesting
the command (org-agenda-file-to-front), which has triggered another
definition of org-agenda-file in the custom-set-variables section.  I
hadn't realized fully the consequences.

I apologize for this and I hope that it won't turn any user
against each other. I must confess that among the mailing-lists I have
subscribed to, this mailing list is the most cordial.

Yes using both the `custom-set-variables` section and setting variable
can introduce confusion. I am sure many of us have fallen prey to
(counting me many times).

At the same time it is convenient for some people to be able to
customize easily some variable and some users might use
custom-set-variables exclusively.

We just need to understand the consequences of it and I guess many
users of emacs eventually come to do with these two options and even use
the best of both world modifying directly variables in the init files
and using the custom-set-variables section.

It is a bug? I wouldn't say so. Can we explain to (new) users better
about it? Probably.

Best regards,
Jeremie


  reply	other threads:[~2020-11-29 20:56 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-28 15:39 daniela-spit
2020-11-28 16:51 ` Jeremie Juste
2020-11-28 16:54   ` daniela-spit
2020-11-28 17:01   ` daniela-spit
2020-11-28 17:41     ` Jeremie Juste
2020-11-28 18:12       ` daniela-spit
2020-11-28 18:30       ` daniela-spit
2020-11-28 18:43       ` daniela-spit
2020-11-28 19:01         ` Jeremie Juste
2020-11-28 19:16           ` daniela-spit
2020-11-28 19:26             ` Detlef Steuer
2020-11-28 19:44               ` daniela-spit
2020-11-28 19:55             ` Jeremie Juste
2020-11-28 20:06               ` daniela-spit
2020-11-28 20:11               ` daniela-spit
2020-11-28 20:27                 ` Jeremie Juste
2020-11-28 20:40                   ` daniela-spit
2020-11-28 21:32                     ` Jeremie Juste
2020-11-28 21:45                       ` daniela-spit
2020-11-28 23:18                         ` Jeremie Juste
2020-11-28 23:29                           ` daniela-spit
2020-11-29  1:36                             ` Tim Cross
2020-11-29  2:54                               ` daniela-spit
2020-11-29  3:51                                 ` Tim Cross
2020-11-29  4:05                                   ` daniela-spit
2020-11-29  5:23                                     ` Tim Cross
2020-11-29  9:30                                       ` Jean Louis
2020-11-29  6:50                                     ` Jean Louis
2020-11-29  6:41                                   ` Jean Louis
2020-11-29 12:28                                     ` Ihor Radchenko
2020-11-29 13:00                                       ` Tim Cross
2020-11-29 17:11                                         ` Jean Louis
2020-11-29 17:05                                       ` Jean Louis
2020-12-01  2:24                                         ` Ihor Radchenko
2020-12-01  8:59                                           ` Jean Louis
2020-12-13 15:36                                             ` Ihor Radchenko
2020-12-13 16:27                                               ` steve-humphreys
2020-12-25  2:17                                                 ` Ihor Radchenko
2020-12-13 20:21                                               ` Jean Louis
2020-12-13 20:59                                               ` Tim Cross
2020-12-13 21:59                                                 ` pietru
2020-12-13 23:28                                                 ` Jean Louis
2020-11-29  4:46                             ` Jean Louis
2020-11-29 14:46                               ` daniela-spit
2020-11-29 17:01                                 ` Tim Cross
2020-11-29 17:38                                   ` daniela-spit
2020-11-29 20:55                                     ` Jeremie Juste [this message]
2020-11-30  0:21                                       ` Tim Cross
2020-11-28 23:36                           ` daniela-spit
2020-11-29  5:51                             ` Jean Louis
2020-11-28 20:28                 ` daniela-spit
2020-11-28 18:50       ` daniela-spit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878saj992x.fsf@gmail.com \
    --to=jeremiejuste@gmail.com \
    --cc=bugs@gnu.support \
    --cc=daniela-spit@gmx.it \
    --cc=emacs-orgmode@gnu.org \
    --cc=theophilusx@gmail.com \
    --subject='Re: Adding Org Files to org-agenda-files' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).