wrote:
> On 19/06/11 14:28, esquifit wrote:
> This seems to be a Windows-only problem: Works for me in gvim 7.3.226
> with GTK2 GUI on Linux64.
>
> Experiment 1.
> 1. Start gvim with my usual vimrc (which sets :lang mess C)
> --- gvim comes up in English.
> 2. :lang de_DE.UTF-8
> 3. :runtime delmenu.vim
> --- Menubar disappears
> 4. :runtime menu.vim
> --- Menubar reappears in German
> 5. Open a menu then click its tear-off bar
> --- Teared-off menu opens.
>
> Experiment 2.
> 1. Start gvim with the following command-line (all on one line):
> LC_MESSAGES=de_DE.UTF-8 gvim -u
> /usr/local/share/vim/vim73/vimrc_example.vim
> --- gvim opens with German splash screen and menus
> 2. Open a menu and click its tear-off bar.
> --- Teared-off menu opens.
I've tried both experiments with no luck. Deleting and regenerating
the menu doesn't have any visible effect either.
Interestingly, the 'syntax' tear off menu seems to always work but
not the rest of them. Behaviour is slightly different when invoking
gvim with "-u NONE" or with "-u NORC":
gvim -u NONE
no tear off menu works except 'syntax'
gvim -u NORC
Some menus are not available plus I'm getting some plugin-related
errors, probably because of cp implicitly being set.
there is a File *and* a Datei menu (Datei is German for File, so the
main menu is duplicated; the entries under each of them are different
though).
Tearing off 'File' works fine
Tearing off 'Datei' kind of works: the tearing off itself is ok, but
the tear off menu corresponds now to the entries under File, not to
those under Datei
'Syntax' menu is ok
'Hilfe' (Help) tear off menu doesn't work
Using vimrc_example.vim in the vim73 folder does not fix the problem.
I'm suspecting this could have something to do with encoding:
* The error messages are not correctly output (<fc> instead of ü)
* :lang de_DE.UTF-8, :lang de_DE, :lang de, :lang en, :lang
en_US, :lang en_US.UTF-8 and any variant you can think of lead always
to the same error:
E197 Sprache kann nicht auf "de_DE.UTF-8" gesetzt werden (Language
can't be set to "de_DE.UTF-8")
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment