Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!amdahl!tron From: tron@amdahl.amdahl.com (Ronald S. Karr) Newsgroups: comp.emacs Subject: Re: fixing a file Message-ID: <20843@amdahl.amdahl.com> Date: 15 Jan 88 13:17:00 GMT References: <21226@yale-celray.yale.UUCP> <39749@ti-csl.CSNET> Reply-To: tron@amdahl.amdahl.com (Ronald S. Karr) Organization: Amdahl Coup, UTS Products Hen house Lines: 23 In article <39749@ti-csl.CSNET> ekberg@home.csc.ti.com (Tom Ekberg) writes: >in article <21226@yale-celray.yale.UUCP>, (Ashwin Ram) says: >> line as soon as you type the (right-edge + 1)'th character? I.e., is there >> any way, when typing Brian's example, to avoid seeing the "para/ >> graph" >How about the following functions? The first one is a substitute for the >self-insert-command function and the second one sets up the global map to use >it. One problem with replacing self-insert-command is that the Emacs main editing loop handles this as a special case, much more efficiently than if it were to call a lisp function for each character typed. The normal trick is to only handle SPC and some other characters differently, which should keep down the load average considerably. In summary, don't do this on a loaded vax. On a single-user workstation or an otherwise lightly loaded CPU, go ahead. -- tron |-<=>-| ARPAnet: amdahl!tron@Sun.COM tron@uts.amdahl.com UUCPnet: {decwrl,sun,uunet}!amdahl!tron [views above shouldn't be viewed as Amdahl views, or as views from Amdahl, or as Amdahl views views, or as views by Mr. Amdahl, or as views from his house]