1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 17:53:13 +02:00

core: always write all options in theme files

Theme files saved with /theme save and automatic backups now always
contain every themable option (full snapshot), so a theme file is
self-contained and round-trips exactly regardless of the current
configuration. The diff-only mode and the "-full" argument of
/theme save are removed.
This commit is contained in:
Sébastien Helleu
2026-07-04 21:52:47 +02:00
parent a5a94b18d4
commit 04e60b9cb0
25 changed files with 132 additions and 225 deletions
+3 -7
View File
@@ -2271,13 +2271,9 @@ Save the current themable options as a new user theme file:
/theme save mytheme
----
By default only options whose value differs from their hardcoded
default are written, keeping the file small and focused. To capture
every themable option:
----
/theme save mytheme -full
----
Every themable option is written, so the file is self-contained and
applies the exact same look on any WeeChat, regardless of its current
configuration.
Reserved names (built-in theme names like `+light+` and any name
starting with `+backup-+`) are refused. Files live at
+3 -7
View File
@@ -2258,13 +2258,9 @@ Save the current themable options as a new user theme file:
/theme save mytheme
----
By default only options whose value differs from their hardcoded
default are written, keeping the file small and focused. To capture
every themable option:
----
/theme save mytheme -full
----
Every themable option is written, so the file is self-contained and
applies the exact same look on any WeeChat, regardless of its current
configuration.
Reserved names (built-in theme names like `+light+` and any name
starting with `+backup-+`) are refused. Files live at
+3 -7
View File
@@ -2307,13 +2307,9 @@ thème utilisateur :
/theme save monTheme
----
Par défaut, seules les options dont la valeur diffère de la valeur par
défaut codée en dur sont écrites, ce qui garde le fichier compact et
ciblé. Pour capturer toutes les options modifiables :
----
/theme save monTheme -full
----
Toutes les options modifiables sont écrites, donc le fichier est
autonome et applique exactement le même aspect sur n'importe quel
WeeChat, quelle que soit sa configuration actuelle.
Les noms réservés (noms de thèmes intégrés comme `+light+` et tout nom
commençant par `+backup-+`) sont refusés. Les fichiers sont placés
+3 -7
View File
@@ -2513,13 +2513,9 @@ Save the current themable options as a new user theme file:
/theme save mytheme
----
By default only options whose value differs from their hardcoded
default are written, keeping the file small and focused. To capture
every themable option:
----
/theme save mytheme -full
----
Every themable option is written, so the file is self-contained and
applies the exact same look on any WeeChat, regardless of its current
configuration.
Reserved names (built-in theme names like `+light+` and any name
starting with `+backup-+`) are refused. Files live at
+3 -7
View File
@@ -2449,13 +2449,9 @@ Save the current themable options as a new user theme file:
/theme save mytheme
----
By default only options whose value differs from their hardcoded
default are written, keeping the file small and focused. To capture
every themable option:
----
/theme save mytheme -full
----
Every themable option is written, so the file is self-contained and
applies the exact same look on any WeeChat, regardless of its current
configuration.
Reserved names (built-in theme names like `+light+` and any name
starting with `+backup-+`) are refused. Files live at
+3 -7
View File
@@ -2265,13 +2265,9 @@ Save the current themable options as a new user theme file:
/theme save mytheme
----
By default only options whose value differs from their hardcoded
default are written, keeping the file small and focused. To capture
every themable option:
----
/theme save mytheme -full
----
Every themable option is written, so the file is self-contained and
applies the exact same look on any WeeChat, regardless of its current
configuration.
Reserved names (built-in theme names like `+light+` and any name
starting with `+backup-+`) are refused. Files live at
+3 -7
View File
@@ -2167,13 +2167,9 @@ Save the current themable options as a new user theme file:
/theme save mytheme
----
By default only options whose value differs from their hardcoded
default are written, keeping the file small and focused. To capture
every themable option:
----
/theme save mytheme -full
----
Every themable option is written, so the file is self-contained and
applies the exact same look on any WeeChat, regardless of its current
configuration.
Reserved names (built-in theme names like `+light+` and any name
starting with `+backup-+`) are refused. Files live at