Xref: utzoo comp.binaries.ibm.pc.d:15087 comp.editors:3330 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!sics.se!fuug!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi) Newsgroups: comp.binaries.ibm.pc.d,comp.editors Subject: Re: MicroEmacs: Wrap, 50 lines Message-ID: <1991Jun11.171934.6041@uwasa.fi> Date: 11 Jun 91 17:19:34 GMT References: Followup-To: comp.editors Organization: University of Vaasa, Finland Lines: 52 In article aporter@pilot.njin.net (Al Porter) writes: > >I'm just getting started with MicroEmacs version 3.10. The word-wrap >mode seems to work fine...but how can I make it become the default? >Is there a configuration file or something I could create? Also, the >README file mentions that the IBM-PC version supports VGA 50-line >mode. It doesn't automatically recognize this mode when I start up >MicroEmacs. How does one customize this program? Followups go to comp.editors. You put the defaults in emacs.rc (at root, path, or memacs dir, I think). Here are mine for this exasperating editor: ;EMACS.RC by Timo Salmi Wed 14-Nov-90 bind-to-key save-file ^X^D bind-to-key search-forward M-S bind-to-key beginning-of-line FN< bind-to-key end-of-line FN> ;bind-to-key exit-emacs ^X. bind-to-key exit-emacs M-Z bind-to-key execute-macro-1 ^X, ;bind-to-key execute-macro-27 ^X^C 1 store-macro set %curcol $curcol set %curcol &add %curcol 1 set %curline $curline write-message &cat &cat &cat "Line = " %curline ", Column = " %curcol !endm 27 store-macro write-message "Use (^X .) or (ESC-Z) to exit MicroEMACS" !endm unbind-key ^X^S ;save file unbind-key ^S ;search forward set $fillcol 68 add-global-mode WRAP add-mode "yellow" add-mode "BLACK" add-global-mode "yellow" add-global-mode "BLACK" ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun