core: change default value of option weechat.look.hotlist_add_conditions (closes #1206)

Now if there are at least one relay client connected via weechat protocol,
the buffer is always added to the hotlist.
v2.8-utf8proc
Sébastien Helleu 2018-06-14 22:22:06 +02:00
parent 744ded04bd
commit 261cbdae0d
21 changed files with 61 additions and 37 deletions

View File

@ -20,6 +20,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
New features::
* core: change default value of option weechat.look.hotlist_add_conditions to check connected relay clients via weechat protocol (issue #1206)
* core: add reverse of string in evaluation of expressions with "rev:" (issue #1200)
* core: send buffer pointer (when possible) in signal "hotlist_changed" (issue #1133)
* core: add support of list options in curl (issue #826, issue #219)

View File

@ -732,7 +732,7 @@
** Beschreibung: pass:none[Bedingungen um einen Buffer in die Hotlist einzutragen (sofern der Notify-Level für den Buffer korrekt ist); es können folgende Bedingungen genutzt werden: "window" (zur Zeit genutzter Window-Pointer), "buffer" (Buffer-Pointer welcher zur Hotlist hinzugefügt werden soll), "priority" (0 = niedrig, 1 = Nachricht, 2 = Privat, 3 = Highlight); standardmäßig wird ein Buffer in die Hotlist eingetragen falls man abwesend sein sollte oder falls der Buffer nicht auf dem Bildschirm sichtbar ist (Buffer wird nicht in einem Fenster dargestellt)]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
** Standardwert: `+"${away} || ${buffer.num_displayed} == 0"+`
** Standardwert: `+"${away} || ${buffer.num_displayed} == 0 || ${info:relay_client_count,weechat,connected} > 0"+`
* [[option_weechat.look.hotlist_buffer_separator]] *weechat.look.hotlist_buffer_separator*
** Beschreibung: pass:none[Zeichen welches zum Trennen zwischen den verschiedenen Buffern in der Hotlist genutzt werden soll]

View File

@ -732,7 +732,7 @@
** description: pass:none[conditions to add a buffer in hotlist (if notify level is OK for the buffer); you can use in these conditions: "window" (current window pointer), "buffer" (buffer pointer to add in hotlist), "priority" (0 = low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added to hotlist if you are away, or if the buffer is not visible on screen (not displayed in any window)]
** type: string
** values: any string
** default value: `+"${away} || ${buffer.num_displayed} == 0"+`
** default value: `+"${away} || ${buffer.num_displayed} == 0 || ${info:relay_client_count,weechat,connected} > 0"+`
* [[option_weechat.look.hotlist_buffer_separator]] *weechat.look.hotlist_buffer_separator*
** description: pass:none[string displayed between buffers in hotlist]

View File

@ -732,7 +732,7 @@
** description: pass:none[conditions pour ajouter un tampon dans la hotlist (si le niveau de notification est OK pour le tampon) ; vous pouvez utiliser dans ces conditions : \"window\" (pointeur de la fenêtre courante), \"buffer\" (pointeur du tampon à ajouter dans la hotlist), "priority" (0 = faible, 1 = message, 2 = privé, 3 = highlight) ; par défaut un tampon est ajouté dans la hotlist si vous êtes absent, ou si le tampon n'est pas visible à l'écran (pas affiché dans une fenêtre)]
** type: chaîne
** valeurs: toute chaîne
** valeur par défaut: `+"${away} || ${buffer.num_displayed} == 0"+`
** valeur par défaut: `+"${away} || ${buffer.num_displayed} == 0 || ${info:relay_client_count,weechat,connected} > 0"+`
* [[option_weechat.look.hotlist_buffer_separator]] *weechat.look.hotlist_buffer_separator*
** description: pass:none[chaîne affichée entre les tampons dans la hotlist]

View File

@ -732,7 +732,7 @@
** descrizione: pass:none[conditions to add a buffer in hotlist (if notify level is OK for the buffer); you can use in these conditions: "window" (current window pointer), "buffer" (buffer pointer to add in hotlist), "priority" (0 = low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added to hotlist if you are away, or if the buffer is not visible on screen (not displayed in any window)]
** tipo: stringa
** valori: qualsiasi stringa
** valore predefinito: `+"${away} || ${buffer.num_displayed} == 0"+`
** valore predefinito: `+"${away} || ${buffer.num_displayed} == 0 || ${info:relay_client_count,weechat,connected} > 0"+`
* [[option_weechat.look.hotlist_buffer_separator]] *weechat.look.hotlist_buffer_separator*
** descrizione: pass:none[stringa mostrata tra i buffer nella hotlist]

View File

@ -732,7 +732,7 @@
** 説明: pass:none[ホットリストでバッファを追加する条件 (追加するバッファの通知レベルが OK の場合); 以下の条件を使うことができます: "window" (現在のウィンドウポインタ)、"buffer" (ホットリストに追加するバッファポインタ)、"priority" (0 = 低い、1 = メッセージ、2 = プライベートメッセージ、3 = ハイライト); デフォルトでは離席状態またはバッファが画面に表示されていない場合にホットリストへバッファを追加します]
** タイプ: 文字列
** 値: 未制約文字列
** デフォルト値: `+"${away} || ${buffer.num_displayed} == 0"+`
** デフォルト値: `+"${away} || ${buffer.num_displayed} == 0 || ${info:relay_client_count,weechat,connected} > 0"+`
* [[option_weechat.look.hotlist_buffer_separator]] *weechat.look.hotlist_buffer_separator*
** 説明: pass:none[ホットリストにあるバッファの間に表示される文字列]

View File

@ -732,7 +732,7 @@
** opis: pass:none[warunki dla dodania buforu na hotlistę (jeśli poziom powiadomień jest OK dla bufora); możesz użyć następujących warunków: "window" (wskaźnik obecnego okna), "buffer" (wskaźnik bufora do dodania na hotlistę), "priority" (0 = niski, 1 = wiadomość, 2 = rozmowa prywatna, 3 = highlight); domyślnie bufor jest dodawany do hotlisty jeśli jesteś niedostępny lub jeśli bufor nie jest widoczny na ekranie (nie jest wyświetlany w żadnym oknie)]
** typ: ciąg
** wartości: dowolny ciąg
** domyślna wartość: `+"${away} || ${buffer.num_displayed} == 0"+`
** domyślna wartość: `+"${away} || ${buffer.num_displayed} == 0 || ${info:relay_client_count,weechat,connected} > 0"+`
* [[option_weechat.look.hotlist_buffer_separator]] *weechat.look.hotlist_buffer_separator*
** opis: pass:none[ciąg znaków wyświetlany pomiędzy buforami w hotliście]

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3177,7 +3177,8 @@ msgid ""
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
msgid "string displayed between buffers in hotlist"

View File

@ -24,7 +24,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2018-06-02 19:45+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@ -3805,13 +3805,15 @@ msgstr ""
"\"irc_notice+nick_toto*\" für Notice-Nachrichten von Nicks, die mit \"toto\" "
"beginnen"
#, fuzzy
msgid ""
"conditions to add a buffer in hotlist (if notify level is OK for the "
"buffer); you can use in these conditions: \"window\" (current window "
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
"Bedingungen um einen Buffer in die Hotlist einzutragen (sofern der Notify-"
"Level für den Buffer korrekt ist); es können folgende Bedingungen genutzt "

View File

@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3314,7 +3314,8 @@ msgid ""
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
msgid "string displayed between buffers in hotlist"

View File

@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"PO-Revision-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2018-06-14 22:03+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@ -3709,7 +3709,8 @@ msgid ""
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
"conditions pour ajouter un tampon dans la hotlist (si le niveau de "
"notification est OK pour le tampon) ; vous pouvez utiliser dans ces "
@ -3717,7 +3718,8 @@ msgstr ""
"\" (pointeur du tampon à ajouter dans la hotlist), \"priority\" (0 = faible, "
"1 = message, 2 = privé, 3 = highlight) ; par défaut un tampon est ajouté "
"dans la hotlist si vous êtes absent, ou si le tampon n'est pas visible à "
"l'écran (pas affiché dans une fenêtre)"
"l'écran (pas affiché dans une fenêtre), ou si au moins un client relay est "
"connecté via le protocole weechat"
msgid "string displayed between buffers in hotlist"
msgstr "chaîne affichée entre les tampons dans la hotlist"

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -2774,7 +2774,8 @@ msgid ""
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
#, fuzzy

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3412,7 +3412,8 @@ msgid ""
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
msgid "string displayed between buffers in hotlist"

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2018-06-11 09:00+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@ -3582,13 +3582,15 @@ msgstr ""
"\"nick_flashcode\"、ニックネームが \"toto\" で始まるユーザからの notice メッ"
"セージは \"irc_notice+nick_toto*\""
#, fuzzy
msgid ""
"conditions to add a buffer in hotlist (if notify level is OK for the "
"buffer); you can use in these conditions: \"window\" (current window "
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
"ホットリストでバッファを追加する条件 (追加するバッファの通知レベルが OK の場"
"合); 以下の条件を使うことができます: \"window\" (現在のウィンドウポイン"

View File

@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <>\n"
@ -3655,13 +3655,15 @@ msgstr ""
"\"irc_notice+nick_toto*\" dla powiadomień od nicka zaczynającego się na "
"\"toto\""
#, fuzzy
msgid ""
"conditions to add a buffer in hotlist (if notify level is OK for the "
"buffer); you can use in these conditions: \"window\" (current window "
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
"warunki dla dodania buforu na hotlistę (jeśli poziom powiadomień jest OK dla "
"bufora); możesz użyć następujących warunków: \"window\" (wskaźnik obecnego "

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@ -3618,13 +3618,15 @@ msgstr ""
"exemplos: \"nick_flashcode\" para mensagens do nick \"FlashCode\", "
"\"irc_notice+nick_toto*\" para os notices do nick começado com \"toto\""
#, fuzzy
msgid ""
"conditions to add a buffer in hotlist (if notify level is OK for the "
"buffer); you can use in these conditions: \"window\" (current window "
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
"condições para adicionar um buffer à hotlist (se o nível de notificação do "
"buffer for OK); pode utilizar as seguintes condições: \"window\" (ponteiro "

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2018-03-31 15:37+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3344,7 +3344,8 @@ msgid ""
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
msgid "string displayed between buffers in hotlist"

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2018-03-31 15:37+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -2800,7 +2800,8 @@ msgid ""
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
#, fuzzy

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -2524,7 +2524,8 @@ msgid ""
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
msgid "string displayed between buffers in hotlist"

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-06-14 21:51+0200\n"
"POT-Creation-Date: 2018-06-14 22:01+0200\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -2520,7 +2520,8 @@ msgid ""
"pointer), \"buffer\" (buffer pointer to add in hotlist), \"priority\" (0 = "
"low, 1 = message, 2 = private, 3 = highlight); by default a buffer is added "
"to hotlist if you are away, or if the buffer is not visible on screen (not "
"displayed in any window)"
"displayed in any window), or if at least one relay client is connected via "
"the weechat protocol"
msgstr ""
msgid "string displayed between buffers in hotlist"

View File

@ -2868,9 +2868,14 @@ config_weechat_init_options ()
"the buffer); you can use in these conditions: \"window\" (current "
"window pointer), \"buffer\" (buffer pointer to add in hotlist), "
"\"priority\" (0 = low, 1 = message, 2 = private, 3 = highlight); "
"by default a buffer is added to hotlist if you are away, or if the "
"buffer is not visible on screen (not displayed in any window)"),
NULL, 0, 0, "${away} || ${buffer.num_displayed} == 0",
"by default a buffer is added to hotlist if you are away, or "
"if the buffer is not visible on screen (not displayed in any "
"window), or if at least one relay client is connected via the "
"weechat protocol"),
NULL, 0, 0,
"${away} "
"|| ${buffer.num_displayed} == 0 "
"|| ${info:relay_client_count,weechat,connected} > 0",
NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
config_look_hotlist_buffer_separator = config_file_new_option (