[buug] Quick Emacs Macro?
jzitt at josephzitt.com
Mon Jul 5 00:49:15 PDT 2004
Thanks! I should have probably been looking for a function in the first
place. I've done some Lisp, so while I couldn't quite wrap my head
around how to do it in the first place, I was able to drop this into my
.emacs and tweak it further from there to do even more of what I wanted.
Thanks also to Ian for the macro-based solution. I'm going to have to
stare at that a while and play with it to get a handle on how macro
definition works in practice.
On Sun, 2004-07-04 at 13:12, Erik Shirokoff wrote:
> Hi Joseph,
> Started this before I saw the other response. Oh well - now you have two options.
> Here's a small function that will do what you want. Everything I know about emacs lisp has been found through trial and error, so there is almost certainly a more elegant way to doing it. None the less, it works, at least in GNU Emacs 21.3.2.
> Also, in case it's useful, the most useful references I know about for emacs tinkering are (perhaps obviously):
> the offical GNU intro and manual:
> a chart of lisp expressions for people who know perl:
More information about the buug