[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CUA/delete-selection-mode and remapped keys incompatibility
From: |
Stefan Monnier |
Subject: |
Re: CUA/delete-selection-mode and remapped keys incompatibility |
Date: |
Fri, 09 Feb 2007 10:12:51 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
>> 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
- CUA/delete-selection-mode and remapped keys incompatibility, David Reitter, 2007/02/08
- Re: CUA/delete-selection-mode and remapped keys incompatibility, Kim F. Storm, 2007/02/08
- Re: CUA/delete-selection-mode and remapped keys incompatibility, David Reitter, 2007/02/08
- Re: CUA/delete-selection-mode and remapped keys incompatibility, Kim F. Storm, 2007/02/08
- Re: CUA/delete-selection-mode and remapped keys incompatibility, Stefan Monnier, 2007/02/08
- Re: CUA/delete-selection-mode and remapped keys incompatibility, Kim F. Storm, 2007/02/09
- Re: CUA/delete-selection-mode and remapped keys incompatibility,
Stefan Monnier <=
- Re: CUA/delete-selection-mode and remapped keys incompatibility, David Reitter, 2007/02/09
- Re: CUA/delete-selection-mode and remapped keys incompatibility, Kim F. Storm, 2007/02/09
- Re: CUA/delete-selection-mode and remapped keys incompatibility, David Reitter, 2007/02/09