Hi Bram! On Sa, 19 Jan 2013, Bram Moolenaar wrote:
> > Christian Brabandt wrote: > > > On Do, 17 Jan 2013, Bram Moolenaar wrote: > > > > > I cannot reproduce the problem. Does this depend on the version of GTK? > > > I'm also using glib-2.0 though. Any other feature that matters? > > > > If you look at feature.h it is clear, that a gui tiny built does not > > define FEAT_CON_DIALOG: > > #ifdef FEAT_NORMAL > > # if ((defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MOTIF)) \ > > && defined(HAVE_X11_XPM_H)) \ > > || defined(FEAT_GUI_GTK) \ > > || defined(FEAT_GUI_PHOTON) \ > > || defined(FEAT_GUI_MSWIN) \ > > || defined(FEAT_GUI_MAC) > > # define FEAT_CON_DIALOG > > # define FEAT_GUI_DIALOG > > # else > > # define FEAT_CON_DIALOG > > # endif > > #endif > > #if !defined(FEAT_GUI_DIALOG) && (defined(FEAT_GUI_MOTIF) \ > > || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK) \ > > || defined(FEAT_GUI_W32)) > > /* need a dialog to show error messages when starting from the desktop */ > > # define FEAT_GUI_DIALOG > > #endif > > #if defined(FEAT_GUI_DIALOG) && \ > > (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) \ > > || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN) \ > > || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC)) > > # define FEAT_GUI_TEXTDIALOG > > #endif > > > > and in vim.h > > > > #if defined(FEAT_GUI_DIALOG) && !defined(FEAT_CON_DIALOG) > > # define do_dialog gui_mch_dialog > > #endif > > > > :version shows > > > > [...] > > -cmdline_compl -cmdline_hist -cmdline_info -comments -conceal -cryptv > > -cscope -cursorbind > > cursorshape +dialog_gui -diff -digraphs +dnd -ebcdic -emacs_tags -eval > > -ex_extra > > -extra_search > > [...] > > > > So the when showing the E325 message, the console tiny build will try to > > show a gui-dialog, which does not work. > > When I start Vim with: > > ./gvim /tmp/tt -u NONE > > While /tmp/tt is already edited by another Vim, I just get the GUI > dialog. Thus I'm missing the reason why the GUI dialog doesn't work for > you. What happens with the terminal version of vim? Mit freundlichen Grüßen Christian -- Man kann nicht alles auf einmal tun. Aber man kann alles auf einmal lassen. -- You received this message from the "vim_dev" 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
