I’m trying to replace pc-selection-mode with the new shift-select-mode with emacs 23. It works generally well, only the shift+pgup/down keys don’t create a selected region and I can’t find a confguration setting where I could tell emacs I want these keys too shift translated. Are the supported keys hardcoded? It would be so unlike emacs, so there must be some setting somewhere which I overlook. Any ideas?
Shift selection and page up/down in emacs 23
I removed PC-select mode and this just worked. For the record, here's what I get for the Page-Down key from
<next> (translated from <S-next>) runs the command scroll-up, which is an interactive built-in function in `C source code'. It is bound to <next>, C-v. (scroll-up &optional ARG) ...
With pc-select-mode enabled, Shift-PageUp is bound to scroll-down-mark and Shift-PageDown scroll-up-mark. scroll-down-mark is from pc-select.el so you have to require it before binding the keys (you don't have to enable pc-select).
Binding keys as mentioned can be done evaluating:
(require 'pc-select) (global-set-key (kbd "S-<prior>") 'scroll-down-mark) (global-set-key (kbd "S-<next>") 'scroll-up-mark)