wb8foz@mthvax.cs.miami.edu (David Lesher) (02/22/91)
I asked this before, but never got a definite reply. Is it possible, in VIP mode, or elseways, to have a SAFE key in emacs? By this I mean a key that REGARDLESS of what you are doing, or what weird mode you have stumbled into, hitting it 1->n times gets you to a fixed mode. Note that 'undo' does NOT do this. This would be expressly for a limited function editor for neophyte email users. A good example of SAFE is vi's <ESC> command. You hit it once, twice, n times. It always leaves you in command mode. If you hit it too many times, at worst it beeps. Without some such "safehaven" I cannot see how you can try to teach the masses how to use any shell built around emacs. One wrong step...... Ideas? -- A host is a host from coast to coast.....wb8foz@mthvax.cs.miami.edu & no one will talk to a host that's close............(305) 255-RTFM Unless the host (that isn't close)......................pob 570-335 is busy, hung or dead....................................33257-0335
de5@ornl.gov (Dave Sill) (02/22/91)
In article <1991Feb22.011031.8267@mthvax.cs.miami.edu>, wb8foz@mthvax.cs.miami.edu (David Lesher) writes: > >Is it possible, in VIP mode, or elseways, to have a SAFE key in emacs? >By this I mean a key that REGARDLESS of what you are doing, or what >weird mode you have stumbled into, hitting it 1->n times gets you to a >fixed mode. Note that 'undo' does NOT do this. Sure, you could bind the equivalent of "control-G escape" to some key. Hitting it once or twice would always put you back in VIP command mode. Hitting control-G alone will put you back in VIP in whatever VI-mode you were in, e.g., comman or insert. -- Dave Sill (de5@ornl.gov) It will be a great day when our schools have Martin Marietta Energy Systems all the money they need and the Air Force Workstation Support has to hold a bake sale to buy a new bomber.