;;;
;;;  winbatch-mode.l
;;;      Simple mode for Batch File Enhancer for Windows (WinBatchEh)
;;;

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
仭 偼偠傔偵
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒

偙傟偼丄xyzzy 偱摦嶌偡傞 WinBatchEh 梡偺儌乕僪偱偡丅 OHKUBO 
Hiroshi 偝傫偺 bat-mode.l 傪巒傔丄懡偔偺曽乆偺僐乕僪傪嶲峫偵偝
偣偰偄偨偩偒傑偟偨丅姶幱丅

WinBatchEh 偍傛傃 WBATCP 偼丄惔悈 梞暯偝傫偺儁乕僕
(http://hp.vector.co.jp/authors/VA000007/) 偐傜暿搑擖庤壓偝偄丅
側偔偰傕摦偒傑偡偑丄摉慠僗僋儕僾僩偺幚峴偼偱偒傑偣傫丅


劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
仭 偼偠傔偰 xyzzy 傪偮偐傢傟傞曽傊
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒

劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅
仠 xyzzy 偺僀儞僗僩乕儖
劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅

偲傝偁偊偢巊偆偺偱偁傟偽丄埲壓偺庤弴偱椙偄偲巚偄傑偡丅

xyzzy 偐傜僗僋儕僾僩傪幚峴偡傞応崌偼丄偁傜偐偠傔 .btw 偺娭楢晅
偗傪峴偭偰偍偄偰壓偝偄丅

  1. 婽堜偝傫偺儁乕僕 (http://www.jsdlab.co.jp/~kamei/) 偐傜   
     xyzzy 傪僟僂儞儘乕僪偡傞丅
  
  2. 揔摉側僼僅儖僟偵 xyzzy-version.lzh 傪揥奐偡傞丅
  
  3. 娐嫬曄悢 XYZZYHOME 偵僀儞僗僩乕儖偟偨僼僅儖僟傪愝掕偡傞丅
  
     Win98 偺応崌丄C:\AUTOEXEC.BAT 偵丄埲壓偺峴傪捛壛偡傞丅
  
       set XYZZYHOME=C:\utility\xyzzy
       (C:\utility\xyzzy 偵僀儞僗僩乕儖偟偨応崌)
       
     WinNT 偺応崌丄僐儞僩儘乕儖僷僱儖仺乽僔僗僥儉乿仺乽娐嫬乿
     偱愝掕丅
     
     Win2k 偺応崌丄僐儞僩儘乕儖僷僱儖仺乽僔僗僥儉乿仺乽徻嵶乿
     仺乽娐嫬曄悢乿偱愝掕丅

徻偟偔偼丄Toy 偝傫偺儁乕僕 (http://www.carabiner-systems.com/xyzzy/) 
側偳傪嶲峫偵偟偰壓偝偄丅


劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅
仠 winbatch-mode 偺僀儞僗僩乕儖
劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅

  1. winbatch-mode.l 傪 ~/site-lisp 偵丄WINBATCH 傪 ~/etc 偵
     僐僺乕偡傞丅
     
     xyzzy 傪 c:\utility\xyzzy 偵僀儞僗僩乕儖偟偨応崌偼丄
     
       winbatch-mode.l 仺 c:\utility\xyzzy\site-lisp
       WINBATCH        仺 c:\utility\xyzzy\etc
       
     偵僐僺乕偡傞丅

  2. xyzzy 傪僀儞僗僩乕儖偟偨僼僅儖僟偵 .xyzzy 偲偄偆僼傽僀儖
     傪埲壓偺撪梕偱嶌惉偡傞丅(拲)
       
       ;;; -*- Mode: Lisp -*-
       
       ;; winbatch-mode
       (export 'ed::winbatch-mode "ed")
       (autoload 'winbatch-mode "winbatch-mode" t)
       (pushnew '("\\.btw$" . winbatch-mode) *auto-mode-alist* :test 'equal)
       
       ;; 曗姰傪億僢僾傾僢僾堦棗昞帵
       (setq *popup-completion-list-default* :always)
  
  3. xyzzy 傪嵞婲摦偡傞丅
  
  (拲) Explorer 偐傜偼丄.xyzzy 偲偄偆僼傽僀儖傪嶌惉偡傞偙偲偼
  偱偒側偄偨傔丄庤姷傜偟偵 xyzzy 偐傜嶌惉偡傞偲椙偄偐傕丅

奼挘巕 .btw 傪 winbat32.exe 偵娭楢晅偗偟偰側偄応崌丄傕偟偔偼丄
winbatch-mode 偐傜僗僋儕僾僩偺婲摦偑偱偒側偄応崌偼丄.xyzzy 偵丄
埲壓偺婰弎傕捛壛偟偰壓偝偄丅

埲壓偼丄c:\utility\winbatch\ 偵僀儞僗僩乕儖偟偰偁傞応崌

       ;; WinBatchEh 偺僀儞僗僩乕儖僨傿儗僋僩儕
       (setq ed::*winbatch-path* "c:/utility/winbatch/")


劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅
仠 winbatch-mode 偺巊偄曽
劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅

奼挘巕偑丄.btw 側僼傽僀儖傪 xyzzy 偱奐偔偲丄帺摦揑偵 
winbatch-mode 偑婲摦偟傑偡丅

帺暘偱堄恾揑偵 winbatch-mode 偵偟偨偄応崌偼丄

  1. Esc x  乮偡傞偲壓偵 M-x: 偲昞帵偝傟傑偡乯
  2. winbatch-mode 偲擖椡偟丄Enter

偱 winbatch-mode 偵側傝傑偡丅

昁梫側憖嶌偼丄偲傝偁偊偢 WinBatchEh(B) 儊僯儏乕偐傜峴偭偰壓偝偄丅


劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅
仠 xyzzy 偺僇僗僞儅僀僘
劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅

xyzzy 偼丄Emacs 儔僀僋側僉乕僶僀儞僪側偺偱丄偮偐偄姷傟側偄曽偼丄
.xyzzy 埲壓傪捛婰偡傞偙偲偵傛傝丄Windows 晽側僉乕僶僀儞僪偵偡
傞偙偲偑偱偒傑偡丅

  (load-library "Gates")

偨偩偟丄偙偺愝掕傪偡傞偲丄xyzzy 偱巊偊傞懡偔偺曋棙側僉乕偑偮傇
傟偰偟傑偆偨傔丄C-c, C-x, C-v, C-z 偺傒 Windows 晽偵偡傞偨傔偺
埲壓偺傛偆側愝掕傪偡傞偙偲偑偱偒傑偡丅乮偙偪傜偺傎偆偑偍僗僗儊乯

  (load-library "winkey")

偙偺愝掕偱偼丄僙儗僋僔儑儞偑偁傟偽乮儅僂僗側偳偱僴僀儔僀僩昞帵
偝傟偨晹暘偑偁傞忬懺乯C-c 偱僐僺乕丄C-x 偱愗傝庢傝偲側傝傑偡丅


劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅
仠 偦偺懠
劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅

偦偺懠偺忣曬偵偮偄偰偼丄winbatch-mode.l 偺僐儊儞僩側偳傪傪嶲徠
壓偝偄丅



劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒
HIE Masahiro <madoinu@ybb.ne.jp>
