[patch] Restore multi-byte titles in Gtk/Gnome builds (was Re: Beep on exit)

2010-07-25 Fir de Conversatie James Vega
On Sat, Jul 24, 2010 at 02:36:50AM -0700, Anatoli Sakhnik wrote: Now I know what happens, and this is a bug either of vim or of gnome- terminal. I traced the code from :quit, and noticed the following calls: mch_exit() - mch_restore_title() - mch_settitle(). Beeps are produced by the strings

[patch] Restore multi-byte titles in Gtk/Gnome builds (was Re: Beep on exit)

2010-07-25 Fir de Conversatie Bram Moolenaar
James Vega wrote: On Sat, Jul 24, 2010 at 02:36:50AM -0700, Anatoli Sakhnik wrote: Now I know what happens, and this is a bug either of vim or of gnome- terminal. I traced the code from :quit, and noticed the following calls: mch_exit() - mch_restore_title() - mch_settitle(). Beeps are

[patch] Restore multi-byte titles in Gtk/Gnome builds (was Re: Beep on exit)

2010-07-25 Fir de Conversatie Bram Moolenaar
James Vega wrote: On Sat, Jul 24, 2010 at 02:36:50AM -0700, Anatoli Sakhnik wrote: Now I know what happens, and this is a bug either of vim or of gnome- terminal. I traced the code from :quit, and noticed the following calls: mch_exit() - mch_restore_title() - mch_settitle(). Beeps are

Re: Beep on exit

2010-07-24 Fir de Conversatie Anatoli Sakhnik
Now I know what happens, and this is a bug either of vim or of gnome- terminal. I traced the code from :quit, and noticed the following calls: mch_exit() - mch_restore_title() - mch_settitle(). Beeps are produced by the strings oldtitle and oldicon, which are filled with garbage. So the real evil

Re: Broken oldtitle on a localized gnome-terminal - beep on exit

2010-07-24 Fir de Conversatie Bram Moolenaar
Anatoli Sakhnik wrote: History and discussion on vim-dev: http://groups.google.com/group/vim_dev/browse_thread/thread/54aae829a14b12f9 Summary: Title isn't restored in localized gnome-terminal, the terminal beeps. How to reproduce: 1) xterm 2) LC_ALL=uk_UA.UTF-8 gnome-terminal Title

Re: Beep on exit

2010-07-24 Fir de Conversatie Tony Mechelynck
On 24/07/10 11:36, Anatoli Sakhnik wrote: Now I know what happens, and this is a bug either of vim or of gnome- terminal. I traced the code from :quit, and noticed the following calls: mch_exit() - mch_restore_title() - mch_settitle(). Beeps are produced by the strings oldtitle and oldicon,

Re: Beep on exit

2010-07-24 Fir de Conversatie Anatoli Sakhnik
On 24 Лип, 15:41, Tony Mechelynck antoine.mechely...@gmail.com wrote: Hm, what are the answers to each of the following in Vim running in gnome-terminal?         :verbose set enc? tenc? term? t_ts? title? titlestring? encoding=utf-8 Востаннє змінена у ~/.vimrc(eng: Last

Re: Beep on exit

2010-07-23 Fir de Conversatie Tony Mechelynck
On 22/07/10 23:34, Anatoli Sakhnik wrote: There appeared one annoying thing in vim-7.3 (starting even from alpha). Every time I quit the editor, it beeps. 1) 'visualbell' is set. 2) 't_vb' is reset. In fact, when I set it to A, I see that character is printed on excessiveesc, but Vim still

Re: Beep on exit

2010-07-23 Fir de Conversatie Anatoli Sakhnik
No, nothing is output. I suspect either the code prints BEEP (007) or one of used libraries. Let me experiment with different systems and build options. On 24 Лип, 05:15, Tony Mechelynck antoine.mechely...@gmail.com wrote: thing to do. When you do         :verbose au VimLeave does it mention

Beep on exit

2010-07-22 Fir de Conversatie Anatoli Sakhnik
There appeared one annoying thing in vim-7.3 (starting even from alpha). Every time I quit the editor, it beeps. 1) 'visualbell' is set. 2) 't_vb' is reset. In fact, when I set it to A, I see that character is printed on excessive esc, but Vim still beeps on exit. 3) I'm sure this isn't about