Hi Bram!

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.

Mit freundlichen Grüßen
Christian
-- 
Letzte Worte eines Chemikers:
  "Mist, falsches Becherglas."

-- 
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

Raspunde prin e-mail lui