You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set (delete-selection-mode t) in my .emacs, but after installing rebox2 package, rebox-yank will use C-y which is for built-in yank, (delete-selection-mode t) configuration works with yank but not works with rebox-yank. and I cannot use (put 'rebox-yanl 'disabled t) to disable rebox-yank, even it is once disabled, C-y shortkey won't work.
So my solution is, put (define-key rebox-mode-map [(control y)] nil) after rebox2 configuration, then the command rebox-yank shortkey is cleared, the weird thing is I cannot even execute rebox-yank using M-x after that, it just pastes blank. Now I got yank back, I don't need rebox-yank anyway
So my advice is, when you define the rebox-yank in rebox2 package, try to check if the delete-selection-mode is set or not and do the appropriate actions. Then I don't need to add the ...rebox-mode-map... line and jsut use your rebox-yank command(shortkey).
The text was updated successfully, but these errors were encountered:
c02y
changed the title
rebox-yank instead of the built-in yank uses C-y rebox-yank not working with (delete-selection-mode t)Sep 20, 2014
I set
(delete-selection-mode t)
in my.emacs
, but after installingrebox2
package,rebox-yank
will useC-y
which is for built-inyank
,(delete-selection-mode t)
configuration works withyank
but not works withrebox-yank
. and I cannot use(put 'rebox-yanl 'disabled t)
to disablerebox-yank
, even it is once disabled,C-y
shortkey won't work.So my solution is, put
(define-key rebox-mode-map [(control y)] nil)
after rebox2 configuration, then the commandrebox-yank
shortkey is cleared, the weird thing is I cannot even executerebox-yank
usingM-x
after that, it just pastes blank. Now I gotyank
back, I don't needrebox-yank
anywaySo my advice is, when you define the
rebox-yank
in rebox2 package, try to check if thedelete-selection-mode
is set or not and do the appropriate actions. Then I don't need to add the...rebox-mode-map...
line and jsut use yourrebox-yank
command(shortkey).The text was updated successfully, but these errors were encountered: