home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / epmkmap1.zip / MYCNF.E < prev    next >
Text File  |  1996-07-31  |  7KB  |  127 lines

  1. ; The following is the MYCNF.E used to build the .ex files for the OS/2 2.0
  2. ; Enhanced Editor.  It is included in EMACROS.FLS as an example; please do
  3. ; *not* use it as a base MYCNF.E.  The MYCNF.E should only include changes
  4. ; from the STDCNF.E defaults; defining *everything* just makes it more
  5. ; difficult to debug problems.  The defaults are shown in parentheses.
  6. ; For possible values for each setting, see the documentation or STDCNF.E.
  7.  
  8. const
  9.    HOST_SUPPORT = 'EMUL'       -- ('STD') Use E3EMUL.  Following are for it:
  10.      USING = 'IBM'               -- ('CM') Send/Receive protocol    Needed for MVS
  11.      MVS = 1                     -- (0) Include MVS support
  12.      HOST_LT_REQUIRED = 1        -- (0) H: refers to PC; HA: refers to host.
  13.      C_KEYWORD_HIGHLIGHTING = 1
  14.      E_KEYWORD_HIGHLIGHTING = 1
  15.      REXX_KEYWORD_HIGHLIGHTING = 1
  16.      TEX_KEYWORD_HIGHLIGHTING = 1
  17.      PAS_KEYWORD_HIGHLIGHTING = 1
  18.      HOLD_INDENT_IN_STREAM_MODE = 1 --- (1) Stay at indent level after enter
  19.                                     ---     in stream mode
  20.      WANT_EMACS_SEMICOLON = 0       --- Semicolon also changes lines in C or Pascal modes
  21.      WANT_PASCAL_IS_NOT_C = 1       --- Disable C-like stuff (like ';') for Pascal
  22. compile if EVERSION < '6.00c'
  23.    LINK_HOST_SUPPORT = 1       -- (0) Must link in host support; no room in base.
  24. compile endif
  25. -- C/C++ Files
  26.    C_SYNTAX_ASSIST = 1
  27.    C_EXTENSIONS = 'C SQC RC'                 --- moved 'H' to CPP (to get correct handling of 
  28.    CPP_EXTENSIONS = 'CPP CC M H HPP CXX HXX' --- class definitions, added 'RC' to C and 'M', 'CC' to CPP
  29. -- Rexx/E Files
  30.    REXX_SYNTAX_ASSIST = 1      -- (0) Include Rexx syntax assist
  31.    E_SYNTAX_ASSIST = 1         -- (1) The product doesn't need E syntax assist!
  32. -- Pascal Files
  33.    WANT_END_COMMENTED = 1
  34.    WANT_PROC_BEGIN_COMMENTED = 0
  35. -- Java Files
  36.    JAVA_SYNTAX_ASSIST = 1
  37.    JAVA_KEYWORD_HIGHLIGHTING = 1
  38.    JAVA_SYNTAX_INDENT = 1
  39. compile if EVERSION < '6.00c'
  40.    WANT_STACK_CMDS = 'SWITCH'  -- (0) Include this; nice to have
  41. compile else
  42.    WANT_STACK_CMDS = 1          -- (0) Leave on all the time; can't toggle w/ new menus
  43. compile endif
  44.    WANT_ET_COMMAND = 0         -- (1) The product doesn't get ETPM.
  45.    WANT_ALL = 1                -- (0) Include this; nice to have
  46.    WANT_SEARCH_PATH = 1        -- (0) Include this; nice to have
  47.    WANT_LAN_SUPPORT = 1        -- (0) Include this; nice to have
  48. compile if EVERSION < '6.00c'  -- (Slows down startup)
  49.    CHECK_FOR_LEXAM = 1         -- (0) Give them spell checking if they already have LEXAM.DLL
  50. compile endif
  51.  
  52.    my_DEFAULT_EDIT_OPTIONS = '/t'  -- ('') Default should be to keep (not expand) tabs
  53.    my_DEFAULT_SEARCH_OPTIONS = 'C' -- Ignore Case!!!
  54.    SETSTAY = '?'               -- (0) Enable the STAY comamnd
  55.    WANT_STREAM_MODE = 'SWITCH' -- (0) Enable switching stream mode on and off
  56. compile if EVERSION < 6    -- Don't bother with this for the beta version.
  57.    my_STREAM_MODE = 1          -- (0) Default is to start with it on
  58. compile endif
  59.    WANT_CUA_MARKING = 'SWITCH' -- (0) Enable switching between CUA and advanced marking
  60. compile if EVERSION < 6    -- Don't bother with this for the beta version.
  61.    my_CUA_marking_switch = 1   -- (0) Default is to start with it on
  62.    RING_OPTIONAL = 0           -- (0) Enables Ring on / Ring off code
  63.    my_RING_ENABLED = 1         -- (1) Make it stupid for CUA
  64.    NO_ESCAPE = 1               -- (0) CUA says Escape key can't go to command dialog.
  65. compile endif
  66.    SUPPORT_BOOK_ICON = 0       -- (1) No "Book icon" on Options
  67.    ENHANCED_ENTER_KEYS = 1     -- (0) Let users configure each enter key separately
  68.    ENHANCED_PRINT_SUPPORT = 1  -- (0) Support list of printers
  69. compile if EVERSION < '6.00c'  -- Slows down startup; must add back for DBCS countries
  70.    WANT_DBCS_SUPPORT = 1       -- (0) Include support for DBCS
  71. compile endif
  72. compile if EVERSION < '6.00c'
  73.    EXTRA_EX = 1                -- (0) To make room in EPM.EX for everything we need
  74.    WANT_EPM_SHELL = 'HIDDEN'   -- (0) Include the function, but not initially visible.
  75. compile else
  76.    WANT_EPM_SHELL = 1          -- (0) Include the shell support.
  77. compile endif
  78.    WANT_BRACKET_MATCHING = 1   -- (0) Include bracket matching code.
  79.    WANT_KEYWORD_HELP = 1       -- (0) Include keyword lookup code.
  80.    WANT_LONGNAMES = 'SWITCH'   -- (0) Enable switching on longname support
  81.    WANT_PROFILE = 'SWITCH'     -- (0) Enable switching on Rexx profile support
  82. compile if defined(NO_ESCAPE)
  83.    TOGGLE_ESCAPE = 1           -- (0) Enable toggling Esc to activate command dialog.
  84. compile endif
  85.    TOGGLE_TAB = 1              -- (0) Enable toggling Tab key to insert a tab character.
  86.    SYNTAX_INDENT = 4           -- (3) Automatic indent after '{' etc.
  87.    C_TABS       = 4            -- (3) Without ETPM, users can't customize, so don't set.
  88.    C_MARGINS    = 1            -- (1 254 1)  "
  89.    REXX_TABS    = 0            -- (3)        "
  90.    REXX_MARGINS = 0            -- (1 254 1)  "
  91.    P_TABS       = 2            -- (3)        "
  92.    P_MARGINS    = 0            -- (1 254 1)  "
  93.    P_SYNTAX_INDENT = 2         -- (SYNTAX_INDENT)
  94.    BLOCK_ACTIONBAR_ACCELERATORS= 1  -- (1) Switch CUA menu support on/off
  95.    my_CUA_MENU_ACCEL = 1       -- (0) Don't block CUA accelerators for action bar selections.
  96.    WANT_NODISMISS_MENUS = 1    -- (1) Don't make Pref. & Frame Ctrls menus NODISMISS
  97. compile if EVERSION < '5.60'
  98.    WANT_TRUNCATED_WARNING = 1  -- (0) Give a pop-up for "Lines truncated" warning
  99. compile endif
  100.    DYNAMIC_CURSOR_STYLE = 1    -- (0) Allow selecting cursor style at run time
  101.    EPM_POINTER = 'SWITCH'      -- (2) Allow selecting mouse pointer style at run time
  102. compile if EVERSION >= 6
  103. ;; STD_MENU_NAME = 'ovshmenu.e' -- (undef) Use WOVSH menu style
  104. ;; STD_MENU_NAME = 'fevshmnu.e' -- (undef) Use WFEVSH menu style
  105.    STD_MENU_NAME = 'mymenu.e' -- (undef) Use WFEVSH menu style
  106.    my_STACK_CMDS = 1           -- (0) Initialize to stack cmds visible
  107.    WANT_TAGS = 1               -- (0) Include support for 'tags' file
  108.    INITIAL_TOOLBAR = 0         -- (Undef) Start out off, so window appears more quickly
  109. compile endif
  110.  
  111. define
  112.    DRAGCOLOR = ''              -- (YELLOW + MAGENTAB) This will use .markcolor for the .dragcolor.
  113.  
  114. compile if defined(BLACK)
  115. define
  116.    HIGHLIGHT_COLOR = Yellow + Magentab  -- ('') Default is no highlight after Locate
  117.    MARKCOLOR                = White + BlackB  -- (BLUE + GREYB)
  118. compile endif
  119.  
  120.  
  121. --- TeX-Stuff!!!
  122.  
  123. --- ********* CUSTEPM *******************
  124. compile if not defined(WANT_AUTOMATIC_LATEX_MENU)
  125.  WANT_AUTOMATIC_LATEX_MENU = 1
  126. compile endif
  127.