diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-08-24 10:38:18 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-08-24 11:49:29 +0200 |
commit | 303fe6744e13e148fe3876826139ca30e5a8353c (patch) | |
tree | 7df69f911bac5c938d0be2cbe522aa4dc391a187 /doc/it | |
parent | 3aef8b7292330da6d4a7dd97ddb261baca3f33e3 (diff) | |
download | weechat-303fe6744e13e148fe3876826139ca30e5a8353c.zip |
core: add option `setauto` in command `/buffer` (issue #352)
Diffstat (limited to 'doc/it')
-rw-r--r-- | doc/it/weechat_faq.it.adoc | 26 | ||||
-rw-r--r-- | doc/it/weechat_user.it.adoc | 22 |
2 files changed, 8 insertions, 40 deletions
diff --git a/doc/it/weechat_faq.it.adoc b/doc/it/weechat_faq.it.adoc index e0234abc4..fb563fa10 100644 --- a/doc/it/weechat_faq.it.adoc +++ b/doc/it/weechat_faq.it.adoc @@ -1012,41 +1012,25 @@ Altri script correlati: [[disable_highlights_for_specific_nicks]] === How can I disable highlights for specific nicks? -// TRANSLATION MISSING You can use the link:weechat_user.it.html#max_hotlist_level_nicks[hotlist_max_level_nicks_add ^↗^^] buffer property to set the max hotlist level for some nicks, per buffer, or per group of buffers (like IRC servers). -To only disable highlights, you'd have to set it to 2: +To only disable highlights, you'd have to set it to 2. ----- -/buffer set hotlist_max_level_nicks_add joe:2,mike:2 ----- - -This buffer property isn't stored in the configuration though. -To automatically reapply these buffer properties, you would need the -_buffer_autoset.py_ script: +For the current buffer: ---- -/script install buffer_autoset.py +/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2 ---- -For example, to permanently disable highlights from "mike" on #weechat -on the IRC server libera: +For all channels on server "libera": ---- -/buffer_autoset add irc.libera.#weechat hotlist_max_level_nicks_add mike:2 +/set weechat.buffer.irc.libera.*.hotlist_max_level_nicks_add joe:2,mike:2 ---- -To apply it to the entire libera server instead: - ----- -/buffer_autoset add irc.libera hotlist_max_level_nicks_add mike:2 ----- - -For more examples, see `+/help buffer_autoset+`. - [[irc_target_buffer]] === Come si può modificare il buffer destinazione per i comandi sui buffer uniti (come i buffer con i server)? diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index 108c1fb6d..e28536830 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -2460,14 +2460,9 @@ and for each nick the max hotlist level to trigger, possible levels are: For example to disable highlights from "joe" and "mike" on current buffer: ---- -/buffer set hotlist_max_level_nicks_add joe:2,mike:2 +/buffer setauto hotlist_max_level_nicks_add joe:2,mike:2 ---- -[NOTE] -The buffer property "hotlist_max_level_nicks" is not saved in configuration. + -You can easily save it with the script _buffer_autoset.py_: you can install it -with `+/script install buffer_autoset.py+` and get help with `+/help buffer_autoset+`. - // TRANSLATION MISSING [[highlights]] === Highlights @@ -2494,15 +2489,9 @@ This can also be set with the buffer property "highlight_disable_regex". Same example, specific to the current buffer: ---- -/buffer set highlight_disable_regex <flash.*> +/buffer setauto highlight_disable_regex <flash.*> ---- -[NOTE] -The buffer property "highlight_disable_regex" is not saved in configuration. + -You can easily save it with the script _buffer_autoset.py_: you can install it -with `+/script install buffer_autoset.py+` and get help with -`+/help buffer_autoset+`. - [[highlights_words]] ==== Add words to highlight @@ -2557,14 +2546,9 @@ You can force highlight using a regular expression with the buffer property For example to force the highlight on all messages in the current buffer: ---- -/buffer set highlight_regex .* +/buffer setauto highlight_regex .* ---- -[NOTE] -The buffer property "highlight_regex" is not saved in configuration. + -You can easily save it with the script _buffer_autoset.py_: you can install it -with `+/script install buffer_autoset.py+` and get help with `+/help buffer_autoset+`. - // TRANSLATION MISSING [[buffer_logging]] === Buffer logging |