> I can not get iconstring to work.  The WM_ICON_NAME is always the
> same as WM_NAME.
>
> % vim -g --version
> VIM - Vi IMproved 7.0 (2006 May 7, compiled May  8 2006 13:24:06)
> Compiled by [EMAIL PROTECTED]
> Normal version with GTK GUI.  Features included (+) or not (-):
> -arabic +autocmd +balloon_eval +browse +builtin_terms +byte_offset +cindent
> +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info
+comments
> +cryptv -cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic
> -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path
+find_in_path
> +folding -footer +fork() -gettext -hangul_input -iconv +insert_expand
> +jumplist
>  -keymap -langmap +libcall +linebreak +lispindent +listcmds +localmap +menu
> +mksession +modify_fname +mouse +mouseshape -mouse_dec +mouse_gpm
> -mouse_jsbterm -mouse_netterm +mouse_xterm -multi_byte +multi_lang
-mzscheme
> +netbeans_intg -osfiletype +path_extra -perl +postscript +printer -profile
> -python +quickfix +reltime -rightleft -ruby +scrollbind +signs +smartindent
> -sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static
> -tag_any_white -tcl +terminfo +termresponse +textobjects +title +toolbar
> +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
> +vreplace
> +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim
> +xsmp_interact
> +xterm_clipboard -xterm_save
>    system vimrc file: "$VIM/vimrc"
>      user vimrc file: "$HOME/.vimrc"
>       user exrc file: "$HOME/.exrc"
>   system gvimrc file: "$VIM/gvimrc"
>     user gvimrc file: "$HOME/.gvimrc"
>     system menu file: "$VIMRUNTIME/menu.vim"
>   fall-back for $VIM: "/usr/local/share/vim"
> Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
> -I/usr/include/gtk-1.2
> +-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/X11R6/include
> -g -O2  -I/usr/X11R6/include
> Linking: gcc  -L/usr/X11R6/lib64   -L/usr/local/lib -o vim   -L/usr/lib64
> -L/usr/X11R6/lib64 -lgtk -lgdk
> +-rdynamic -lgmodule -lglib -lXi -lXext -lm -lXt -lncurses -lacl -lgpm
>
> :set
> --- Options ---
>   background=dark     formatoptions=ql    mouse=nvc           syntax=vim
>        wildmenu
>   cmdheight=2         guioptions=almie    previewheight=8     tabstop=4
>        window=87
>   comments=           helplang=en         scroll=17           textwidth=78
>   commentstring="%s   hlsearch            scrolloff=5         title
>   filetype=vim        icon                shiftwidth=4        titlelen=0
>   foldlevel=16        incsearch           showfulltag         ttyfast
>   backspace=indent,eol,start
>   completeopt=menu,longest
>   guifont=Monospace 8,lucidasanstypewriter-12,Lucida_Console:h9:cANSI
>   iconstring=%t%m%m%m%r
>   makeprg=cd $FE_ROOT;python $FE_ROOT/bin/forge.py -j 2 here\|sed -ue
> "s/^[[^m]*m//g"
>   path=.,/usr/include,,,,$FE_ROOT/**
>   tags=./tags,tags,$FE_ROOT/tags
>   titlestring=%m%t - VIM %F
>
>
> % xprop
> [...]
> WM_ICON_NAME(STRING) = ".vimrc - VIM ~/.vimrc"
> WM_NAME(STRING) = ".vimrc - VIM ~/.vimrc"
>
> In this case, I would have liked to have an icon name of ".vimrc" and a
> title of "VIM ~/.vimrc", but since I can only get one, I jammed them
> together.
>
> This is manually compiled on Red Hat.  On another box, I get similar
results
> on an emerge with Gentoo, which uses version 6.4.
>
> --
>   _
>  ( \      _  \    /_ /  _ _  Jason Weber                  Glendale, CA
>   \|(\/)()))  \/\/(-/_)(-/(  http://www.imonk.com/baboon  [EMAIL PROTECTED]
>   //                                                      [EMAIL PROTECTED]
>  (/


One more detail.  It works fine in non-gui mode.  It's just in -g or
gvim mode that the iconstring appears to be unrecognized.  I'd just
like to know if there is some compile option that I'm missing or
if maybe X11 iconstring support isn't actually implemented.

-- Jason Weber

Reply via email to