Perl-based editor macros (was Re: SPUG: perltidy HTML colorer)

David Innes (CSG) davidinnes at chicagoscience.com
Thu Dec 27 13:20:28 CST 2001


Ok, so here's a dumb question.  I learned LISP in college, which made emacs
very easy to extend.  Then, in 1985 or so I got a job at Microsoft where
everything real (including email and software development) was done in vi on
Microsoft XENIX (their pre-DOS microcomputer operating system).

So I learned vi and I've used it ever since, I no longer remember LISP, and
since I now know Perl there's no reason to relearn it.

So here's my first question: Is there a version of Emacs, vi, or any other
suitable-for-development editor that uses Perl as the native macro language?
Extra credit, of course, for one that's *written* in Perl.

Second question: A number of editors claim to hook Perl for extensions but
(because I'm a thumb-fingered dweeb?) I haven't figured how to use them.
Any pointers would be appreciated.  Extra credit for vi or vi-like-emacs
solutions.  Extra extra credit for platform independent (W2K tolerant)
versions.

My fantasy, of course, is to have a macro that begins with "use perltidy;"
        -- David Innes

----- Original Message -----
From: "Steve Sarapata" <stevesa at microsoft.com>
To: "Michael R. Wolf" <MichaelRunningWolf at att.net>
Cc: <spug-list at pm.org>
Sent: Thursday, December 27, 2001 8:19 AM
Subject: RE: SPUG: perltidy HTML colorer


> The nice thing about emacs is its vi mode.
>
> -----Original Message-----
> From: Michael R. Wolf [mailto:MichaelRunningWolf at att.net]
> Sent: Thursday, December 27, 2001 10:33 AM
> To: spug-list at pm.org
> Subject: Re: SPUG: perltidy HTML colorer
>
>
> Dan Ebert <mathin at mathin.com> writes:
>
> > Of course, you also have to take a lot of flak from vi nuts. :)
>
> Consider the source!
> Value the diversity.
> Enjoy the advantage!
>
> It's like kids on skateboards heckling me for the moth on
> the windshield of my Lear Jet.  I can deal with it.
>
> --
> Michael R. Wolf
>     All mammals learn by playing!
>        MichaelRunningWolf at att.net
>
>
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> -
>      POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
>       Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
>   Replace ACTION by subscribe or unsubscribe, EMAIL by your
> Email-address  For daily traffic, use spug-list for LIST ;  for weekly,
> spug-list-digest
>      Seattle Perl Users Group (SPUG) Home Page: http://zipcon.net/spug/
>
>
>
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>      POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
>       Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
>   Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
>  For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
>      Seattle Perl Users Group (SPUG) Home Page: http://zipcon.net/spug/
>
>
>


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://zipcon.net/spug/





More information about the spug-list mailing list