Hello everybody,

For the past few days, I was trying to learn some lisp programming, and chose
emacs lisp, and in the process found myself very much attracted to this
wonderful editor (which I had stayed away from all this time).

While using emacs, I found that I could use M-x ps-spool-buffer-with-faces to
get a wonderful postscript output of the program in the buffer. But still, if
I wanted a black and white output with the keywords in bold, remarks in
italics, etc. without changing the faces, I had to use enscript. So, I would
like to create a keyboard macro to run the following enscript command on the
buffer contents:
  enscript -E lisp -i 10 --media=a4 --output=buffer.ps --color \
  --margins=25:25:30:30 

But if understood the manuals correctly, I can only create a macro using
current emacs commands, not shell commands.

So, can anyone please help me do this under emacs. (I know I can always do
this by opening up an eshell under emacs, but that takes away the fun :)

I would also like to know what is the emacs equivalent of the following vim
command:
  :r!<shell command>


Regards,
Santanu


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to