I use emacs 24 (OSX) and have a problem with shift-selection.
If I select a region with my mouse, the text is highlighted and automaticaly saved on to the kill ring (I can yank it immediately).
With shift-selection, the text is highlighted but I have to manualy save the text (M-w) to be able to yank it.
Is there any way that shift-selection hightlights the text AND saves it onto the kill ring ?
I use emacs 24 (OSX) and have a problem with shift-selection. If I select
Share
Selecting text with the mouse does not place anything onto the kill ring by default (it copies it to the X clipboard).
There are various ways in which you can customise how Emacs interacts with the clipboard. See:
C-hig
(emacs) Cut and PasteRETI’m not sure that there’s any way to detect that you’ve stopped selecting things, but you could perhaps advise
handle-shift-selectionto set a temporarypost-command-hookto run a custom function to place the region in the clipboard (and remove the post-command-hook).Edit: Hang on, what you describe is exactly what happens for me in Emacs 24.1 on Ubuntu.
If I shift-select some text in Emacs and then middle-click the mouse in any application, I paste the selected text.
Try testing when running
emacs -QEdit 2: Ah, but you didn’t mean the mouse, did you?
How about this?