commit | author | age
|
5cb5f7
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\312\313&\210\314\315\306\316\317\320\310\305&\210\314\321\322\323\317\324\310\305&\210\314\325\326\327\317\324\310\305&\210\314\330\331\332\317\333\310\305&\210\314\334\306\335\317\336\310\305&\210\314\337\306\340\317\341\310\305&\210\314\342\343\344\317\345\310\305&\210\314\346\347\350\317\324\310\305&\210\314\351\306\352\317\341\310\305&\210\353\354\355\356\310\305%\210\353\357\360\361\310\305%\210\353\362\363\364\310\305%\207" [require dash popwin s custom-declare-group guide-key nil "Guide key bidings." :group help :prefix "guide-key/" custom-declare-variable guide-key/guide-key-sequence "*Key sequences to guide in `guide-key-mode'.\nThis variable is a list of string representation.\nBoth representations, like \"C-x r\" and \"\\C-xr\",\nare allowed.\n\nIn addition, an element of this list can be a list whose car is\nthe symbol for a certain mode, and whose cdr is a list of key\nsequences to consider only if that mode is active.\n\nSet this variable to `t' to enable for any key sequence." :type (repeat (choice (string :tag "Prefix key sequence") (cons :tag "Mode specific sequence" (symbol :tag "Symbol for mode") (repeat (string :tag "Prefix key sequence"))))) guide-key/polling-time 0.1 "*Polling time to check an input key sequence." float guide-key/idle-delay 1.0 "*Delay in seconds before guide buffer is displayed." guide-key/highlight-prefix-regexp "prefix" "*Regexp for prefix commands." regexp guide-key/highlight-command-regexp "*Regexp for commands to highlight.\nIf a command name matches this regexp, it is highlighted with\n`guide-key/highlight-command-face'.\n\nThis variable can be a list and its element is either a regexp or\na cons cell, its car is a regexp and its cdr is face symbol or\ncolor name string. If regexp, commands which match the regexp\nare highlighted with `guide-key/highlight-command-face'. If cons\ncell, commands which match the car regexp are highlighted with\nthe cdr face or color." (choice (regexp :tag "Regexp to highlight") (repeat (choice (regexp :tag "Regexp to highlight") (cons (regexp :tag "Regexp to highlight") (choice (face :tag "Face on command") (string :tag "Color name string")))))) guide-key/align-command-by-space-flag "*If non-nil, align guide buffer by space." boolean guide-key/popup-window-position 'right "*Position where guide buffer is popped up.\nThis variable must be one of `right', `bottom', `left' and `top'." (radio (const right) (const bottom) (const left) (const top)) guide-key/text-scale-amount 0 "*Amount of scaling text in guide buffer.\n\nIf positive number, the text becomes larger. If negative number,\nthe text becomes smaller. Scale of the text is detemined by the\nvalue of variable `text-scale-mode-step'." guide-key/recursive-key-sequence-flag "*If non-nil, check an input key sequence recursively.\nFor example, if `guide-key/guide-key-sequence' includes \"C-x\",\nguide buffer is popped up when you input \"C-x r\", \"C-x 4\" and\nany other prefixes following \"C-x\"." custom-declare-face guide-key/prefix-command-face ((((class color) (background dark)) (:foreground "cyan")) (((class color) (background light)) (:foreground "blue"))) "Face for prefix commands to highlight" guide-key/highlight-command-face ((((class color) (background dark)) (:foreground "yellow")) (((class color) (background light)) (:foreground "orange red"))) "Face for commands to highlight" guide-key/key-face ((((class color) (background dark)) (:foreground "red")) (((class color) (background light)) (:foreground "dark green"))) "Face for keys following to a key sequence"] 8) |
|
16 |
#@47 Polling timer to check an input key sequence. |
|
17 |
(defvar guide-key/polling-timer nil (#$ . 4062)) |
|
18 |
#@52 Idle timer to wait before popping up guide buffer. |
|
19 |
(defvar guide-key/idle-timer nil (#$ . 4163)) |
|
20 |
#@30 Buffer name of guide buffer. |
|
21 |
(defvar guide-key/guide-buffer-name " *guide-key*" (#$ . 4266)) |
|
22 |
#@51 Key sequence input at the last polling operation. |
|
23 |
(defvar guide-key/last-key-sequence-vector nil (#$ . 4365)) |
|
24 |
#@263 Non-nil if Guide-Key mode is enabled. |
|
25 |
See the `guide-key-mode' command |
|
26 |
for a description of this minor mode. |
|
27 |
Setting this variable directly does not take effect; |
|
28 |
either customize it (see the info node `Easy Customization') |
|
29 |
or call the function `guide-key-mode'. |
|
30 |
(custom-declare-variable 'guide-key-mode nil '(#$ . 4482) :set 'custom-set-minor-mode :initialize 'custom-initialize-default :group 'guide-key :type 'boolean) |
|
31 |
#@210 Toggle guide key mode. |
|
32 |
|
|
33 |
In guide key mode, Guide following keys to an input key sequence |
|
34 |
automatically and dynamically. |
|
35 |
With a prefix argument ARG, enable guide key mode if ARG is |
|
36 |
positive, otherwise disable. |
|
37 |
(defalias 'guide-key-mode #[(&optional arg) "\304 \305\302 \306=\203 \307\302!?\202 \310 !\311V\"\210\n\203! \312\202\" |