Article View: news.software.nn
Article #7079Problems with Macros
From: Gail Gurman
Date: Tue, 07 Feb 1995 19:53
Date: Tue, 07 Feb 1995 19:53
31 lines
1741 bytes
1741 bytes
Why is it that I can never write a macro, no matter how simple, that works
right away? And how come nn supports macros, but they always have to be
written from scratch? How come macros can't be created by "recording?"
Anyway, here's my latest attempt. The idea is that I have two accounts and
iI can only use nn in one of them, so that's where I read most of my news.
Sometimes, though, I want to mail some information that I see to myself at
my other account. I do this so often, that I want to be able to press 'M'
and have it done automatically.
Here's what I have so far:
map show M (
'm' yes "foo" '^M' "" '^M' no
)
I am using "foo" here instead of my the usual name, which is an elm alias. I
have elm set up as my mailer for nn.
Incidentally, I tried using "mail" instead of "'m'" but then it waited for
input (i.e., 'y' or 'n') at the include prompt.
I appreciate any help I can get with this.
Thanks very much.
Gail
--
GTW/CS d H++ s:++ g- p? !au a w+ v+$(*) C++ US+$>++++ P>++ L>++ 3 E+@ N+(++) K-
W-(+) M+ V po- Y+ t+ 5+ j R>+ G+(') tv++ b++>+++ D+ B--- e++ u+@ h+ f+ r !n x+
Technical Details
Message-ID:
<ggurman.792186818@danube.EECS.Berkeley.EDU>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!swrinde!howland.reston.ans.net!agate!danube.EECS.Berkeley.EDU!ggurmanShow Full Headers
Complete Article Headers
Message-ID: <ggurman.792186818@danube.EECS.Berkeley.EDU> Subject: Problems with Macros Date: Tue, 07 Feb 1995 19:53:38 +0000 From: ggurman@danube.EECS.Berkeley.EDU (Gail Gurman) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!swrinde!howland.reston.ans.net!agate!danube.EECS.Berkeley.EDU!ggurman Newsgroups: news.software.nn Organization: University of California, Berkeley Lines: 31 NNTP-Posting-Host: danube.eecs.berkeley.edu