| Server IP : 217.160.0.212 / Your IP : 216.73.217.5 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/obsolete/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\302#\210\313\211\2033 \211@\311N\203, \312N\204, \314\312\311N#\210A\266\202\202 \210\315\311\312\316#\210\317\311\320\321\322DD\323\324\325%\210\317\326\320\321\327DD\330\324\325%\210\317\331\320\321\332DD\333\324\325%\210\317\334\320\321\335DD\336\324\337%\207" [custom-declare-group pc-select nil "Emulate pc bindings." :prefix "pc-select" :group emulations defvaralias pc-select-override-scroll-error scroll-error-top-bottom (saved-value saved-variable-comment) put make-obsolete-variable "24.1" custom-declare-variable funcall function #[0 "\300\207" [t] 1 #1=""] "Non-nil means don't generate error on scrolling past edge of buffer.\nThis variable applies in PC Selection mode only.\nThe scroll commands normally generate an error if you try to scroll\npast the top or bottom of the buffer. This is annoying when selecting\ntext with these commands. If you set this variable to non-nil, these\nerrors are suppressed." :type boolean pc-select-selection-keys-only #[0 "\300\207" [nil] 1 #1#] "Non-nil means only bind the basic selection keys when started.\nOther keys that emulate pc-behavior will be untouched.\nThis gives mostly Emacs-like behavior with only the selection keys enabled." pc-select-meta-moves-sexps #[0 "\300\207" [nil] 1 #1#] "Non-nil means move sexp-wise with Meta key, otherwise move word-wise." pc-selection-mode-hook #[0 "\300\207" [nil] 1 #1#] "The hook to run when PC Selection mode is toggled." hook] 8)
#@346 The values of the variables before PC Selection mode was toggled on.
When PC Selection mode is toggled on, it sets quite a few variables
for its own purposes. This alist holds the original values of the
variables PC Selection mode had set, so that these variables can be
restored to their original values when PC Selection mode is toggled off.
(defvar pc-select-saved-settings-alist nil (#$ . 1590))
#@65 The keymap used as the global map when PC Selection mode is on.
(defvar pc-select-map nil (#$ . 1997))
#@74 The global map that was in effect when PC Selection mode was toggled on.
(defvar pc-select-saved-global-map nil (#$ . 2106))
#@63 This alist holds all the key bindings PC Selection mode sets.
(defvar pc-select-key-bindings-alist nil (#$ . 2237))
#@57 These key bindings always get set by PC Selection mode.
(defvar pc-select-default-key-bindings nil (#$ . 2359))
#@69 Key bindings to set only if `pc-select-selection-keys-only' is nil.
(defvar pc-select-extra-key-bindings '(([f16] . copy-region-as-kill) ([f18] . yank) ([f20] . kill-region) ([f6] . other-window) ([C-delete] . kill-line) ("\377" . undo) ([C-M-delete] . kill-sexp) ([C-escape] . electric-buffer-list)) (#$ . 2477))
#@220 The list of key bindings controlled by `pc-select-meta-moves-sexp'.
The bindings in the car of this list get installed if
`pc-select-meta-moves-sexp' is t, the bindings in the cadr of this
list get installed otherwise.
(defvar pc-select-meta-moves-sexps-key-bindings '((([M-right] . forward-sexp) ([M-left] . backward-sexp)) (([M-right] . forward-word) ([M-left] . backward-word))) (#$ . 2798))
#@181 The list of key bindings controlled by `pc-select-selection-keys-only'.
These key bindings get installed when running in a tty, but only if
`pc-select-selection-keys-only' is nil.
(defvar pc-select-tty-key-bindings '(([delete] . delete-char) ([C-backspace] . backward-kill-word)) (#$ . 3200))
#@202 Holds the old mapping of [M-delete] in the `function-key-map'.
This variable holds the value associated with [M-delete] in the
`function-key-map' before PC Selection mode had changed that
association.
(defvar pc-select-old-M-delete-binding nil (#$ . 3500))
(provide 'pc-select)
#@74 Make KEYMAP have the key bindings specified in ALIST.
(fn ALIST KEYMAP)
(defalias 'pc-select-define-keys #[514 "\211\205 \300@@@A#\210\211A\262\202 \207" [define-key] 7 (#$ . 3784)])
#@276 Use ALIST to restore key bindings from SAVED-MAP into KEYMAP.
Go through all the key bindings in ALIST, and, for each key
binding, if KEYMAP and ALIST still agree on the key binding,
restore the previous value of that key binding from SAVED-MAP.
(fn ALIST KEYMAP SAVED-MAP)
(defalias 'pc-select-restore-keys #[771 "\211\205&