🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5550

Re: What your favorite editor for programming?

#5550
From: Morgan Schweers
Date: Sun, 31 Mar 1991 08:45
89 lines
4967 bytes
In article <DAVIS.91Mar29150352@pacific.mps.ohio-state.edu> davis@pacific.mps.ohio-state.edu  (John E. Davis) writes:
>In article <2648@odin.cs.hw.ac.uk> scott@cs.hw.ac.uk (Scott Telford) writes:
>[...]
>   Of course, everybody should be using Emacs-type editors...I would never use
>   anything else ;^)
>
>
>
>Which emacs editor do people use for pc's?  I know of only two: MicroEmacs and
>Freemacs.  I find Micro-Emacs kind of buggy (I cannot redefine ^U-- try it;
>the functions have different names than emacs, eg, bind-to-key vs
>global-set-key) and Freemacs has a wierd extension language (mint).  Which of
>these two emacs-like editors (assuming only two) do most people prefer?
>(either email or post an opinion and I will post a summary)
Greetings,
    I *SWEAR* by Freemacs.  It is VERY similar to GNU-Emacs, it's language is
somewhat like LisP (but not really...), and it's *REALLY* easy to configure.

    Some suggestions:  Try playing with the following keystrokes under
Freemacs:

<ESC>-x edit-options         /*  Allows you to change all the basic options */
<ESC>-x ek                   /*  Allows you to edit the key-setups (*GREAT*!)*/
<ESC>-x ef                   /*  Allows you to edit the functions...  This is
                                 dangerous...  Be *CAREFUL*.  */

    If you've loaded the entire Freemacs distribution properly, you should be
able to enter C-mode just by editing a file with a '.C' or '.H' extension.  If
not, read the docs to see how to do it.

    The only annoying thing about the documentation is that it doesn't give a
good reference on how to force the editor to load your own library at the
beginning.  However, since all the code is supplied with it, I read the code.

    For those not interested in doing that, here's a USER.MIN that you can
compile (using C-c C-c) that will create your USER.ED.  It contains a tiny
routine (a keyboard macro, actually) that will swap '/' with '\' one at a
time.  It could have been done nicer, but it was just to figure out how to
create my USER.ED, so it didn't have to be pretty.
    All U: functions are available from <ESC>-x, as well as (obviously)
bindable to keys through the <ESC>-x ek function.

    IF, however, you wish to edit *ALL* your keys at once (the 'ek' function
only allows one at a time, as I recall) you should play with '<ESC>-x ef K.'
as a key-series.  This will take *A LONG TIME* loading the entire key bindings,
disassembling them, then placing them into a buffer.  You can then edit it,
and recompile it with C-c C-c.  (The recompilation will also take a long time,
as it recompiles every key definitition...)  What '<ESC>-x ef K.' means is,
essentially, 'edit all functions which begin with "K."'  The K. functions
happen to be the key-bindings...  Make a printout of EMACS.EDD (and any other
.EDD files you have laying around) and redefine your keys to your hearts
content.  (I *strongly* suggest reading your docs...)

------------ if you cut here your machine will crash -----------
[*]
#(ds,Ufilename,user)
#(ds,Umodified)
#(Fsave-lib,U)
[*]
 
Name:U:swap-fslash-bslash
[*]#(Frun-kbd-macro,C-s<>/<>Esc<>Back Space<>\<>)[*]

------- cut here --------
>Since I have totally redefined my keys from the normal emacs bindings, I
>cannot use an editor which does not allow me to redefine the keys. So I do not
>consider an emacs-type editor which does not allow me to redefine the keys to
>be an emacs-type editor.  At this point I use MicroEmacs but it only supports
>two keymaps: ^X and ^[.  What about Freemacs?  Does it support multiple
>keymaps?  If so then I would appreciate it if someone were to send me a sample
>mint source for Freemacs which redefines some keys and things.  In addition,
>does Freemacs blink matching {}[]() like emacs and does it have a C-mode?
     I'm not sure about how the keymaps are designed in Freemacs, but it will
happily blink {}[]() just like the EMACS I'm using online just did. <Grin>
(As I said, it does have a C-mode, also settable through <ESC>-x c-mode)

>Thanks,
>   
>--
>John
>
    You're welcome...

                                                         --  Morgan Schweers
+-----------
    My opinions aren't the opinions of my company, but they are the opinions
of the other programmer...  <Grin>
                                    mrs@netcom.com, ms@gnu.ai.mit.edu
-----------+
Technical Details
Message-ID: <1991Mar31.084555.24713@netcom.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!tandem!netcom!mrs
References: <21481@shlump.nac.dec.com> <2648@odin.cs.hw.ac.uk> <DAVIS.91Mar29150352@pacific.mps.ohio-state.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!tandem!netcom!mrs
From: mrs@netcom.COM (Morgan Schweers)
Newsgroups: comp.os.msdos.programmer
Subject: Re: What your favorite editor for programming?
Keywords: emacs editor Freemacs
Message-ID: <1991Mar31.084555.24713@netcom.COM>
Date: 31 Mar 91 08:45:55 GMT
References: <21481@shlump.nac.dec.com> <2648@odin.cs.hw.ac.uk> <DAVIS.91Mar29150352@pacific.mps.ohio-state.edu>
Organization: McAfee Associates
Lines: 89