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

core: add option "jump_last_buffer_displayed" for command /input (key: alt+"/") (task #11553)

This commit is contained in:
Sebastien Helleu
2011-11-08 18:51:15 +01:00
parent 2f17dbe02f
commit 2c6d525045
27 changed files with 188 additions and 106 deletions
+3 -1
View File
@@ -1,12 +1,14 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.3.7-dev, 2011-11-07
v0.3.7-dev, 2011-11-08
Version 0.3.7 (under dev!)
--------------------------
* core: add option "jump_last_buffer_displayed" for command /input
(key: alt+"/") (task #11553)
* core: display error in command /buffer if arguments are wrong (bug #34180)
* core: add developer's guide (task #5416)
* core: add option weechat.history.max_buffer_lines_minutes: maximum number of
+2 -2
View File
@@ -6,7 +6,7 @@
@k\(S-\)=<span class="key shift">Shift</span><span class="keyplus">+</span>
@k\(-S-\)=<span class="key shift">Shift</span>
@k\(l\)=<span class="key">l</span><span class="keyplus"> (L)</span>
@k\(([A-Za-z0-9_&\=])\)=<span class="key">\1</span>
@k\(([a-z0-9_&\=][^)]*)\)=<span class="key">\1</span>
@k\(([A-Za-z0-9/_&\=])\)=<span class="key">\1</span>
@k\(([a-z0-9/_&\=][^)]*)\)=<span class="key">\1</span>
@k\(([^)]+)\)=<span class="key other">\1</span>
+47 -46
View File
@@ -273,53 +273,54 @@ value: Anzahl der gewünschten Einträgen im Befehlsverlauf anzeigen
........................................
/input <action> [<arguments>]
Auflistung der Aktionen:
return: simuliert die "enter" Taste
complete_next: vervollständigt Wort mit nächster Komplettierung
complete_previous: vervollständigt Word mit vorheriger Komplettierung
search_text: sucht nach Text im Buffer
search_switch_case: schaltet Groß-/Kleinschreibung ein und aus
search_previous: sucht vorheriger Zeile
search_next: sucht nächste Zeile
search_stop: suche stoppen
delete_previous_char: entfernt vorheriges Zeichen
delete_next_char: entfernt nächstes Zeichen
delete_previous_word: entfernt vorheriges Wort
delete_next_word: entfernt nächstes Wort
delete_beginning_of_line: entfernt alle Zeichen ab Zeilenanfang bis zum Cursor
delete_end_of_line: entfernt alle Zeichen ab Cursor bis zum Ende der Zeile
delete_line: löscht die komplette Eingabezeile
clipboard_paste: fügt Zeichenkette aus der Zwischenablage ein
transpose_chars: Zeichen austauschen
undo: letzten Befehl in der Eingabezeile rückgängig machen
redo: letzten Befehl in der Eingabezeile wiederherstellen
move_beginning_of_line: springt an den Anfang der Eingabezeile
move_end_of_line: springt ans Ende der Eingabezeile
move_previous_char: setzt den Cursor eine Position nach links
move_next_char: setzt den Cursor eine Position nach rechts
move_previous_word: springt zum Anfang des vorherigen Wortes, in der Eingabezeile
move_next_word: springt zum Anfang des nächsten Wortes, in der Eingabezeile
history_previous: ruft vorherigen Befehl oder Nachricht aus dem Befehlsspeicher auf (im Such-Modus: rückwärts suchen)
history_next: ruft nächsten Befehl oder Nachricht aus dem Befehlsspeicher auf (im Such-Modus: vorwärts suchen)
history_global_previous: ruft vorherigen Befehl/Nachricht aus dem globalen Befehlsspeicher auf (für alle Buffer)
history_global_next: ruft nächsten Befehl/Nachricht aus dem globalen Befehlsspeicher auf (für alle Buffer)
jump_smart: wechselt zum nächsten Buffer mit Aktivität (nach Priorität: highlight, Nachricht, …)
jump_last_buffer: wechselt zum letzten Buffer
jump_previously_visited_buffer: springt zum letzten besuchten Buffer
jump_next_visited_buffer: springt zum nächsten besuchten Buffer
hotlist_clear: löscht Hotliste (Aktivitätsanzeige für die Buffer)
grab_key: fängt eine Taste (optionales Argument: Verzögerung um eine Taste einzufangen. Standard sind 500 Millisekunden)
grab_key_command: zeigt den Tastencode (inklusive des eingebundenen Befehls) einer Tastenkombination an und fügt ihn in die Befehlszeile ein (optionales Argument: Verzögerung um eine Taste einzufangen. Standard sind 500 Millisekunden)
grab_mouse: fängt den Code einer Maus Aktivität
grab_mouse_area: fängt den Code einer Maus Aktivität mit Bereich
scroll_unread: springe zur ersten ungelesenen Zeile im Buffer
set_unread: setzt die ungelesen Markierung für alle Buffer
set_unread_current_buffer: setzt die ungelesen Markierung für den aktuellen Buffer
switch_active_buffer: springt zum nächsten zusammengefügten Buffer
switch_active_buffer_previous: springt zum vorherigen zusammengefügten Buffer
insert: fügt einen Text in die Eingabezeile ein
list of actions:
return: simulate key "enter"
complete_next: complete word with next completion
complete_previous: complete word with previous completion
search_text: search text in buffer
search_switch_case: switch exact case for search
search_previous: search previous line
search_next: search next line
search_stop: stop search
delete_previous_char: delete previous char
delete_next_char: delete next char
delete_previous_word: delete previous word
delete_next_word: delete next word
delete_beginning_of_line: delete from beginning of line until cursor
delete_end_of_line: delete from cursor until end of line
delete_line: delete entire line
clipboard_paste: paste from clipboard
transpose_chars: transpose two chars
undo: undo last command line action
redo: redo last command line action
move_beginning_of_line: move cursor to beginning of line
move_end_of_line: move cursor to end of line
move_previous_char: move cursor to previous char
move_next_char: move cursor to next char
move_previous_word: move cursor to previous word
move_next_word: move cursor to next word
history_previous: recall previous command in current buffer history
history_next: recall next command in current buffer history
history_global_previous: recall previous command in global history
history_global_next: recall next command in global history
jump_smart: jump to next buffer with activity
jump_last_buffer: jump to last buffer
jump_last_buffer_displayed: jump to last buffer displayed (before last jump to a buffer)
jump_previously_visited_buffer: jump to previously visited buffer
jump_next_visited_buffer: jump to next visited buffer
hotlist_clear: clear hotlist
grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds)
grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds)
grab_mouse: grab mouse event code
grab_mouse_area: grab mouse event code with area
scroll_unread: scroll to unread marker
set_unread: set unread marker for all buffers
set_unread_current_buffer: set unread marker for current buffer
switch_active_buffer: switch to next merged buffer
switch_active_buffer_previous: switch to previous merged buffer
insert: insert text in command line
Dieser Befehl wird durch Tastenbelegungen oder Erweiterungen genutzt.
This command is used by key bindings or plugins.
........................................
[[command_weechat_key]]
+2
View File
@@ -528,6 +528,8 @@ Tastenbefehle für Buffer / Fenster
| @k(A-)@k(z) | Zoom für aktuelles Fenster (nochmals @k(A-)@k(z): stellt die vorherigen Einstellungen wieder her) | /window zoom
| @k(A-)@k(<) | springt zum letzten besuchten Buffer | /input jump_previously_visited_buffer
| @k(A-)@k(>) | springt zum nächsten besuchten Buffer | /input jump_next_visited_buffer
// TRANSLATION MISSING
| @k(A-)@k(/) | Switch to last buffer displayed (before last jump to a buffer) | /input jump_last_buffer_displayed
| @k(A-)@k(=) | schaltet Filterfunktion an/aus | /filter toggle
|========================================
+1
View File
@@ -305,6 +305,7 @@ list of actions:
history_global_next: recall next command in global history
jump_smart: jump to next buffer with activity
jump_last_buffer: jump to last buffer
jump_last_buffer_displayed: jump to last buffer displayed (before last jump to a buffer)
jump_previously_visited_buffer: jump to previously visited buffer
jump_next_visited_buffer: jump to next visited buffer
hotlist_clear: clear hotlist
+1
View File
@@ -529,6 +529,7 @@ Keys for buffers / windows
| @k(A-)@k(z) | Zoom on current window (@k(A-)@k(z) again: restore initial windows state, before zoom) | /window zoom
| @k(A-)@k(<) | Switch to previous buffer in list of visited buffers | /input jump_previously_visited_buffer
| @k(A-)@k(>) | Switch to next buffer in list of visited buffers | /input jump_next_visited_buffer
| @k(A-)@k(/) | Switch to last buffer displayed (before last jump to a buffer) | /input jump_last_buffer_displayed
| @k(A-)@k(=) | Toggle filters on/off | /filter toggle
|========================================
+1
View File
@@ -305,6 +305,7 @@ list des actions:
history_global_next: rappeler la commande suivante dans l'historique global
jump_smart: sauter au prochain tampon avec de l'activité
jump_last_buffer: sauter au dernier tampon
jump_last_buffer_displayed: sauter au dernier tampon affiché (avant le dernier saut vers un tampon)
jump_previously_visited_buffer: sauter au tampon visité précédemment
jump_next_visited_buffer: sauter au tampon visité après
hotlist_clear: effacer la hotlist
+1
View File
@@ -538,6 +538,7 @@ Touches pour les tampons / fenêtres
| @k(A-)@k(z) | Zoom sur la fenêtre courante (@k(A-)@k(z) de nouveau : restaurer l'état initial des fenêtres, avant le zoom) | /window zoom
| @k(A-)@k(<) | Sauter au tampon précédent dans la liste des tampons visités | /input jump_previously_visited_buffer
| @k(A-)@k(>) | Sauter au tampon suivant dans la liste des tampons visités | /input jump_next_visited_buffer
| @k(A-)@k(/) | Sauter au dernier tampon affiché (avant le dernier saut vers un tampon) | /input jump_last_buffer_displayed
| @k(A-)@k(=) | Activer/désactiver les filtres | /filter toggle
|========================================
+47 -46
View File
@@ -273,53 +273,54 @@ valore: numero delle voci nella cronologia da mostrare
........................................
/input <azioni> [<argomenti>]
elenco di azioni:
return: simula il tasto "invio"
complete_next: completa la parola con il completamento successivo
complete_previous: completa la parola con il completamento precedente
search_text: cerca testo nel buffer
search_switch_case: passa alla ricerca esatta
search_previous: cerca la riga precedente
search_next: cerca la riga successiva
search_stop: ferma la ricerca
delete_previous_char: elimina carattere precedente
delete_next_char: elimina carattere successivo
delete_previous_word: elimina parola precedente
delete_next_word: elimina parola successiva
delete_beginning_of_line: elimina da inizio riga fino al cursore
delete_end_of_line: elimina dal cursore fino a fine riga
delete_line: elimina intera riga
clipboard_paste: incolla dagli appunti
transpose_chars: inverti l'ordine di due caratteri
undo: annulla l'ultima azione nella riga di comando
redo: rifai l'ultima azione nella riga di comando
move_beginning_of_line: sposta il cursore ad inizio riga
move_end_of_line: sposta il cursore a fine riga
move_previous_char: sposta cursore al carattere precedente
move_next_char: sposta cursore al carattere successivo
move_previous_word: sposta cursore alla parola precedente
move_next_word: sposta cursore alla parola successiva
history_previous: richiama il comando precedente nella cronologia del buffer corrente
history_next: richiama il comando successivo nella cronologia del buffer corrente
history_global_previous: richiama il comando precedente nella cronologia globale
history_global_next: richiama il comando successivo nella cronologia globale
jump_smart: passa al buffer successivo con attività
jump_last_buffer: passa all'ultimo buffer
jump_previously_visited_buffer: passa al precedente buffer visualizzato
jump_next_visited_buffer: passa al successivo buffer visualizzato
hotlist_clear: elimina hotlist
grab_key: ottiene un tasto
grab_key_command: ottiene un tasto con il suo comando associato
grab_mouse: cattura il codice dell'evento del mouse
grab_mouse_area: cattura il codice dell'evento del mouse con l'area
scroll_unread: scorri fino al segnalibro non letto
set_unread: imposta il segnalibro non letto per tutti i buffer
set_unread_current_buffer: imposta il segnalibro non letto per il buffer corrente
switch_active_buffer: passa al successivo buffer incollato
switch_active_buffer_previous: passa al precedente buffer incollato
insert: inserisci testo nella riga di comando
list of actions:
return: simulate key "enter"
complete_next: complete word with next completion
complete_previous: complete word with previous completion
search_text: search text in buffer
search_switch_case: switch exact case for search
search_previous: search previous line
search_next: search next line
search_stop: stop search
delete_previous_char: delete previous char
delete_next_char: delete next char
delete_previous_word: delete previous word
delete_next_word: delete next word
delete_beginning_of_line: delete from beginning of line until cursor
delete_end_of_line: delete from cursor until end of line
delete_line: delete entire line
clipboard_paste: paste from clipboard
transpose_chars: transpose two chars
undo: undo last command line action
redo: redo last command line action
move_beginning_of_line: move cursor to beginning of line
move_end_of_line: move cursor to end of line
move_previous_char: move cursor to previous char
move_next_char: move cursor to next char
move_previous_word: move cursor to previous word
move_next_word: move cursor to next word
history_previous: recall previous command in current buffer history
history_next: recall next command in current buffer history
history_global_previous: recall previous command in global history
history_global_next: recall next command in global history
jump_smart: jump to next buffer with activity
jump_last_buffer: jump to last buffer
jump_last_buffer_displayed: jump to last buffer displayed (before last jump to a buffer)
jump_previously_visited_buffer: jump to previously visited buffer
jump_next_visited_buffer: jump to next visited buffer
hotlist_clear: clear hotlist
grab_key: grab a key (optional argument: delay for end of grab, default is 500 milliseconds)
grab_key_command: grab a key with its associated command (optional argument: delay for end of grab, default is 500 milliseconds)
grab_mouse: grab mouse event code
grab_mouse_area: grab mouse event code with area
scroll_unread: scroll to unread marker
set_unread: set unread marker for all buffers
set_unread_current_buffer: set unread marker for current buffer
switch_active_buffer: switch to next merged buffer
switch_active_buffer_previous: switch to previous merged buffer
insert: insert text in command line
Questo comando viene usato dalla combinazioni tasti o dai plugin.
This command is used by key bindings or plugins.
........................................
[[command_weechat_key]]
+2
View File
@@ -537,6 +537,8 @@ Tasti per buffer / finestre
| @k(A-)@k(z) | Ingrandimento sulla finestra attiva (@k(A-)@k(z) di nuovo: ripristina lo stato iniziale della finestra, prima dell'ingrandimento) | /window zoom
| @k(A-)@k(<) | Passa al buffer precedente nella lista dei buffer visitati | /input jump_previously_visited_buffer
| @k(A-)@k(>) | Passa al buffer successivo nella lista dei buffer visitati | /input jump_next_visited_buffer
// TRANSLATION MISSING
| @k(A-)@k(/) | Switch to last buffer displayed (before last jump to a buffer) | /input jump_last_buffer_displayed
| @k(A-)@k(=) | Attiva/disattiva filtri | /filter toggle
|========================================
+3 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-11-05 16:04+0100\n"
"POT-Creation-Date: 2011-11-08 17:56+0100\n"
"PO-Revision-Date: 2011-11-03 16:57+0100\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1360,6 +1360,8 @@ msgid ""
" history_global_next: recall next command in global history\n"
" jump_smart: jump to next buffer with activity\n"
" jump_last_buffer: jump to last buffer\n"
" jump_last_buffer_displayed: jump to last buffer displayed (before last "
"jump to a buffer)\n"
" jump_previously_visited_buffer: jump to previously visited buffer\n"
" jump_next_visited_buffer: jump to next visited buffer\n"
" hotlist_clear: clear hotlist\n"
+4 -1
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-11-05 16:04+0100\n"
"POT-Creation-Date: 2011-11-08 17:56+0100\n"
"PO-Revision-Date: 2011-11-03 16:57+0100\n"
"Last-Translator: Nils Görs\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1376,6 +1376,7 @@ msgstr "Funktionen für die Befehlszeile"
msgid "<action> [<arguments>]"
msgstr "<action> [<arguments>]"
#, fuzzy
msgid ""
"list of actions:\n"
" return: simulate key \"enter\"\n"
@@ -1409,6 +1410,8 @@ msgid ""
" history_global_next: recall next command in global history\n"
" jump_smart: jump to next buffer with activity\n"
" jump_last_buffer: jump to last buffer\n"
" jump_last_buffer_displayed: jump to last buffer displayed (before last "
"jump to a buffer)\n"
" jump_previously_visited_buffer: jump to previously visited buffer\n"
" jump_next_visited_buffer: jump to next visited buffer\n"
" hotlist_clear: clear hotlist\n"
+4 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-11-05 16:04+0100\n"
"POT-Creation-Date: 2011-11-08 17:56+0100\n"
"PO-Revision-Date: 2011-11-03 16:57+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1351,6 +1351,7 @@ msgstr "funciones para la línea de comandos"
msgid "<action> [<arguments>]"
msgstr "<acción> [<argumentos>]"
#, fuzzy
msgid ""
"list of actions:\n"
" return: simulate key \"enter\"\n"
@@ -1384,6 +1385,8 @@ msgid ""
" history_global_next: recall next command in global history\n"
" jump_smart: jump to next buffer with activity\n"
" jump_last_buffer: jump to last buffer\n"
" jump_last_buffer_displayed: jump to last buffer displayed (before last "
"jump to a buffer)\n"
" jump_previously_visited_buffer: jump to previously visited buffer\n"
" jump_next_visited_buffer: jump to next visited buffer\n"
" hotlist_clear: clear hotlist\n"
+6 -2
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-11-05 16:04+0100\n"
"PO-Revision-Date: 2011-11-05 16:04+0100\n"
"POT-Creation-Date: 2011-11-08 17:56+0100\n"
"PO-Revision-Date: 2011-11-08 17:15+0100\n"
"Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: French\n"
@@ -1381,6 +1381,8 @@ msgid ""
" history_global_next: recall next command in global history\n"
" jump_smart: jump to next buffer with activity\n"
" jump_last_buffer: jump to last buffer\n"
" jump_last_buffer_displayed: jump to last buffer displayed (before last "
"jump to a buffer)\n"
" jump_previously_visited_buffer: jump to previously visited buffer\n"
" jump_next_visited_buffer: jump to next visited buffer\n"
" hotlist_clear: clear hotlist\n"
@@ -1435,6 +1437,8 @@ msgstr ""
"global\n"
" jump_smart: sauter au prochain tampon avec de l'activité\n"
" jump_last_buffer: sauter au dernier tampon\n"
" jump_last_buffer_displayed: sauter au dernier tampon affiché (avant le "
"dernier saut vers un tampon)\n"
" jump_previously_visited_buffer: sauter au tampon visité précédemment\n"
" jump_next_visited_buffer: sauter au tampon visité après\n"
" hotlist_clear: effacer la hotlist\n"
+3 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-11-05 16:04+0100\n"
"POT-Creation-Date: 2011-11-08 17:56+0100\n"
"PO-Revision-Date: 2011-10-22 12:21+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1238,6 +1238,8 @@ msgid ""
" history_global_next: recall next command in global history\n"
" jump_smart: jump to next buffer with activity\n"
" jump_last_buffer: jump to last buffer\n"
" jump_last_buffer_displayed: jump to last buffer displayed (before last "
"jump to a buffer)\n"
" jump_previously_visited_buffer: jump to previously visited buffer\n"
" jump_next_visited_buffer: jump to next visited buffer\n"
" hotlist_clear: clear hotlist\n"
+4 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-11-05 16:04+0100\n"
"POT-Creation-Date: 2011-11-08 17:56+0100\n"
"PO-Revision-Date: 2011-11-03 16:57+0100\n"
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1344,6 +1344,7 @@ msgstr "funzioni per la riga di comando"
msgid "<action> [<arguments>]"
msgstr "<azioni> [<argomenti>]"
#, fuzzy
msgid ""
"list of actions:\n"
" return: simulate key \"enter\"\n"
@@ -1377,6 +1378,8 @@ msgid ""
" history_global_next: recall next command in global history\n"
" jump_smart: jump to next buffer with activity\n"
" jump_last_buffer: jump to last buffer\n"
" jump_last_buffer_displayed: jump to last buffer displayed (before last "
"jump to a buffer)\n"
" jump_previously_visited_buffer: jump to previously visited buffer\n"
" jump_next_visited_buffer: jump to next visited buffer\n"
" hotlist_clear: clear hotlist\n"
+4 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-11-05 16:04+0100\n"
"POT-Creation-Date: 2011-11-08 17:56+0100\n"
"PO-Revision-Date: 2011-11-03 16:57+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1357,6 +1357,7 @@ msgstr "funkcje linii komend"
msgid "<action> [<arguments>]"
msgstr "<akcja> [<argumenty>]"
#, fuzzy
msgid ""
"list of actions:\n"
" return: simulate key \"enter\"\n"
@@ -1390,6 +1391,8 @@ msgid ""
" history_global_next: recall next command in global history\n"
" jump_smart: jump to next buffer with activity\n"
" jump_last_buffer: jump to last buffer\n"
" jump_last_buffer_displayed: jump to last buffer displayed (before last "
"jump to a buffer)\n"
" jump_previously_visited_buffer: jump to previously visited buffer\n"
" jump_next_visited_buffer: jump to next visited buffer\n"
" hotlist_clear: clear hotlist\n"
+4 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-11-05 16:04+0100\n"
"POT-Creation-Date: 2011-11-08 17:56+0100\n"
"PO-Revision-Date: 2011-11-03 16:58+0100\n"
"Last-Translator: Ivan Sichmann Freitas <ivansichfreitas@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1396,6 +1396,7 @@ msgid "<action> [<arguments>]"
msgstr "<ação> [<argumentos>]"
# TODO
#, fuzzy
msgid ""
"list of actions:\n"
" return: simulate key \"enter\"\n"
@@ -1429,6 +1430,8 @@ msgid ""
" history_global_next: recall next command in global history\n"
" jump_smart: jump to next buffer with activity\n"
" jump_last_buffer: jump to last buffer\n"
" jump_last_buffer_displayed: jump to last buffer displayed (before last "
"jump to a buffer)\n"
" jump_previously_visited_buffer: jump to previously visited buffer\n"
" jump_next_visited_buffer: jump to next visited buffer\n"
" hotlist_clear: clear hotlist\n"
+3 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-11-05 16:04+0100\n"
"POT-Creation-Date: 2011-11-08 17:56+0100\n"
"PO-Revision-Date: 2011-10-22 12:21+0200\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1246,6 +1246,8 @@ msgid ""
" history_global_next: recall next command in global history\n"
" jump_smart: jump to next buffer with activity\n"
" jump_last_buffer: jump to last buffer\n"
" jump_last_buffer_displayed: jump to last buffer displayed (before last "
"jump to a buffer)\n"
" jump_previously_visited_buffer: jump to previously visited buffer\n"
" jump_next_visited_buffer: jump to next visited buffer\n"
" hotlist_clear: clear hotlist\n"
+3 -1
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2011-11-05 16:04+0100\n"
"POT-Creation-Date: 2011-11-08 17:56+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1092,6 +1092,8 @@ msgid ""
" history_global_next: recall next command in global history\n"
" jump_smart: jump to next buffer with activity\n"
" jump_last_buffer: jump to last buffer\n"
" jump_last_buffer_displayed: jump to last buffer displayed (before last "
"jump to a buffer)\n"
" jump_previously_visited_buffer: jump to previously visited buffer\n"
" jump_next_visited_buffer: jump to next visited buffer\n"
" hotlist_clear: clear hotlist\n"
+4
View File
@@ -2345,6 +2345,8 @@ COMMAND_CALLBACK(input)
gui_input_jump_smart (buffer);
else if (string_strcasecmp (argv[1], "jump_last_buffer") == 0)
gui_input_jump_last_buffer (buffer);
else if (string_strcasecmp (argv[1], "jump_last_buffer_displayed") == 0)
gui_input_jump_last_buffer_displayed (buffer);
else if (string_strcasecmp (argv[1], "jump_previously_visited_buffer") == 0)
gui_input_jump_previously_visited_buffer (buffer);
else if (string_strcasecmp (argv[1], "jump_next_visited_buffer") == 0)
@@ -5699,6 +5701,8 @@ command_init ()
"history\n"
" jump_smart: jump to next buffer with activity\n"
" jump_last_buffer: jump to last buffer\n"
" jump_last_buffer_displayed: jump to last buffer "
"displayed (before last jump to a buffer)\n"
" jump_previously_visited_buffer: jump to previously "
"visited buffer\n"
" jump_next_visited_buffer: jump to next visited buffer\n"
+1
View File
@@ -204,6 +204,7 @@ gui_key_default_bindings (int context)
BIND(/* m-9 */ "meta-9", "/buffer *9");
BIND(/* m-< */ "meta-<", "/input jump_previously_visited_buffer");
BIND(/* m-> */ "meta->", "/input jump_next_visited_buffer");
BIND(/* m-/ */ "meta-/", "/input jump_last_buffer_displayed");
BIND(/* m-m */ "meta-m", "/mute mouse toggle");
/* bind meta-j + {01..99} to switch to buffers # > 10 */
+1
View File
@@ -1051,6 +1051,7 @@ gui_window_switch_to_buffer (struct t_gui_window *window,
if (window->buffer->number != buffer->number)
{
gui_buffer_last_displayed = window->buffer;
gui_window_scroll_switch (window, buffer);
if (!gui_buffers_visited_frozen)
{
+14
View File
@@ -70,6 +70,7 @@ struct t_gui_buffer_visited *last_gui_buffer_visited = NULL;
int gui_buffers_visited_index = -1; /* index of pointer in list */
int gui_buffers_visited_count = 0; /* number of visited buffers*/
int gui_buffers_visited_frozen = 0; /* 1 to forbid list updates */
struct t_gui_buffer *gui_buffer_last_displayed = NULL; /* last b. displayed */
char *gui_buffer_notify_string[GUI_BUFFER_NUM_NOTIFY] =
{ "none", "highlight", "message", "all" };
@@ -2221,6 +2222,9 @@ gui_buffer_close (struct t_gui_buffer *buffer)
ptr_window->buffer = gui_buffers;
}
if (gui_buffer_last_displayed == buffer)
gui_buffer_last_displayed = NULL;
hook_signal_send ("buffer_closed",
WEECHAT_HOOK_SIGNAL_POINTER, buffer);
@@ -3386,6 +3390,16 @@ gui_buffer_print_log ()
char *tags;
int num;
log_printf ("");
log_printf ("gui_buffers . . . . . . . . . : 0x%lx", gui_buffers);
log_printf ("last_gui_buffer . . . . . . . : 0x%lx", last_gui_buffer);
log_printf ("gui_buffers_visited . . . . . : 0x%lx", gui_buffers_visited);
log_printf ("last_gui_buffer_visited . . . : 0x%lx", last_gui_buffer_visited);
log_printf ("gui_buffers_visited_index . . : %d", gui_buffers_visited_index);
log_printf ("gui_buffers_visited_count . . : %d", gui_buffers_visited_count);
log_printf ("gui_buffers_visited_frozen. . : %d", gui_buffers_visited_frozen);
log_printf ("gui_buffer_last_displayed . . : 0x%lx", gui_buffer_last_displayed);
for (ptr_buffer = gui_buffers; ptr_buffer;
ptr_buffer = ptr_buffer->next_buffer)
{
+1
View File
@@ -194,6 +194,7 @@ extern struct t_gui_buffer_visited *last_gui_buffer_visited;
extern int gui_buffers_visited_index;
extern int gui_buffers_visited_count;
extern int gui_buffers_visited_frozen;
extern struct t_gui_buffer *gui_buffer_last_displayed;
extern char *gui_buffer_notify_string[];
extern char *gui_buffer_properties_get_integer[];
extern char *gui_buffer_properties_get_string[];
+21
View File
@@ -1292,6 +1292,27 @@ gui_input_jump_last_buffer (struct t_gui_buffer *buffer)
}
}
/*
* gui_input_jump_last_buffer_displayed: jump to last buffer displayed (before
* last jump to a buffer)
* (default key: meta-/)
*/
void
gui_input_jump_last_buffer_displayed (struct t_gui_buffer *buffer)
{
struct t_gui_window *window;
window = gui_window_search_with_buffer (buffer);
if (window
&& (window->buffer->text_search == GUI_TEXT_SEARCH_DISABLED))
{
if (gui_buffer_last_displayed)
gui_buffer_switch_by_number (window,
gui_buffer_last_displayed->number);
}
}
/*
* gui_input_jump_previously_visited_buffer: jump to previously visited buffer
* (buffer displayed before current one)
+1
View File
@@ -67,6 +67,7 @@ extern void gui_input_history_global_previous (struct t_gui_buffer *buffer);
extern void gui_input_history_global_next (struct t_gui_buffer *buffer);
extern void gui_input_jump_smart (struct t_gui_buffer *buffer);
extern void gui_input_jump_last_buffer (struct t_gui_buffer *buffer);
extern void gui_input_jump_last_buffer_displayed (struct t_gui_buffer *buffer);
extern void gui_input_jump_previously_visited_buffer (struct t_gui_buffer *buffer);
extern void gui_input_jump_next_visited_buffer (struct t_gui_buffer *buffer);
extern void gui_input_hotlist_clear (struct t_gui_buffer *buffer);