home *** CD-ROM | disk | FTP | other *** search
- I have a situation in which I would like a command to be able to signal an
- (uncaught) error, but still preserve the zmacs region. Is this a bad idea?
-
- In particular I use "improved" versions of the vertical scrolling commands
- scroll-{up,down,other-window}, and I would like these commands to preserve the
- zmacs region even when they signal buffer boundary errors. However, I can't do
- this because the function cmd_error in "keyboard.c" always deactivates the
- region.
-
- My question, then, is whether or not it is really necessary for cmd_error to
- deactivate the region in all cases. If not, then maybe it shouldn't do so when
- zmacs-region-stays is set.
-
- (BTW, even if cmd_error were changed to not deactive the region, the standard
- versions of the vertical scrolling commands still wouldn't preserve the region
- when they signal buffer boundary errors. They set zmacs-region-stays after the
- scrolling is done -- and after they potentially signal errors.)
-
- Eric.
-
- --
- -------------------------------------------------------------------------------
- Eric Eide | University of Utah Department of Computer Science
- eeide@cs.utah.edu | Buddhist to hot dog vendor: "Make me one with everything."
-
-