[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65401: 30.0.50; custom-theme-directory :type could be enhanced
From: |
Mauro Aranda |
Subject: |
bug#65401: 30.0.50; custom-theme-directory :type could be enhanced |
Date: |
Sun, 20 Aug 2023 09:35:17 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Sun, 20 Aug 2023 08:28:48 -0300
>> Cc: 65401@debbugs.gnu.org
>> From: Mauro Aranda <maurooaranda@gmail.com>
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> > Does the directory have to exist?
>>
>> I don't think so. And I don't see a reason to force the existence by
>> putting a non-nil :must-match property.
>>
>> The function custom-theme--load-path takes care of filtering out
>> custom-theme-directory if it doesn't exist.
>
> If the directory doesn't have to exist, then what is the difference
> between :directory and :string?
Completion when editing via Customize is the only one it comes to my
mind right now (useful when the user wants to edit it to some directory
it already exists). Compare the results of:
emacs -Q
M-x customize-option RET custom-theme-directory
Enter ~/
M-TAB
and
emacs -Q
Eval the following
(defcustom custom-theme-directory user-emacs-directory
"Default user directory for storing custom theme files.
The command `customize-create-theme' writes theme files into this
directory. By default, Emacs searches for custom themes in this
directory first---see `custom-theme-load-path'."
:initialize #'custom-initialize-delay
:type 'directory
:group 'customize
:version "22.1")
M-x customize-option RET custom-theme-directory
Enter ~/
M-TAB
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced, Mauro Aranda, 2023/08/20
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced, Eli Zaretskii, 2023/08/20
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced, Mauro Aranda, 2023/08/20
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced, Eli Zaretskii, 2023/08/20
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced,
Mauro Aranda <=
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced, Eli Zaretskii, 2023/08/20
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced, Mauro Aranda, 2023/08/20
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced, Philip Kaludercic, 2023/08/21
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced, Eli Zaretskii, 2023/08/21
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced, Stefan Monnier, 2023/08/21
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced, Mauro Aranda, 2023/08/21
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced, Eli Zaretskii, 2023/08/26
- bug#65401: 30.0.50; custom-theme-directory :type could be enhanced, Mauro Aranda, 2023/08/21