Mailinglist Archive: opensuse (2407 mails)

< Previous Next >
[SLE] (X)emacs Lisp &quot;macros&quot;
  • From: hattons@xxxxxxxxxxxxxxxx (Steven T. Hatton)
  • Date: Mon, 07 Aug 2000 07:45:16 -0400
  • Message-id: <398EA14C.3AE70192@xxxxxxxxxxxxxxxx>



I have always felt as though anybody who honestly claims the moniker of
Unix/GNU/Linux hacker is proficient with (X)emacs. I am aspiring to
gain at least the pretense of such proficiency.

I started looking at this web page
http://www.mozilla.org/projects/security/pki/nss/nss-guidelines.html
in different editors. I don't like the layout of the page because I
can't get it to print nicely. One feature of code I value is
indentation. The code which I got when I saved was not indented, and it
is rather complex. I finally decided Xemacs was to tool to use. Indeed
it does have some very nice html parsing capabilities.

I came to realize it would be nice to be able to run a "macro" which
would go through each line of code performing an operation on that
code. I tried to do this with a plain macro, and it didn't seem
possible. Sure, I could just tell it to repeat for as many times as
there are lines. I am interested in doing this more more
programmatically. This entails the use of Lisp, if I understand
correctly. I haven't the foggiest idea of how to get started on this
project. I don't want to learn an entire programming language today. I
just want enough grounding to iterate through a text file processing
each line.

Does anybody know how to do this?

TIA,

Steve


--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/support/faq


< Previous Next >
This Thread
  • No further messages