Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Rebol mode for Emacs

From: jeff:rebol at: 19-Dec-2000 11:11

Howdy, Dan:
> ... I can't figure out how to load rebol.el. There isn't a > .emacs file as mentioned in the readme. Can anyone help with > this? > > Thanks, Dan
Ah... someone makes the first steps into the world of Emacs... < wiping away a sentimental tear... > (-: ======================================================== == Folks, please pardon this quick tip sheet on emacs == ======================================================== So, with win emacs (or any emacs), to get to your .emacs, do: C-x C-f ~/.emacs (Control-x Control-f is find-file.. probably your most common emacs command) Then you can add the stuff from the readme file. You can always load an elisp file in emacs like this: M-x load-file I recommend working through the emacs tutorial when you start out: (C-h T) Also, you can always find out about various features in emacs by doing: M-x apropos Those M- and C- mean Meta- and Control-, respectively, meaning you press meta key (or escape) and press the thing that comes after it, like: M-x means meta key plus the key 'x'. Meta is often the alt key. C-x means a ^X, (control-x). When you type M-x you see a M-x appear in the lower left hand corner. Then you type out a full command, like 'apropos'. Everything in emacs has a full command associated with it, but most things are bound to key sequences. When typing a full command (a M-x command) you can hit tab for emacs to attempt to complete it, or just return if you've typed enough for it to figure out. If you hit return and there's a few possibilities then emacs will show you a list of the possibilities. When ever you need help, hit control-h twice, and you'll get a handy menu of ways for emacs to help you. Then just play with emacs for the next 20 years of your life, discovering new capabilities every other week or so. Bon voyage! -jeff