メジャーモード書いているとメジャーモードに関する情報が少なく感じる。
断片的なものは多いが、こんなオペレータ無いかな。というので探すことがるので一覧にしてみた。
type |
Statement |
Function |
run-hook-with-args hook &rest args |
Function |
run-hook-with-args-until-failure hook &rest args |
Function |
run-hook-with-args-until-success hook &rest args |
type |
Statement |
Function |
add-hook hook function &optional append local |
Function |
remove-hook hook function &optional local |
type |
Statement |
Command |
fundamental-mode |
User Option |
major-mode |
なし
type |
Statement |
Command |
normal-mode &optional find-file |
Function |
set-auto-mode &optional keep-mode-if-same |
Function |
set-buffer-major-mode buffer |
User Option |
initial-major-mode |
Variable |
interpreter-mode-alist |
Variable |
magic-mode-alist |
Variable |
magic-fallback-mode-alist |
Variable |
auto-mode-alist |
type |
Statement |
Command |
describe-mode &optional buffer |
type |
Statement |
Macro |
define-derived-mode variant parent name docstring keyword-args... body... |
Function |
derived-mode-p &rest modes |
type |
Statement |
Command |
text-mode |
Command |
prog-mode |
Command |
special-mode |
type |
Statement |
Function |
run-mode-hooks &rest hookvars |
Macro |
delay-mode-hooks body... |
Variable |
change-major-mode-after-body-hook |
Variable |
after-change-major-mode-hook |
type |
Statement |
Variable |
tabulated-list-format |
Variable |
tabulated-list-entries |
Variable |
tabulated-list-revert-hook |
Variable |
tabulated-list-printer |
Variable |
tabulated-list-sort-key |
Function |
tabulated-list-init-header |
Function |
tabulated-list-print &optional remember-pos update |
type |
Statement |
Macro |
define-generic-mode mode comment-list keyword-list font-lock-list auto-mode-list function-list &optional docstring |
なし
type |
Statement |
Variable |
minor-mode-list |
なし
なし
type |
Statement |
Macro |
define-minor-mode mode doc [init-value [lighter [keymap]]] keyword-args... body... |
Macro |
define-globalized-minor-mode global-mode mode turn-on keyword-args... |
なし
type |
Statement |
Function |
force-mode-line-update &optional all |
なし
type |
Statement |
User Option |
mode-line-format |
type |
Statement |
Variable |
mode-line-mule-info |
Variable |
mode-line-modified |
Variable |
mode-line-frame-identification |
Variable |
mode-line-buffer-identification |
Variable |
mode-line-position |
Variable |
vc-mode |
Variable |
mode-line-modes |
Variable |
mode-line-remote |
Variable |
mode-line-client |
Variable |
mode-name |
Variable |
mode-line-process |
Variable |
mode-line-front-space |
Variable |
mode-line-end-spaces |
Variable |
mode-line-misc-info |
Variable |
minor-mode-alist |
Variable |
global-mode-string |
なし
なし
type |
Statement |
Variable |
header-line-format |
Function |
window-header-line-height &optional window |
type |
Statement |
Function |
format-mode-line format &optional face window buffer |
type |
Statement |
Command |
imenu-add-to-menubar name |
Variable |
imenu-generic-expression |
Variable |
imenu-case-fold-search |
Variable |
imenu-syntax-alist |
Variable |
imenu-prev-index-position-function |
Variable |
imenu-extract-index-name-function |
Variable |
imenu-extract-index-name-function |
Variable |
imenu-create-index-function |
type |
Statement |
Variable |
font-lock-defaults |
type |
Statement |
Variable |
font-lock-keywords |
Variable |
font-lock-keywords-case-fold-search |
type |
Statement |
Function |
font-lock-add-keywords mode keywords &optional how |
Function |
font-lock-remove-keywords mode keywords |
type |
Statement |
Variable |
font-lock-mark-block-function |
Variable |
font-lock-extra-managed-props |
Variable |
font-lock-fontify-buffer-function |
Variable |
font-lock-unfontify-buffer-function |
Variable |
font-lock-fontify-region-function |
Variable |
font-lock-unfontify-region-function |
Variable |
font-lock-flush-function |
Variable |
font-lock-ensure-function |
Function |
jit-lock-register function &optional contextual |
Function |
jit-lock-unregister function |
なし
なし
なし
type |
Statement |
Variable |
font-lock-keywords-only |
Variable |
font-lock-syntax-table |
Variable |
font-lock-syntactic-face-function |
type |
Statement |
Variable |
font-lock-multiline |
type |
Statement |
Variable |
font-lock-extend-after-change-region-function |
type |
Statement |
Function |
smie-setup grammar rules-function &rest keywords |
Command |
smie-close-block |
Command |
smie-down-list &optional arg |
type |
Statement |
Function |
smie-prec2->grammar table |
Function |
smie-merge-prec2s &rest tables |
Function |
smie-precs->prec2 precs |
Function |
smie-bnf->prec2 bnf &rest resolvers |
なし
なし
なし
なし
type |
Statement |
Function |
smie-rule-bolp |
Function |
smie-rule-hanging-p |
Function |
smie-rule-next-p &rest tokens |
Function |
smie-rule-prev-p &rest tokens |
Function |
smie-rule-parent-p &rest parents |
Function |
smie-rule-sibling-p |
Function |
smie-rule-parent &optional offset |
Function |
smie-rule-separator method |
なし
type |
Statement |
User Option |
smie-config |
Command |
smie-config-guess |
Command |
smie-config-save |
Command |
smie-config-show-indent &optional move |
Command |
smie-config-set-indent |
Function |
smie-config-local rules |
type |
Statement |
Variable |
desktop-save-buffer |
Variable |
desktop-buffer-mode-handlers |
おわり
ここも結構多いことがわかる。
それだれ複雑かつ中心の機能ということなんでしょうね。