>> Maybe it could be improved by making self-insert-command output a warning if
>> the region is active and delete-selection-mode is activated as well.

> That's a dead end -- delete-selection-mode is not enabled when you use
> CUA, so it would have to check for CUA-mode too, and so would
> self-insert-iso, and numerous other commands.

The implementation I'm imagining would be basically as follows:
cua-mode (and delete-selection-mode) add a (global) before-change-function
which outputs this warning.  This would be modular and catch all cases I can
think of, but maybe it would catch more than we'd want.


        Stefan


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to