[OS X Emacs] How to disable replacement of selected region?
Jose Figueroa-O'Farrill
j.m.figueroa at ed.ac.uk
Sun Jan 18 11:51:12 EST 2009
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
case
(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.
Cheers, José
--
Prof José M Figueroa-O'Farrill | Phone: +44 (0) 131 6505066
Maxwell Institute and | Fax: +44 (0) 131 6506553
School of Mathematics | Skype: josemiguelfigueroa
University of Edinburgh | Web: http://www.maths.ed.ac.uk/~jmf
Edinburgh EH9 3JZ, Scotland, UK | PGP key: 6A6BD529 (MIT PGP keyserver)
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
More information about the MacOSX-Emacs
mailing list