[OS X Emacs] How to disable replacement of selected region?
cmenzel at tamu.edu
Sun Jan 18 13:19:32 EST 2009
On Jan 18, 2009, at 10:51 AM, Jose Figueroa-O'Farrill wrote:
> skip> When a region is selected Aquamacs Emacs replaces it with the
> skip> next thing you type. I would prefer the old school Emacs way of
> skip> simply deselecting the region and inserting the text at point.
> skip> I picked through the options menu and skimmed the FAQ on the
> skip> wiki but saw no mention of this. How do I disable the
> skip> replace-selected-text functionality?
> I think this is cua-mode in action. It's one of the first things I
> disabled in Aquamacs :) You can customise it, I believe, but in any
> (setq cua-mode nil)
> ought to do it. That, of course, may be too radical and possibly you
> can get away with simply
> (setq cua-highlight-region-shift-only t)
> I'm not sure, because I have not tried it.
I think he just wants to disable cua-delete-selection. To do so,
select Options -> Customize Aquamacs -> Specific Option. Enter "cua-
delete-selection" and hit RETURN, click on "Value Menu", select
"Disabled" and then hit "Save for Future Sessions" and "Finish".
More information about the MacOSX-Emacs