Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!husc6!ut-sally!ut-ngp!mic From: mic@ut-ngp.UUCP Newsgroups: comp.emacs Subject: Re: Startup file for MicroGnuEmacs? Message-ID: <4746@ut-ngp.UUCP> Date: Sun, 22-Feb-87 15:26:06 EST Article-I.D.: ut-ngp.4746 Posted: Sun Feb 22 15:26:06 1987 Date-Received: Mon, 23-Feb-87 03:32:06 EST References: <855@wanginst.EDU> Reply-To: mic@ngp.UUCP (Mic Kaczmarczik) Distribution: world Organization: UTexas Computation Center, Austin, Texas Lines: 37 Keywords: MicroGnuEmacs Summary: In article <855@wanginst.EDU> davis@wanginst.UUCP (Franklin Davis) writes: > >Is there a startup file (equivalent to ".emacs" for full Gnu)? Any >special format for commands in such a file? > Yes there is; you need to compile the editor with STARTUP #defined (see the instructions for making MG on your system for details). Here's a copy of my .mg (which should be put in SYS$LOGIN:.MG on VMS, $HOME/.mg on Unix, and s:.mg on the Amiga). Mike Meyer designed the startup code to allow things that look like a GNU .emacs, but beware; all it's really doing is putting the "important" parts of each line into the input buffer, then executing the line. ------------------------------CUT HERE---------------------------------------- (flow-mode) (auto-file-mode) (global-set-key "\eg" 'goto-line) (global-set-key "\e!" 'recenter) (global-set-key "\e\^p" 'prefix-region) (global-set-key "\e\^y" 'insert-buffer) (global-set-key "\e\^z" 'suspend-emacs) (global-set-key "\^x\^v" 'find-file) (blink-matching-paren) (global-set-key "]" 'blink-matching-paren-hack) (global-set-key "}" 'blink-matching-paren-hack) ------------------------------CUT HERE---------------------------------------- >Another question: any chance of a Macintosh version? I haven't heard of one yet, but there are a lot of hackers out there. I've seen ports of other versions (mainly Dan Lawrence's MicroEmacs 3.x) once in a while on mod.mac.binaries. Mic Kaczmarczik ...!seismo!ut-sally!ut-ngp!mic mic@ngp.utexas.edu