home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!yale!hsdndev!news.cs.umb.edu!ram
- From: ram@cs.umb.edu (Robert Morris)
- Newsgroups: comp.text.interleaf
- Subject: Re: Stopping Wrap Prompts
- Message-ID: <RAM.92Jul24070541@ra.cs.umb.edu>
- Date: 24 Jul 92 12:05:41 GMT
- References: <aXmcoB1w163w@zitt>
- Sender: news@cs.umb.edu (USENET News System)
- Reply-To: ram@cs.umb.edu
- Organization: University of Massachusetts at Boston
- Lines: 51
- In-Reply-To: joe@zitt's message of 23 Jul 92 05: 11:09 GMT
- Nntp-Posting-Host: ra.cs.umb.edu
-
- In article <aXmcoB1w163w@zitt> joe@zitt (Joe Zitt) writes:
-
- Path: news.cs.umb.edu!hsdndev!news.bbn.com!olivea!uunet!cs.utexas.edu!natinst.com!balkan!dogface!zitt!joe
- From: joe@zitt (Joe Zitt)
- Newsgroups: comp.text.interleaf
- Date: 23 Jul 92 05:11:09 GMT
- Organization: Metatron Press / Human Systems Performance Group, Austin, TX
- Lines: 17
-
- (Interleaf 5 on a RISC System/6000)
-
- I'm creating a tool that goes through books of Interleaf documents, collecting
- and listing instances of NO TAGs. To do this, I'm using
- (tell *text-editor* mid:goto :reference nil)
- or something like it (I'm not at that system now).
-
- Unfortunately, everytime it hits the end of a file, it shows a Wrap or
- Cancel window, requiring the user to press Enter (or click the mouse)
- before it can proceed to the next document. This makes it difficult to
- run the program without someone there to babysit it.
-
- Is there anyway to get it to stop such a search when it hits the end of
- the document?
- --
- "Go to an extreme and then retreat to a more useful position" -- Brian Eno
- Joe Zitt ...cs.utexas.edu!kvue!zitt!joe (512)450-1916
-
- ------------------
- We use
- (stk-intercept stk:doc-wrap-search-fwd '(lambda (&rest bogus) nil))
- (stk-intercept stk:doc-wrap-search-back '(lambda (&rest bogus) nil)))
-
- to turn off the wrap stickups by subclassing them to provide an
- empty open method.
-
- (stk-disable STK-OBJ)
-
- may be less archaic, and from its name, I would guess it is preferred.
-
- (stk-unintercept stk:doc-wrap-search-fwd)
- (stk-unintercept stk:doc-wrap-search-back))
-
- will turn them on. I didn't notice any explicit stk-enable, and the
- relevant doc string seems to suggest using this with stk-disable anyway.
-
- At least in 5.3, and probably earlier, all of this is deducible from
- "apropos wrap" and "apropos stk".
-
-
- Bob Morris
- ram@cs.umb.edu
-