comparison src/feature.h @ 18753:6e3dc2d630c2 v8.1.2366

patch 8.1.2366: using old C style comments Commit: https://github.com/vim/vim/commit/9bf703d46a79fbffeb829246ea5ce385bddc4166 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 30 19:44:38 2019 +0100 patch 8.1.2366: using old C style comments Problem: Using old C style comments. Solution: Use // comments where appropriate.
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Nov 2019 19:45:03 +0100
parents df141c730008
children 49b78d6465e5
comparison
equal deleted inserted replaced
18752:9ec3c9cb4533 18753:6e3dc2d630c2
44 * Uncomment one of these to override the default. For unix use a configure 44 * Uncomment one of these to override the default. For unix use a configure
45 * argument, see Makefile. 45 * argument, see Makefile.
46 */ 46 */
47 #if !defined(FEAT_TINY) && !defined(FEAT_SMALL) && !defined(FEAT_NORMAL) \ 47 #if !defined(FEAT_TINY) && !defined(FEAT_SMALL) && !defined(FEAT_NORMAL) \
48 && !defined(FEAT_BIG) && !defined(FEAT_HUGE) 48 && !defined(FEAT_BIG) && !defined(FEAT_HUGE)
49 /* #define FEAT_TINY */ 49 // #define FEAT_TINY
50 /* #define FEAT_SMALL */ 50 // #define FEAT_SMALL
51 /* #define FEAT_NORMAL */ 51 // #define FEAT_NORMAL
52 /* #define FEAT_BIG */ 52 // #define FEAT_BIG
53 /* #define FEAT_HUGE */ 53 // #define FEAT_HUGE
54 #endif 54 #endif
55 55
56 /* 56 /*
57 * For Unix, Mac and Win32 use +huge by default. These days CPUs are fast and 57 * For Unix, Mac and Win32 use +huge by default. These days CPUs are fast and
58 * Memory is cheap. 58 * Memory is cheap.
151 * Define OLD_DIGRAPHS to get digraphs compatible with 151 * Define OLD_DIGRAPHS to get digraphs compatible with
152 * Vim 5.x. The new ones are from RFC 1345. 152 * Vim 5.x. The new ones are from RFC 1345.
153 */ 153 */
154 #ifdef FEAT_NORMAL 154 #ifdef FEAT_NORMAL
155 # define FEAT_DIGRAPHS 155 # define FEAT_DIGRAPHS
156 /* #define OLD_DIGRAPHS */ 156 // #define OLD_DIGRAPHS
157 #endif 157 #endif
158 158
159 /* 159 /*
160 * +langmap 'langmap' option. Only useful when you put your 160 * +langmap 'langmap' option. Only useful when you put your
161 * keyboard in a special language mode, e.g. for typing 161 * keyboard in a special language mode, e.g. for typing
172 #ifdef FEAT_BIG 172 #ifdef FEAT_BIG
173 # define FEAT_KEYMAP 173 # define FEAT_KEYMAP
174 #endif 174 #endif
175 175
176 #ifdef FEAT_NORMAL 176 #ifdef FEAT_NORMAL
177 # define VIM_BACKTICK /* internal backtick expansion */ 177 # define VIM_BACKTICK // internal backtick expansion
178 #endif 178 #endif
179 179
180 /* 180 /*
181 * +cmdline_info 'showcmd' and 'ruler' options. 181 * +cmdline_info 'showcmd' and 'ruler' options.
182 */ 182 */
215 215
216 /* 216 /*
217 * +find_in_path "[I" ":isearch" "^W^I", ":checkpath", etc. 217 * +find_in_path "[I" ":isearch" "^W^I", ":checkpath", etc.
218 */ 218 */
219 #ifdef FEAT_NORMAL 219 #ifdef FEAT_NORMAL
220 # ifdef FEAT_SEARCHPATH /* FEAT_SEARCHPATH is required */ 220 # ifdef FEAT_SEARCHPATH // FEAT_SEARCHPATH is required
221 # define FEAT_FIND_ID 221 # define FEAT_FIND_ID
222 # endif 222 # endif
223 #endif 223 #endif
224 224
225 /* 225 /*
376 #endif 376 #endif
377 377
378 #ifdef FEAT_NORMAL 378 #ifdef FEAT_NORMAL
379 # define FEAT_STL_OPT 379 # define FEAT_STL_OPT
380 # ifndef FEAT_CMDL_INFO 380 # ifndef FEAT_CMDL_INFO
381 # define FEAT_CMDL_INFO /* 'ruler' is required for 'statusline' */ 381 # define FEAT_CMDL_INFO // 'ruler' is required for 'statusline'
382 # endif 382 # endif
383 #endif 383 #endif
384 384
385 #ifdef FEAT_NORMAL 385 #ifdef FEAT_NORMAL
386 # define FEAT_BYTEOFF 386 # define FEAT_BYTEOFF
407 * VIMINFO_FILE Location of user .viminfo file (should start with $). 407 * VIMINFO_FILE Location of user .viminfo file (should start with $).
408 * VIMINFO_FILE2 Location of alternate user .viminfo file. 408 * VIMINFO_FILE2 Location of alternate user .viminfo file.
409 */ 409 */
410 #ifdef FEAT_NORMAL 410 #ifdef FEAT_NORMAL
411 # define FEAT_VIMINFO 411 # define FEAT_VIMINFO
412 /* #define VIMINFO_FILE "$HOME/foo/.viminfo" */ 412 // #define VIMINFO_FILE "$HOME/foo/.viminfo"
413 /* #define VIMINFO_FILE2 "~/bar/.viminfo" */ 413 // #define VIMINFO_FILE2 "~/bar/.viminfo"
414 #endif 414 #endif
415 415
416 /* 416 /*
417 * +syntax syntax highlighting. When using this, it's a good 417 * +syntax syntax highlighting. When using this, it's a good
418 * idea to have +autocmd and +eval too. 418 * idea to have +autocmd and +eval too.
452 * 452 *
453 * ALL_BUILTIN_TCAPS Include all builtin termcap entries 453 * ALL_BUILTIN_TCAPS Include all builtin termcap entries
454 * (used only with NO_BUILTIN_TCAPS not defined). 454 * (used only with NO_BUILTIN_TCAPS not defined).
455 */ 455 */
456 #ifdef HAVE_TGETENT 456 #ifdef HAVE_TGETENT
457 /* #define NO_BUILTIN_TCAPS */ 457 // #define NO_BUILTIN_TCAPS
458 #endif 458 #endif
459 459
460 #if !defined(NO_BUILTIN_TCAPS) 460 #if !defined(NO_BUILTIN_TCAPS)
461 # ifdef FEAT_BIG 461 # ifdef FEAT_BIG
462 # define ALL_BUILTIN_TCAPS 462 # define ALL_BUILTIN_TCAPS
463 # else 463 # else
464 # define SOME_BUILTIN_TCAPS /* default */ 464 # define SOME_BUILTIN_TCAPS // default
465 # endif 465 # endif
466 #endif 466 #endif
467 467
468 /* 468 /*
469 * +lispindent lisp indenting (From Eric Fischer). 469 * +lispindent lisp indenting (From Eric Fischer).
515 /* 515 /*
516 * +multi_byte_ime Win32 IME input method. Only for far-east Windows, so 516 * +multi_byte_ime Win32 IME input method. Only for far-east Windows, so
517 * IME can be used to input chars. Not tested much! 517 * IME can be used to input chars. Not tested much!
518 */ 518 */
519 #if defined(FEAT_GUI_MSWIN) && !defined(FEAT_MBYTE_IME) 519 #if defined(FEAT_GUI_MSWIN) && !defined(FEAT_MBYTE_IME)
520 /* #define FEAT_MBYTE_IME */ 520 // #define FEAT_MBYTE_IME
521 # endif 521 # endif
522 522
523 /* Use iconv() when it's available. */ 523 // Use iconv() when it's available.
524 #if (defined(HAVE_ICONV_H) && defined(HAVE_ICONV)) || defined(DYNAMIC_ICONV) 524 #if (defined(HAVE_ICONV_H) && defined(HAVE_ICONV)) || defined(DYNAMIC_ICONV)
525 # define USE_ICONV 525 # define USE_ICONV
526 #endif 526 #endif
527 527
528 /* 528 /*
529 * +xim X Input Method. For entering special languages like 529 * +xim X Input Method. For entering special languages like
530 * chinese and Japanese. 530 * chinese and Japanese.
531 * this is for Unix and VMS only. 531 * this is for Unix and VMS only.
532 */ 532 */
533 #ifndef FEAT_XIM 533 #ifndef FEAT_XIM
534 /* #define FEAT_XIM */ 534 // #define FEAT_XIM
535 #endif 535 #endif
536 536
537 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) 537 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
538 # define USE_XIM 1 /* needed for GTK include files */ 538 # define USE_XIM 1 // needed for GTK include files
539 #endif 539 #endif
540 540
541 #if defined(FEAT_XIM) 541 #if defined(FEAT_XIM)
542 // # define X_LOCALE // for OS with incomplete locale 542 // # define X_LOCALE // for OS with incomplete locale
543 // support, like old linux versions. 543 // support, like old linux versions.
548 */ 548 */
549 #ifndef FEAT_XFONTSET 549 #ifndef FEAT_XFONTSET
550 # if defined(HAVE_X11) && !defined(FEAT_GUI_GTK) 550 # if defined(HAVE_X11) && !defined(FEAT_GUI_GTK)
551 # define FEAT_XFONTSET 551 # define FEAT_XFONTSET
552 # else 552 # else
553 /* # define FEAT_XFONTSET */ 553 // # define FEAT_XFONTSET
554 # endif 554 # endif
555 #endif 555 #endif
556 556
557 /* 557 /*
558 * +libcall libcall() function 558 * +libcall libcall() function
559 */ 559 */
560 /* Using dlopen() also requires dlsym() to be available. */ 560 // Using dlopen() also requires dlsym() to be available.
561 #if defined(HAVE_DLOPEN) && defined(HAVE_DLSYM) 561 #if defined(HAVE_DLOPEN) && defined(HAVE_DLSYM)
562 # define USE_DLOPEN 562 # define USE_DLOPEN
563 #endif 563 #endif
564 #if defined(FEAT_EVAL) && (defined(MSWIN) || ((defined(UNIX) || defined(VMS)) \ 564 #if defined(FEAT_EVAL) && (defined(MSWIN) || ((defined(UNIX) || defined(VMS)) \
565 && (defined(USE_DLOPEN) || defined(HAVE_SHL_LOAD)))) 565 && (defined(USE_DLOPEN) || defined(HAVE_SHL_LOAD))))
591 #endif 591 #endif
592 #if defined(FEAT_SOUND) && defined(HAVE_CANBERRA) 592 #if defined(FEAT_SOUND) && defined(HAVE_CANBERRA)
593 # define FEAT_SOUND_CANBERRA 593 # define FEAT_SOUND_CANBERRA
594 #endif 594 #endif
595 595
596 /* There are two ways to use XPM. */ 596 // There are two ways to use XPM.
597 #if (defined(HAVE_XM_XPMP_H) && defined(FEAT_GUI_MOTIF)) \ 597 #if (defined(HAVE_XM_XPMP_H) && defined(FEAT_GUI_MOTIF)) \
598 || defined(HAVE_X11_XPM_H) 598 || defined(HAVE_X11_XPM_H)
599 # define HAVE_XPM 1 599 # define HAVE_XPM 1
600 #endif 600 #endif
601 601
676 # endif 676 # endif
677 #endif 677 #endif
678 #if !defined(FEAT_GUI_DIALOG) && (defined(FEAT_GUI_MOTIF) \ 678 #if !defined(FEAT_GUI_DIALOG) && (defined(FEAT_GUI_MOTIF) \
679 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK) \ 679 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK) \
680 || defined(FEAT_GUI_MSWIN)) 680 || defined(FEAT_GUI_MSWIN))
681 /* need a dialog to show error messages when starting from the desktop */ 681 // need a dialog to show error messages when starting from the desktop
682 # define FEAT_GUI_DIALOG 682 # define FEAT_GUI_DIALOG
683 #endif 683 #endif
684 #if defined(FEAT_GUI_DIALOG) && \ 684 #if defined(FEAT_GUI_DIALOG) && \
685 (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) \ 685 (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) \
686 || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN) \ 686 || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN) \
696 */ 696 */
697 #if (defined(FEAT_BIG) && defined(FEAT_SYN_HL)) && !defined(ALWAYS_USE_GUI) 697 #if (defined(FEAT_BIG) && defined(FEAT_SYN_HL)) && !defined(ALWAYS_USE_GUI)
698 # define FEAT_TERMGUICOLORS 698 # define FEAT_TERMGUICOLORS
699 #endif 699 #endif
700 700
701 /* Mac specific thing: Codewarrior interface. */ 701 // Mac specific thing: Codewarrior interface.
702 #ifdef FEAT_GUI_MAC 702 #ifdef FEAT_GUI_MAC
703 # define FEAT_CW_EDITOR 703 # define FEAT_CW_EDITOR
704 #endif 704 #endif
705 705
706 /* 706 /*
733 /* 733 /*
734 * +xterm_save The t_ti and t_te entries for the builtin xterm will 734 * +xterm_save The t_ti and t_te entries for the builtin xterm will
735 * be set to save the screen when starting Vim and 735 * be set to save the screen when starting Vim and
736 * restoring it when exiting. 736 * restoring it when exiting.
737 */ 737 */
738 /* #define FEAT_XTERM_SAVE */ 738 // #define FEAT_XTERM_SAVE
739 739
740 /* 740 /*
741 * DEBUG Output a lot of debugging garbage. 741 * DEBUG Output a lot of debugging garbage.
742 */ 742 */
743 /* #define DEBUG */ 743 // #define DEBUG
744 744
745 /* 745 /*
746 * STARTUPTIME Time the startup process. Writes a file with 746 * STARTUPTIME Time the startup process. Writes a file with
747 * timestamps. 747 * timestamps.
748 */ 748 */
753 #endif 753 #endif
754 754
755 /* 755 /*
756 * MEM_PROFILE Debugging of memory allocation and freeing. 756 * MEM_PROFILE Debugging of memory allocation and freeing.
757 */ 757 */
758 /* #define MEM_PROFILE */ 758 // #define MEM_PROFILE
759 759
760 /* 760 /*
761 * VIMRC_FILE Name of the .vimrc file in current dir. 761 * VIMRC_FILE Name of the .vimrc file in current dir.
762 */ 762 */
763 /* #define VIMRC_FILE ".vimrc" */ 763 // #define VIMRC_FILE ".vimrc"
764 764
765 /* 765 /*
766 * EXRC_FILE Name of the .exrc file in current dir. 766 * EXRC_FILE Name of the .exrc file in current dir.
767 */ 767 */
768 /* #define EXRC_FILE ".exrc" */ 768 // #define EXRC_FILE ".exrc"
769 769
770 /* 770 /*
771 * GVIMRC_FILE Name of the .gvimrc file in current dir. 771 * GVIMRC_FILE Name of the .gvimrc file in current dir.
772 */ 772 */
773 /* #define GVIMRC_FILE ".gvimrc" */ 773 // #define GVIMRC_FILE ".gvimrc"
774 774
775 /* 775 /*
776 * SESSION_FILE Name of the default ":mksession" file. 776 * SESSION_FILE Name of the default ":mksession" file.
777 */ 777 */
778 #define SESSION_FILE "Session.vim" 778 #define SESSION_FILE "Session.vim"
780 /* 780 /*
781 * USR_VIMRC_FILE Name of the user .vimrc file. 781 * USR_VIMRC_FILE Name of the user .vimrc file.
782 * USR_VIMRC_FILE2 Name of alternate user .vimrc file. 782 * USR_VIMRC_FILE2 Name of alternate user .vimrc file.
783 * USR_VIMRC_FILE3 Name of alternate user .vimrc file. 783 * USR_VIMRC_FILE3 Name of alternate user .vimrc file.
784 */ 784 */
785 /* #define USR_VIMRC_FILE "~/foo/.vimrc" */ 785 // #define USR_VIMRC_FILE "~/foo/.vimrc"
786 /* #define USR_VIMRC_FILE2 "~/bar/.vimrc" */ 786 // #define USR_VIMRC_FILE2 "~/bar/.vimrc"
787 /* #define USR_VIMRC_FILE3 "$VIM/.vimrc" */ 787 // #define USR_VIMRC_FILE3 "$VIM/.vimrc"
788 788
789 /* 789 /*
790 * VIM_DEFAULTS_FILE Name of the defaults.vim script file 790 * VIM_DEFAULTS_FILE Name of the defaults.vim script file
791 */ 791 */
792 /* #define VIM_DEFAULTS_FILE "$VIMRUNTIME/defaults.vim" */ 792 // #define VIM_DEFAULTS_FILE "$VIMRUNTIME/defaults.vim"
793 793
794 /* 794 /*
795 * EVIM_FILE Name of the evim.vim script file 795 * EVIM_FILE Name of the evim.vim script file
796 */ 796 */
797 /* #define EVIM_FILE "$VIMRUNTIME/evim.vim" */ 797 // #define EVIM_FILE "$VIMRUNTIME/evim.vim"
798 798
799 /* 799 /*
800 * USR_EXRC_FILE Name of the user .exrc file. 800 * USR_EXRC_FILE Name of the user .exrc file.
801 * USR_EXRC_FILE2 Name of the alternate user .exrc file. 801 * USR_EXRC_FILE2 Name of the alternate user .exrc file.
802 */ 802 */
803 /* #define USR_EXRC_FILE "~/foo/.exrc" */ 803 // #define USR_EXRC_FILE "~/foo/.exrc"
804 /* #define USR_EXRC_FILE2 "~/bar/.exrc" */ 804 // #define USR_EXRC_FILE2 "~/bar/.exrc"
805 805
806 /* 806 /*
807 * USR_GVIMRC_FILE Name of the user .gvimrc file. 807 * USR_GVIMRC_FILE Name of the user .gvimrc file.
808 * USR_GVIMRC_FILE2 Name of the alternate user .gvimrc file. 808 * USR_GVIMRC_FILE2 Name of the alternate user .gvimrc file.
809 */ 809 */
810 /* #define USR_GVIMRC_FILE "~/foo/.gvimrc" */ 810 // #define USR_GVIMRC_FILE "~/foo/.gvimrc"
811 /* #define USR_GVIMRC_FILE2 "~/bar/.gvimrc" */ 811 // #define USR_GVIMRC_FILE2 "~/bar/.gvimrc"
812 /* #define USR_GVIMRC_FILE3 "$VIM/.gvimrc" */ 812 // #define USR_GVIMRC_FILE3 "$VIM/.gvimrc"
813 813
814 /* 814 /*
815 * SYS_VIMRC_FILE Name of the system-wide .vimrc file. 815 * SYS_VIMRC_FILE Name of the system-wide .vimrc file.
816 */ 816 */
817 /* #define SYS_VIMRC_FILE "/etc/vimrc" */ 817 // #define SYS_VIMRC_FILE "/etc/vimrc"
818 818
819 /* 819 /*
820 * SYS_GVIMRC_FILE Name of the system-wide .gvimrc file. 820 * SYS_GVIMRC_FILE Name of the system-wide .gvimrc file.
821 */ 821 */
822 /* #define SYS_GVIMRC_FILE "/etc/gvimrc" */ 822 // #define SYS_GVIMRC_FILE "/etc/gvimrc"
823 823
824 /* 824 /*
825 * DFLT_HELPFILE Name of the help file. 825 * DFLT_HELPFILE Name of the help file.
826 */ 826 */
827 /* # define DFLT_HELPFILE "$VIMRUNTIME/doc/help.txt.gz" */ 827 // # define DFLT_HELPFILE "$VIMRUNTIME/doc/help.txt.gz"
828 828
829 /* 829 /*
830 * File names for: 830 * File names for:
831 * FILETYPE_FILE switch on file type detection 831 * FILETYPE_FILE switch on file type detection
832 * FTPLUGIN_FILE switch on loading filetype plugin files 832 * FTPLUGIN_FILE switch on loading filetype plugin files
833 * INDENT_FILE switch on loading indent files 833 * INDENT_FILE switch on loading indent files
834 * FTOFF_FILE switch off file type detection 834 * FTOFF_FILE switch off file type detection
835 * FTPLUGOF_FILE switch off loading settings files 835 * FTPLUGOF_FILE switch off loading settings files
836 * INDOFF_FILE switch off loading indent files 836 * INDOFF_FILE switch off loading indent files
837 */ 837 */
838 /* # define FILETYPE_FILE "filetype.vim" */ 838 // # define FILETYPE_FILE "filetype.vim"
839 /* # define FTPLUGIN_FILE "ftplugin.vim" */ 839 // # define FTPLUGIN_FILE "ftplugin.vim"
840 /* # define INDENT_FILE "indent.vim" */ 840 // # define INDENT_FILE "indent.vim"
841 /* # define FTOFF_FILE "ftoff.vim" */ 841 // # define FTOFF_FILE "ftoff.vim"
842 /* # define FTPLUGOF_FILE "ftplugof.vim" */ 842 // # define FTPLUGOF_FILE "ftplugof.vim"
843 /* # define INDOFF_FILE "indoff.vim" */ 843 // # define INDOFF_FILE "indoff.vim"
844 844
845 /* 845 /*
846 * SYS_MENU_FILE Name of the default menu.vim file. 846 * SYS_MENU_FILE Name of the default menu.vim file.
847 */ 847 */
848 /* # define SYS_MENU_FILE "$VIMRUNTIME/menu.vim" */ 848 // # define SYS_MENU_FILE "$VIMRUNTIME/menu.vim"
849 849
850 /* 850 /*
851 * SYS_OPTWIN_FILE Name of the default optwin.vim file. 851 * SYS_OPTWIN_FILE Name of the default optwin.vim file.
852 */ 852 */
853 #ifndef SYS_OPTWIN_FILE 853 #ifndef SYS_OPTWIN_FILE
855 #endif 855 #endif
856 856
857 /* 857 /*
858 * SYNTAX_FNAME Name of a syntax file, where %s is the syntax name. 858 * SYNTAX_FNAME Name of a syntax file, where %s is the syntax name.
859 */ 859 */
860 /* #define SYNTAX_FNAME "/foo/%s.vim" */ 860 // #define SYNTAX_FNAME "/foo/%s.vim"
861 861
862 /* 862 /*
863 * RUNTIME_DIRNAME Generic name for the directory of the runtime files. 863 * RUNTIME_DIRNAME Generic name for the directory of the runtime files.
864 */ 864 */
865 #ifndef RUNTIME_DIRNAME 865 #ifndef RUNTIME_DIRNAME
871 * runtime directories. 871 * runtime directories.
872 * Don't define this if the preprocessor can't handle 872 * Don't define this if the preprocessor can't handle
873 * string concatenation. 873 * string concatenation.
874 * Also set by "--with-global-runtime" configure argument. 874 * Also set by "--with-global-runtime" configure argument.
875 */ 875 */
876 /* #define RUNTIME_GLOBAL "/etc/vim" */ 876 // #define RUNTIME_GLOBAL "/etc/vim"
877 877
878 /* 878 /*
879 * RUNTIME_GLOBAL_AFTER Comma-separated list of directory names for global Vim 879 * RUNTIME_GLOBAL_AFTER Comma-separated list of directory names for global Vim
880 * runtime after directories. 880 * runtime after directories.
881 * Don't define this if the preprocessor can't handle 881 * Don't define this if the preprocessor can't handle
882 * string concatenation. 882 * string concatenation.
883 * Also set by "--with-global-runtime" configure argument. 883 * Also set by "--with-global-runtime" configure argument.
884 */ 884 */
885 /* #define RUNTIME_GLOBAL_AFTER "/etc/vim/after" */ 885 // #define RUNTIME_GLOBAL_AFTER "/etc/vim/after"
886 886
887 /* 887 /*
888 * MODIFIED_BY Name of who modified Vim. Required when distributing 888 * MODIFIED_BY Name of who modified Vim. Required when distributing
889 * a modified version of Vim. 889 * a modified version of Vim.
890 * Also from the "--with-modified-by" configure argument. 890 * Also from the "--with-modified-by" configure argument.
891 */ 891 */
892 /* #define MODIFIED_BY "John Doe" */ 892 // #define MODIFIED_BY "John Doe"
893 893
894 /* 894 /*
895 * Machine dependent: 895 * Machine dependent:
896 * ================== 896 * ==================
897 */ 897 */
899 /* 899 /*
900 * +fork Unix only: fork() support (detected by configure) 900 * +fork Unix only: fork() support (detected by configure)
901 * +system Use system() instead of fork/exec for starting a 901 * +system Use system() instead of fork/exec for starting a
902 * shell. Doesn't work for the GUI! 902 * shell. Doesn't work for the GUI!
903 */ 903 */
904 /* #define USE_SYSTEM */ 904 // #define USE_SYSTEM
905 905
906 /* 906 /*
907 * +X11 Unix only. Include code for xterm title saving and X 907 * +X11 Unix only. Include code for xterm title saving and X
908 * clipboard. Only works if HAVE_X11 is also defined. 908 * clipboard. Only works if HAVE_X11 is also defined.
909 */ 909 */
942 * +mouse_urxvt Unix only: Include code for for urxvt mosue handling. 942 * +mouse_urxvt Unix only: Include code for for urxvt mosue handling.
943 * +mouse Any mouse support (any of the above enabled). 943 * +mouse Any mouse support (any of the above enabled).
944 * Always included, since either FEAT_MOUSE_XTERM or 944 * Always included, since either FEAT_MOUSE_XTERM or
945 * DOS_MOUSE is defined. 945 * DOS_MOUSE is defined.
946 */ 946 */
947 /* OS/2 and Amiga console have no mouse support */ 947 // OS/2 and Amiga console have no mouse support
948 #if defined(UNIX) || defined(VMS) 948 #if defined(UNIX) || defined(VMS)
949 # define FEAT_MOUSE_XTERM 949 # define FEAT_MOUSE_XTERM
950 # ifdef FEAT_BIG 950 # ifdef FEAT_BIG
951 # define FEAT_MOUSE_NET 951 # define FEAT_MOUSE_NET
952 # endif 952 # endif
1015 #if defined(FEAT_CLIPBOARD) && defined(FEAT_GUI_GTK) 1015 #if defined(FEAT_CLIPBOARD) && defined(FEAT_GUI_GTK)
1016 # define FEAT_DND 1016 # define FEAT_DND
1017 #endif 1017 #endif
1018 1018
1019 #if defined(FEAT_GUI_MSWIN) && defined(FEAT_SMALL) 1019 #if defined(FEAT_GUI_MSWIN) && defined(FEAT_SMALL)
1020 # define MSWIN_FIND_REPLACE /* include code for find/replace dialog */ 1020 # define MSWIN_FIND_REPLACE // include code for find/replace dialog
1021 # define MSWIN_FR_BUFSIZE 256 1021 # define MSWIN_FR_BUFSIZE 256
1022 #endif 1022 #endif
1023 1023
1024 #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MOTIF) \ 1024 #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MOTIF) \
1025 || defined(MSWIN_FIND_REPLACE) 1025 || defined(MSWIN_FIND_REPLACE)
1038 * +autoservername Automatically generate a servername for clientserver 1038 * +autoservername Automatically generate a servername for clientserver
1039 * when --servername is not passed on the command line. 1039 * when --servername is not passed on the command line.
1040 */ 1040 */
1041 #if defined(FEAT_CLIENTSERVER) && !defined(FEAT_AUTOSERVERNAME) 1041 #if defined(FEAT_CLIENTSERVER) && !defined(FEAT_AUTOSERVERNAME)
1042 # ifdef MSWIN 1042 # ifdef MSWIN
1043 /* Always enabled on MS-Windows. */ 1043 // Always enabled on MS-Windows.
1044 # define FEAT_AUTOSERVERNAME 1044 # define FEAT_AUTOSERVERNAME
1045 # else 1045 # else
1046 /* Enable here if you don't use configure. */ 1046 // Enable here if you don't use configure.
1047 /* # define FEAT_AUTOSERVERNAME */ 1047 // # define FEAT_AUTOSERVERNAME
1048 # endif 1048 # endif
1049 #endif 1049 #endif
1050 1050
1051 /* 1051 /*
1052 * +termresponse send t_RV to obtain terminal response. Used for xterm 1052 * +termresponse send t_RV to obtain terminal response. Used for xterm
1071 || defined(FEAT_GUI_PHOTON) 1071 || defined(FEAT_GUI_PHOTON)
1072 # define FEAT_MOUSESHAPE 1072 # define FEAT_MOUSESHAPE
1073 # endif 1073 # endif
1074 #endif 1074 #endif
1075 1075
1076 /* GUI and some consoles can change the shape of the cursor. The code is also 1076 // GUI and some consoles can change the shape of the cursor. The code is also
1077 * needed for the 'mouseshape' and 'concealcursor' options. */ 1077 // needed for the 'mouseshape' and 'concealcursor' options.
1078 #if defined(FEAT_GUI) \ 1078 #if defined(FEAT_GUI) \
1079 || defined(MCH_CURSOR_SHAPE) \ 1079 || defined(MCH_CURSOR_SHAPE) \
1080 || defined(FEAT_MOUSESHAPE) \ 1080 || defined(FEAT_MOUSESHAPE) \
1081 || defined(FEAT_CONCEAL) \ 1081 || defined(FEAT_CONCEAL) \
1082 || (defined(UNIX) && defined(FEAT_NORMAL)) 1082 || (defined(UNIX) && defined(FEAT_NORMAL))
1193 # define FEAT_XFONTSET 1193 # define FEAT_XFONTSET
1194 # endif 1194 # endif
1195 #endif 1195 #endif
1196 1196
1197 #if defined(FEAT_BEVAL_GUI) && (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA)) 1197 #if defined(FEAT_BEVAL_GUI) && (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA))
1198 # define FEAT_BEVAL_TIP /* balloon eval used for toolbar tooltip */ 1198 # define FEAT_BEVAL_TIP // balloon eval used for toolbar tooltip
1199 #endif 1199 #endif
1200 1200
1201 /* 1201 /*
1202 * +balloon_eval_term Allow balloon expression evaluation in the terminal. 1202 * +balloon_eval_term Allow balloon expression evaluation in the terminal.
1203 */ 1203 */
1209 1209
1210 #if defined(FEAT_BEVAL_GUI) || defined(FEAT_BEVAL_TERM) 1210 #if defined(FEAT_BEVAL_GUI) || defined(FEAT_BEVAL_TERM)
1211 # define FEAT_BEVAL 1211 # define FEAT_BEVAL
1212 #endif 1212 #endif
1213 1213
1214 /* both Motif and Athena are X11 and share some code */ 1214 // both Motif and Athena are X11 and share some code
1215 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) 1215 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA)
1216 # define FEAT_GUI_X11 1216 # define FEAT_GUI_X11
1217 #endif 1217 #endif
1218 1218
1219 #if defined(FEAT_NETBEANS_INTG) 1219 #if defined(FEAT_NETBEANS_INTG)