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?
Ah, yes, then I see errors. However, we should not define FEAT_CON_DIALOG for GUI-only builds, such as on Win32. -- Just think of all the things we haven't thought of yet. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- 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
