help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Replacing huge hidden selection when pasting text


From: Drew Adams
Subject: RE: Replacing huge hidden selection when pasting text
Date: Sat, 2 Jan 2016 15:04:59 -0800 (PST)

> I double checked .emacs and site-start.el and the only relevant lines I was
> able to find appear in my .emacs in that order:
> (delete-selection-mode 1)
> (transient-mark-mode -1)
> (cua-mode -1)

Apologies for not following this thread.  But offhand I'd say that
there's your problem right there: you enable `delete-selection-mode'
but you disable `transient-mark-mode'.  That should be a no-no.

See `C-h f delete-selection-mode':

 When Delete Selection mode is enabled, Transient Mark mode is also
 enabled, typed text replaces the selection if the selection is active,
 and DEL deletes the selection.  Otherwise, typed text is just inserted
 at point, as usual.

d-s-mode ENABLES t-m-mode, on purpose.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]