Article View: news.software.readers
Article #35970Slrn wish
From: Ian T Zimmerman
Date: Thu, 04 Sep 1997 00:00
Date: Thu, 04 Sep 1997 00:00
20 lines
1320 bytes
1320 bytes
It seems that although there's a way (namely set_prefix_argument) to _set_ the prefix argument in a Slang macro (for use by C intrinsics called by the macro), there's currently no way to _query_ the current prefix argument, as entered interactively by the user. This means macros written to be used as interactive commands cannot be parametrized by user input, which is a pain. For example, I cannot write a macro equivalent of the command `move down n headers, where n is the prefix argument, or 1 if no prefix'. Adding this bit seems to be trivial, just export Slrn_Prefix_Arg_Ptr to Slang. -- Ian T Zimmerman <itz@rahul.net> The dilemma is that when you model something completely on efficiency, a lot of people get hurt. Dr. Leonard Duhl of UC Berkeley, discussing `managed medical care'.
Technical Details
Message-ID:
<slrn60u4cu.mvh.itz@kronstadt.rahul.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrn60u4cu.mvh.itz@kronstadt.rahul.net> Subject: Slrn wish Date: Thu, 04 Sep 1997 00:00:00 +0000 From: itz@rahul.net (Ian T Zimmerman) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 269885828 Organization: a2i network Newsgroups: news.software.readers