Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!UUNET.UU.NET!edsr!baugh!cdm From: edsr!baugh!cdm@UUNET.UU.NET (Clifford David Morrison) Newsgroups: gnu.emacs.bug Subject: lpr.el bug Message-ID: <8904102010.AA02761@baugh.eds.com> Date: 10 Apr 89 20:10:12 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 29 In GNU Emacs 18.52.3, the lpr.el print-region actually prints the entire document. (Unfortunately I discovered this on a 120 page document where I wanted to print 3 lines). The change needed to fix this is as follows... Change (insert-buffer-substring oldbuf) to (insert-buffer-substring oldbuf start end) Insert-buffer-substring by default takes the whole buffer.... Start and end limit the insertion to the region. If you need any help duplicating my problem, let me know. I believe it should be rather easy to. +-----------------------------------------------------------------------------+ | CCC DDD M M Clifford D. Morrison | | C D D MM MM Electronic Data Systems Corporation | | C D D M M M EDS Proprietary Research | | CCC DDD M M M 1323 Columbia, Suite 315 | | *************** Richardson, Texas 75081 | | | | Work Phone: (214) 490-2728 Home Phone: (214) 867-3953 | | GEnie: C.D.MORRISON UUNET: !uunet!edsr!sanfelipe!cdm | | | | Disclaimer: | | My views do not necessarily (or usually) represent | | the views of my employer or anyone but myself. | +-----------------------------------------------------------------------------+