🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1397

Re: view.el & suspend-emacs

#1397
From: Jerry
Date: Wed, 03 Jun 1992 23:25
25 lines
1779 bytes
Ezio Faccioli on June 3 wrote:
*> I use heavily view-mode from dired, SO THAT I sometimes have the
*> opportunity to "fg %epoch" (and sometimes I have to kill epoch),
*> because my fingers have learned how to get a new screen, or remove the
*> current one, while view.elc links C-z to suspend-emacs.
*> 
*> I have the ability to rebind C-z to another command while in view
*> mode, but  this is just an interim solution.

This I copied from ../lisp/term/x-win.el and put in my
../epoch-lisp/site-init.el before building epoch.  There are other
problems with view.el (using recursive-edit, unbinding several keys,
etc.).

-Jerry

;; Don't let users accidentally freeze the Epoch editor
;;
(put 'suspend-emacs 'disabled
     "Suspending a program running in an X window is silly
and you would not be able to start it again.  Just switch windows instead.\n")
(setq suspend-hook '(lambda () (error "Suspending an emacs running under X makes no sense")))
(substitute-key-definition 'suspend-emacs nil global-map)
(substitute-key-definition 'suspend-emacs nil esc-map)
(substitute-key-definition 'suspend-emacs nil ctl-x-map)
Technical Details
Message-ID: <9206032325.AA12474@banach.math.ep.utexas.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!math.ep.utexas.EDU!jerry
References: <9206031524.AA15082@icl220.cilea.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,4eb997b803b0d659
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1992-06-03 16:24:42 PST
Newsgroups: gnu.epoch.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!math.ep.utexas.EDU!jerry
From: jerry@math.ep.utexas.EDU (Jerry)
Subject: Re: view.el & suspend-emacs
Message-ID: <9206032325.AA12474@banach.math.ep.utexas.edu>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
References: <9206031524.AA15082@icl220.cilea.it>
Distribution: gnu
Date: Wed, 3 Jun 1992 23:25:39 GMT
Lines: 25