Advertisement
Guest User

Untitled

a guest
Mar 11th, 2025
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.41 KB | None | 0 0
  1. Major mode latex-mode
  2.  
  3. The major mode is LaTeX mode defined in tex-mode.el:
  4.  
  5. Major mode for editing files of input for LaTeX.
  6. Makes $ and } display the characters they match.
  7. Makes " insert `` when it seems to be the beginning of a quotation,
  8. and '' when it appears to be the end; it inserts " only after a \.
  9.  
  10. Use M-x tex-region to run LaTeX on the current region, plus the preamble
  11. copied from the top of the file (containing \documentstyle, etc.),
  12. running LaTeX under a special subshell. M-x tex-buffer does the whole buffer.
  13. M-x tex-file saves the buffer and then processes the file.
  14. M-x tex-print prints the .dvi file made by any of these.
  15. M-x tex-view previews the .dvi file made by any of these.
  16. M-x tex-bibtex-file runs bibtex on the file of the current buffer.
  17.  
  18. Use M-x tex-validate-buffer to check buffer for paragraphs containing
  19. mismatched $’s or braces.
  20.  
  21. Special commands:
  22.  
  23. Key Binding
  24.  
  25. C-j tex-handle-newline
  26. " tex-insert-quote
  27. C-<return> tex-feed-input
  28.  
  29. C-c C-s latex-split-block
  30.  
  31. M-RET latex-insert-item
  32.  
  33. C-c C-b tex-buffer
  34. C-c C-c tex-compile
  35. C-c C-e latex-close-block
  36. C-c C-f tex-file
  37. C-c TAB tex-bibtex-file
  38. C-c C-k tex-kill-job
  39. C-c C-l tex-recenter-output-buffer
  40. C-c RET tex-feed-input
  41. C-c C-o latex-insert-block
  42. C-c C-p tex-print
  43. C-c C-q tex-show-print-queue
  44. C-c C-r tex-region
  45. C-c C-t latex-insert-block
  46. C-c C-u tex-goto-last-unclosed-latex-block
  47. C-c C-v tex-view
  48. C-c / latex-close-block
  49. C-c ] latex-close-block
  50. C-c { tex-insert-braces
  51. C-c } up-list
  52.  
  53.  
  54. Mode variables:
  55. latex-run-command
  56. Command string used by M-x tex-region or M-x tex-buffer.
  57. tex-directory
  58. Directory in which to create temporary files for LaTeX jobs
  59. run by M-x tex-region or M-x tex-buffer.
  60. tex-dvi-print-command
  61. Command string used by M-x tex-print to print a .dvi file.
  62. tex-alt-dvi-print-command
  63. Alternative command string used by M-x tex-print (when given a prefix
  64. argument) to print a .dvi file.
  65. tex-dvi-view-command
  66. Command string used by M-x tex-view to preview a .dvi file.
  67. tex-show-queue-command
  68. Command string used by M-x tex-show-print-queue to show the print
  69. queue that M-x tex-print put your job on.
  70.  
  71. Entering Latex mode runs the hook ‘text-mode-hook’, then
  72. ‘tex-mode-hook’, and finally ‘latex-mode-hook’. When the special
  73. subshell is initiated, ‘tex-shell-hook’ is run.
  74.  
  75. Local minor mode auto-save-mode
  76.  
  77. Auto-Save minor mode (no indicator):
  78. Toggle auto-saving in the current buffer (Auto Save mode).
  79.  
  80. When this mode is enabled, Emacs periodically saves each file-visiting
  81. buffer in a separate "auto-save file". This is a safety measure to
  82. prevent you from losing more than a limited amount of work if the
  83. system crashes.
  84.  
  85. Auto-saving does not alter the file visited by the buffer: the visited
  86. file is changed only when you request saving it explicitly (such as
  87. with C-x C-s). If you want to save the buffer into its
  88. visited files automatically, use M-x auto-save-visited-mode).
  89.  
  90. For more details, see Info node ‘(emacs) Auto Save’.
  91.  
  92. This is a minor mode. If called interactively, toggle the ‘Auto-Save
  93. mode’ mode. If the prefix argument is positive, enable the mode, and if
  94. it is zero or negative, disable the mode.
  95.  
  96. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  97. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  98. if ARG is a negative number.
  99.  
  100. To check whether the minor mode is enabled in the current buffer,
  101. evaluate ‘(and buffer-auto-save-file-name (>= buffer-saved-size 0))’.
  102.  
  103. The mode’s hook is called both when the mode is enabled and when it is
  104. disabled.
  105.  
  106. Local minor mode corfu-mode
  107.  
  108. Corfu minor mode (no indicator):
  109. COmpletion in Region FUnction.
  110.  
  111. This is a minor mode. If called interactively, toggle the ‘Corfu mode’
  112. mode. If the prefix argument is positive, enable the mode, and if it is
  113. zero or negative, disable the mode.
  114.  
  115. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  116. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  117. if ARG is a negative number.
  118.  
  119. To check whether the minor mode is enabled in the current buffer,
  120. evaluate the variable ‘corfu-mode’.
  121.  
  122. The mode’s hook is called both when the mode is enabled and when it is
  123. disabled.
  124.  
  125. Local minor mode font-lock-mode
  126.  
  127. Font-Lock minor mode (no indicator):
  128. Toggle syntax highlighting in this buffer (Font Lock mode).
  129.  
  130. When Font Lock mode is enabled, text is fontified as you type it:
  131.  
  132. - Comments are displayed in ‘font-lock-comment-face’;
  133. - Strings are displayed in ‘font-lock-string-face’;
  134. - Certain other expressions are displayed in other faces
  135. according to the value of the variable ‘font-lock-keywords’.
  136.  
  137. To customize the faces (colors, fonts, etc.) used by Font Lock for
  138. fontifying different parts of buffer text, use M-x customize-face.
  139.  
  140. You can enable Font Lock mode in any major mode automatically by
  141. turning on in the major mode’s hook. For example, put in your
  142. ~/.emacs:
  143.  
  144. (add-hook 'c-mode-hook 'turn-on-font-lock)
  145.  
  146. Alternatively, you can use Global Font Lock mode to automagically
  147. turn on Font Lock mode in buffers whose major mode supports it
  148. and whose major mode is one of ‘font-lock-global-modes’. For
  149. example, put in your ~/.emacs:
  150.  
  151. (global-font-lock-mode t)
  152.  
  153. Where major modes support different levels of fontification, you
  154. can use the variable ‘font-lock-maximum-decoration’ to specify
  155. which level you generally prefer. When you turn Font Lock mode
  156. on/off the buffer is fontified/defontified.
  157.  
  158. To add your own highlighting for some major mode, and modify the
  159. highlighting selected automatically via the variable
  160. ‘font-lock-maximum-decoration’, you can use
  161. ‘font-lock-add-keywords’.
  162.  
  163. To fontify a buffer, without turning on Font Lock mode and
  164. regardless of buffer size, you can use M-x font-lock-fontify-buffer.
  165.  
  166. To fontify a block (the function or paragraph containing point,
  167. or a number of lines around point), perhaps because modification
  168. on the current line caused syntactic change on other lines, you
  169. can use M-x font-lock-fontify-block.
  170.  
  171. You can set your own default settings for some mode, by setting a
  172. buffer local value for ‘font-lock-defaults’, via its mode hook.
  173.  
  174. The above is the default behavior of ‘font-lock-mode’; you may
  175. specify your own function which is called when ‘font-lock-mode’
  176. is toggled via ‘font-lock-function’.
  177.  
  178. This is a minor mode. If called interactively, toggle the ‘Font-Lock
  179. mode’ mode. If the prefix argument is positive, enable the mode, and if
  180. it is zero or negative, disable the mode.
  181.  
  182. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  183. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  184. if ARG is a negative number.
  185.  
  186. To check whether the minor mode is enabled in the current buffer,
  187. evaluate the variable ‘font-lock-mode’.
  188.  
  189. The mode’s hook is called both when the mode is enabled and when it is
  190. disabled.
  191.  
  192. Local minor mode hl-line-mode
  193.  
  194. Hl-Line minor mode (no indicator):
  195. Toggle highlighting of the current line (Hl-Line mode).
  196.  
  197. Hl-Line mode is a buffer-local minor mode. If
  198. ‘hl-line-sticky-flag’ is non-nil, Hl-Line mode highlights the
  199. line about the buffer’s point in all windows. Caveat: the
  200. buffer’s point might be different from the point of a
  201. non-selected window. Hl-Line mode uses the function
  202. ‘hl-line-highlight’ on ‘post-command-hook’ in this case.
  203.  
  204. When ‘hl-line-sticky-flag’ is nil, Hl-Line mode highlights the
  205. line about point in the selected window only.
  206.  
  207. This is a minor mode. If called interactively, toggle the ‘Hl-Line
  208. mode’ mode. If the prefix argument is positive, enable the mode, and if
  209. it is zero or negative, disable the mode.
  210.  
  211. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  212. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  213. if ARG is a negative number.
  214.  
  215. To check whether the minor mode is enabled in the current buffer,
  216. evaluate the variable ‘hl-line-mode’.
  217.  
  218. The mode’s hook is called both when the mode is enabled and when it is
  219. disabled.
  220.  
  221. Local minor mode pulsar-mode
  222.  
  223. Pulsar minor mode (no indicator):
  224. Set up pulsar for each function in pulsar functions lists.
  225.  
  226. The effective lists are ‘pulsar-pulse-functions’ and
  227. ‘pulsar-pulse-region-functions’. This is a buffer-local mode.
  228. Also check ‘pulsar-global-mode’.
  229.  
  230. This is a minor mode. If called interactively, toggle the ‘Pulsar mode’
  231. mode. If the prefix argument is positive, enable the mode, and if it is
  232. zero or negative, disable the mode.
  233.  
  234. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  235. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  236. if ARG is a negative number.
  237.  
  238. To check whether the minor mode is enabled in the current buffer,
  239. evaluate the variable ‘pulsar-mode’.
  240.  
  241. The mode’s hook is called both when the mode is enabled and when it is
  242. disabled.
  243.  
  244. Global minor mode TeX-source-correlate-mode
  245.  
  246. Tex-Source-Correlate minor mode (no indicator):
  247. Minor mode for forward and inverse search.
  248.  
  249. If enabled, the viewer can be advised to show the output page
  250. corresponding to the point in the source and vice versa.
  251.  
  252. The method to be used can be controlled with the variable
  253. ‘TeX-source-correlate-method’. Currently source specials or
  254. SyncTeX are recognized.
  255.  
  256. This is a global minor mode. If called interactively, toggle the
  257. ‘Tex-Source-Correlate mode’ mode. If the prefix argument is positive,
  258. enable the mode, and if it is zero or negative, disable the mode.
  259.  
  260. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  261. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  262. if ARG is a negative number.
  263.  
  264. To check whether the minor mode is enabled in the current buffer,
  265. evaluate ‘(default-value 'TeX-source-correlate-mode)’.
  266.  
  267. The mode’s hook is called both when the mode is enabled and when it is
  268. disabled.
  269.  
  270. Global minor mode auto-encryption-mode
  271.  
  272. Auto-Encryption minor mode (no indicator):
  273. Toggle automatic file encryption/decryption (Auto Encryption mode).
  274.  
  275. This is a global minor mode. If called interactively, toggle the
  276. ‘Auto-Encryption mode’ mode. If the prefix argument is positive, enable
  277. the mode, and if it is zero or negative, disable the mode.
  278.  
  279. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  280. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  281. if ARG is a negative number.
  282.  
  283. To check whether the minor mode is enabled in the current buffer,
  284. evaluate ‘(default-value 'auto-encryption-mode)’.
  285.  
  286. The mode’s hook is called both when the mode is enabled and when it is
  287. disabled.
  288.  
  289. Global minor mode blink-cursor-mode
  290.  
  291. Blink-Cursor minor mode (no indicator):
  292. Toggle cursor blinking (Blink Cursor mode).
  293.  
  294. If the value of ‘blink-cursor-blinks’ is positive (10 by default),
  295. the cursor stops blinking after that number of blinks, if Emacs
  296. gets no input during that time.
  297.  
  298. See also ‘blink-cursor-interval’ and ‘blink-cursor-delay’.
  299.  
  300. This command is effective only on graphical frames. On text-only
  301. terminals, cursor blinking is controlled by the terminal.
  302.  
  303. This is a global minor mode. If called interactively, toggle the
  304. ‘Blink-Cursor mode’ mode. If the prefix argument is positive, enable
  305. the mode, and if it is zero or negative, disable the mode.
  306.  
  307. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  308. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  309. if ARG is a negative number.
  310.  
  311. To check whether the minor mode is enabled in the current buffer,
  312. evaluate ‘(default-value 'blink-cursor-mode)’.
  313.  
  314. The mode’s hook is called both when the mode is enabled and when it is
  315. disabled.
  316.  
  317. Global minor mode column-number-mode
  318.  
  319. Column-Number minor mode (no indicator):
  320. Toggle column number display in the mode line (Column Number mode).
  321.  
  322. See ‘mode-line-position-column-format’ for how this number is
  323. presented.
  324.  
  325. This is a global minor mode. If called interactively, toggle the
  326. ‘Column-Number mode’ mode. If the prefix argument is positive, enable
  327. the mode, and if it is zero or negative, disable the mode.
  328.  
  329. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  330. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  331. if ARG is a negative number.
  332.  
  333. To check whether the minor mode is enabled in the current buffer,
  334. evaluate ‘(default-value 'column-number-mode)’.
  335.  
  336. The mode’s hook is called both when the mode is enabled and when it is
  337. disabled.
  338.  
  339. Global minor mode delete-selection-mode
  340.  
  341. Delete-Selection minor mode (no indicator):
  342. Toggle Delete Selection mode.
  343.  
  344. When Delete Selection mode is enabled, typed text replaces the selection
  345. if the selection is active. Otherwise, typed text is just inserted at
  346. point regardless of any selection.
  347.  
  348. See ‘delete-selection-helper’ and ‘delete-selection-pre-hook’ for
  349. information on adapting behavior of commands in Delete Selection mode.
  350.  
  351. This is a global minor mode. If called interactively, toggle the
  352. ‘Delete-Selection mode’ mode. If the prefix argument is positive,
  353. enable the mode, and if it is zero or negative, disable the mode.
  354.  
  355. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  356. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  357. if ARG is a negative number.
  358.  
  359. To check whether the minor mode is enabled in the current buffer,
  360. evaluate ‘(default-value 'delete-selection-mode)’.
  361.  
  362. The mode’s hook is called both when the mode is enabled and when it is
  363. disabled.
  364.  
  365. Global minor mode denote-rename-buffer-mode
  366.  
  367. Denote-Rename-Buffer minor mode (no indicator):
  368. Automatically rename Denote buffers to be easier to read.
  369.  
  370. A buffer is renamed upon visiting the underlying file. This
  371. means that existing buffers are not renamed until they are
  372. visited again in a new buffer (files are visited with the command
  373. ‘find-file’ or related).
  374.  
  375. This is a global minor mode. If called interactively, toggle the
  376. ‘Denote-Rename-Buffer mode’ mode. If the prefix argument is positive,
  377. enable the mode, and if it is zero or negative, disable the mode.
  378.  
  379. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  380. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  381. if ARG is a negative number.
  382.  
  383. To check whether the minor mode is enabled in the current buffer,
  384. evaluate ‘(default-value 'denote-rename-buffer-mode)’.
  385.  
  386. The mode’s hook is called both when the mode is enabled and when it is
  387. disabled.
  388.  
  389. Global minor mode display-time-mode
  390.  
  391. Display-Time minor mode (no indicator):
  392. Toggle display of time, load level, and mail flag in mode lines.
  393.  
  394. When Display Time mode is enabled, it updates every minute (you
  395. can control the number of seconds between updates by customizing
  396. ‘display-time-interval’). If ‘display-time-day-and-date’ is
  397. non-nil, the current day and date are displayed as well. This
  398. runs the normal hook ‘display-time-hook’ after each update.
  399.  
  400. This is a global minor mode. If called interactively, toggle the
  401. ‘Display-Time mode’ mode. If the prefix argument is positive, enable
  402. the mode, and if it is zero or negative, disable the mode.
  403.  
  404. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  405. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  406. if ARG is a negative number.
  407.  
  408. To check whether the minor mode is enabled in the current buffer,
  409. evaluate ‘(default-value 'display-time-mode)’.
  410.  
  411. The mode’s hook is called both when the mode is enabled and when it is
  412. disabled.
  413.  
  414. Global minor mode doom-modeline-mode
  415.  
  416. Doom-Modeline minor mode (no indicator):
  417. Toggle ‘doom-modeline’ on or off.
  418.  
  419. This is a global minor mode. If called interactively, toggle the
  420. ‘Doom-Modeline mode’ mode. If the prefix argument is positive, enable
  421. the mode, and if it is zero or negative, disable the mode.
  422.  
  423. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  424. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  425. if ARG is a negative number.
  426.  
  427. To check whether the minor mode is enabled in the current buffer,
  428. evaluate ‘(default-value 'doom-modeline-mode)’.
  429.  
  430. The mode’s hook is called both when the mode is enabled and when it is
  431. disabled.
  432.  
  433. Global minor mode electric-indent-mode
  434.  
  435. Electric-Indent minor mode (no indicator):
  436. Toggle on-the-fly reindentation of text lines (Electric Indent mode).
  437.  
  438. When enabled, this reindents whenever the hook ‘electric-indent-functions’
  439. returns non-nil, or if you insert one of the "electric characters".
  440. The electric characters normally include the newline, but can
  441. also include other characters as needed by the major mode; see
  442. ‘electric-indent-chars’ for the actual list.
  443.  
  444. By "reindent" we mean remove any existing indentation, and then
  445. indent the line according to context and rules of the major mode.
  446.  
  447. This is a global minor mode. To toggle the mode in a single buffer,
  448. use ‘electric-indent-local-mode’.
  449.  
  450. This is a global minor mode. If called interactively, toggle the
  451. ‘Electric-Indent mode’ mode. If the prefix argument is positive, enable
  452. the mode, and if it is zero or negative, disable the mode.
  453.  
  454. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  455. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  456. if ARG is a negative number.
  457.  
  458. To check whether the minor mode is enabled in the current buffer,
  459. evaluate ‘(default-value 'electric-indent-mode)’.
  460.  
  461. The mode’s hook is called both when the mode is enabled and when it is
  462. disabled.
  463.  
  464. Global minor mode electric-pair-mode
  465.  
  466. Electric-Pair minor mode (no indicator):
  467. Toggle automatic parens pairing (Electric Pair mode).
  468.  
  469. Electric Pair mode is a global minor mode. When enabled, typing
  470. an open parenthesis automatically inserts the corresponding
  471. closing parenthesis, and vice versa. (Likewise for brackets, etc.).
  472. If the region is active, the parentheses (brackets, etc.) are
  473. inserted around the region instead.
  474.  
  475. To toggle the mode in a single buffer, use ‘electric-pair-local-mode’.
  476.  
  477. This is a global minor mode. If called interactively, toggle the
  478. ‘Electric-Pair mode’ mode. If the prefix argument is positive, enable
  479. the mode, and if it is zero or negative, disable the mode.
  480.  
  481. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  482. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  483. if ARG is a negative number.
  484.  
  485. To check whether the minor mode is enabled in the current buffer,
  486. evaluate ‘(default-value 'electric-pair-mode)’.
  487.  
  488. The mode’s hook is called both when the mode is enabled and when it is
  489. disabled.
  490.  
  491. Global minor mode file-name-shadow-mode
  492.  
  493. File-Name-Shadow minor mode (no indicator):
  494. Toggle file-name shadowing in minibuffers (File-Name Shadow mode).
  495.  
  496. File-Name Shadow mode is a global minor mode. When enabled, any
  497. part of a filename being read in the minibuffer that would be
  498. ignored (because the result is passed through
  499. ‘substitute-in-file-name’) is given the properties in
  500. ‘file-name-shadow-properties’, which can be used to make that
  501. portion dim, invisible, or otherwise less visually noticeable.
  502.  
  503. This is a global minor mode. If called interactively, toggle the
  504. ‘File-Name-Shadow mode’ mode. If the prefix argument is positive,
  505. enable the mode, and if it is zero or negative, disable the mode.
  506.  
  507. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  508. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  509. if ARG is a negative number.
  510.  
  511. To check whether the minor mode is enabled in the current buffer,
  512. evaluate ‘(default-value 'file-name-shadow-mode)’.
  513.  
  514. The mode’s hook is called both when the mode is enabled and when it is
  515. disabled.
  516.  
  517. Global minor mode global-auto-revert-mode
  518.  
  519. Global-Auto-Revert minor mode (no indicator):
  520. Toggle Global Auto-Revert Mode.
  521.  
  522. Global Auto-Revert Mode is a global minor mode that reverts any
  523. buffer associated with a file when the file changes on disk. Use
  524. ‘auto-revert-mode’ to revert a particular buffer.
  525.  
  526. If ‘global-auto-revert-non-file-buffers’ is non-nil, this mode
  527. may also revert some non-file buffers, as described in the
  528. documentation of that variable. It ignores buffers with modes
  529. matching ‘global-auto-revert-ignore-modes’, and buffers with a
  530. non-nil value of ‘global-auto-revert-ignore-buffer’.
  531.  
  532. When a buffer is reverted, a message is generated. This can be
  533. suppressed by setting ‘auto-revert-verbose’ to nil.
  534.  
  535. This function calls the hook ‘global-auto-revert-mode-hook’.
  536. It displays the text that ‘global-auto-revert-mode-text’
  537. specifies in the mode line.
  538.  
  539. This is a global minor mode. If called interactively, toggle the
  540. ‘Global Auto-Revert mode’ mode. If the prefix argument is positive,
  541. enable the mode, and if it is zero or negative, disable the mode.
  542.  
  543. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  544. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  545. if ARG is a negative number.
  546.  
  547. To check whether the minor mode is enabled in the current buffer,
  548. evaluate ‘(default-value 'global-auto-revert-mode)’.
  549.  
  550. The mode’s hook is called both when the mode is enabled and when it is
  551. disabled.
  552.  
  553. Global minor mode global-corfu-mode
  554.  
  555. Global-Corfu minor mode (no indicator):
  556. Toggle Corfu mode in all buffers.
  557. With prefix ARG, enable Global Corfu mode if ARG is positive;
  558. otherwise, disable it.
  559.  
  560. If called from Lisp, toggle the mode if ARG is ‘toggle’.
  561. Enable the mode if ARG is nil, omitted, or is a positive number.
  562. Disable the mode if ARG is a negative number.
  563.  
  564. Corfu mode is enabled in all buffers where ‘corfu--on’ would do it.
  565.  
  566. See ‘corfu-mode’ for more information on Corfu mode.
  567.  
  568. Global minor mode global-eldoc-mode
  569.  
  570. Global-Eldoc minor mode (no indicator):
  571. Toggle Eldoc mode in all buffers.
  572. With prefix ARG, enable Global Eldoc mode if ARG is positive; otherwise,
  573. disable it.
  574.  
  575. If called from Lisp, toggle the mode if ARG is ‘toggle’.
  576. Enable the mode if ARG is nil, omitted, or is a positive number.
  577. Disable the mode if ARG is a negative number.
  578.  
  579. Eldoc mode is enabled in all buffers where ‘turn-on-eldoc-mode’ would do
  580. it.
  581.  
  582. See ‘eldoc-mode’ for more information on Eldoc mode.
  583.  
  584. Global minor mode global-font-lock-mode
  585.  
  586. Global-Font-Lock minor mode (no indicator):
  587. Toggle Font-Lock mode in all buffers.
  588. With prefix ARG, enable Global Font-Lock mode if ARG is positive;
  589. otherwise, disable it.
  590.  
  591. If called from Lisp, toggle the mode if ARG is ‘toggle’.
  592. Enable the mode if ARG is nil, omitted, or is a positive number.
  593. Disable the mode if ARG is a negative number.
  594.  
  595. Font-Lock mode is enabled in all buffers where
  596. ‘turn-on-font-lock-if-desired’ would do it.
  597.  
  598. See ‘font-lock-mode’ for more information on Font-Lock mode.
  599.  
  600. Global minor mode marginalia-mode
  601.  
  602. Marginalia minor mode (no indicator):
  603. Annotate completion candidates with richer information.
  604.  
  605. This is a global minor mode. If called interactively, toggle the
  606. ‘Marginalia mode’ mode. If the prefix argument is positive, enable the
  607. mode, and if it is zero or negative, disable the mode.
  608.  
  609. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  610. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  611. if ARG is a negative number.
  612.  
  613. To check whether the minor mode is enabled in the current buffer,
  614. evaluate ‘(default-value 'marginalia-mode)’.
  615.  
  616. The mode’s hook is called both when the mode is enabled and when it is
  617. disabled.
  618.  
  619. Global minor mode minibuffer-regexp-mode
  620.  
  621. Minibuffer-Regexp minor mode (no indicator):
  622. Minor mode for editing regular expressions in the minibuffer.
  623.  
  624. Highlight parens via ‘show-paren-mode’ and ‘blink-matching-paren’
  625. in a user-friendly way, avoid reporting alleged paren mismatches
  626. and make sexp navigation more intuitive.
  627.  
  628. The list of prompts activating this mode in specific minibuffer
  629. interactions is customizable via ‘minibuffer-regexp-prompts’.
  630.  
  631. This is a global minor mode. If called interactively, toggle the
  632. ‘Minibuffer-Regexp mode’ mode. If the prefix argument is positive,
  633. enable the mode, and if it is zero or negative, disable the mode.
  634.  
  635. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  636. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  637. if ARG is a negative number.
  638.  
  639. To check whether the minor mode is enabled in the current buffer,
  640. evaluate ‘(default-value 'minibuffer-regexp-mode)’.
  641.  
  642. The mode’s hook is called both when the mode is enabled and when it is
  643. disabled.
  644.  
  645. Global minor mode nerd-icons-completion-mode
  646.  
  647. Nerd-Icons-Completion minor mode (no indicator):
  648. Add icons to completion candidates.
  649.  
  650. This is a global minor mode. If called interactively, toggle the
  651. ‘Nerd-Icons-Completion mode’ mode. If the prefix argument is positive,
  652. enable the mode, and if it is zero or negative, disable the mode.
  653.  
  654. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  655. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  656. if ARG is a negative number.
  657.  
  658. To check whether the minor mode is enabled in the current buffer,
  659. evaluate ‘(default-value 'nerd-icons-completion-mode)’.
  660.  
  661. The mode’s hook is called both when the mode is enabled and when it is
  662. disabled.
  663.  
  664. Global minor mode pdf-occur-global-minor-mode
  665.  
  666. Pdf-Occur-Global minor mode (no indicator):
  667. Enable integration of Pdf Occur with other modes.
  668.  
  669. This global minor mode enables (or disables)
  670. ‘pdf-occur-ibuffer-minor-mode’ and ‘pdf-occur-dired-minor-mode’
  671. in all current and future ibuffer/dired buffer.
  672.  
  673. This is a global minor mode. If called interactively, toggle the
  674. ‘Pdf-Occur-Global minor mode’ mode. If the prefix argument is positive,
  675. enable the mode, and if it is zero or negative, disable the mode.
  676.  
  677. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  678. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  679. if ARG is a negative number.
  680.  
  681. To check whether the minor mode is enabled in the current buffer,
  682. evaluate ‘(default-value 'pdf-occur-global-minor-mode)’.
  683.  
  684. The mode’s hook is called both when the mode is enabled and when it is
  685. disabled.
  686.  
  687. Global minor mode pixel-scroll-precision-mode
  688.  
  689. Pixel-Scroll-Precision minor mode (no indicator):
  690. Toggle pixel scrolling.
  691.  
  692. When enabled, this minor mode allows you to scroll the display
  693. precisely, according to the turning of the mouse wheel.
  694.  
  695. This is a global minor mode. If called interactively, toggle the
  696. ‘Pixel-Scroll-Precision mode’ mode. If the prefix argument is positive,
  697. enable the mode, and if it is zero or negative, disable the mode.
  698.  
  699. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  700. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  701. if ARG is a negative number.
  702.  
  703. To check whether the minor mode is enabled in the current buffer,
  704. evaluate ‘(default-value 'pixel-scroll-precision-mode)’.
  705.  
  706. The mode’s hook is called both when the mode is enabled and when it is
  707. disabled.
  708.  
  709. Global minor mode pulsar-global-mode
  710.  
  711. Pulsar-Global minor mode (no indicator):
  712. Toggle Pulsar mode in all buffers.
  713. With prefix ARG, enable Pulsar-Global mode if ARG is positive;
  714. otherwise, disable it.
  715.  
  716. If called from Lisp, toggle the mode if ARG is ‘toggle’.
  717. Enable the mode if ARG is nil, omitted, or is a positive number.
  718. Disable the mode if ARG is a negative number.
  719.  
  720. Pulsar mode is enabled in all buffers where ‘pulsar--on’ would do it.
  721.  
  722. See ‘pulsar-mode’ for more information on Pulsar mode.
  723.  
  724. Global minor mode recentf-mode
  725.  
  726. Recentf minor mode (no indicator):
  727. Toggle keeping track of opened files (Recentf mode).
  728.  
  729. This mode maintains a list of recently opened files and makes it
  730. easy to visit them. The recent files list is automatically saved
  731. across Emacs sessions.
  732.  
  733. You can use ‘recentf-open’ or ‘recentf-open-files’ to visit
  734. files.
  735.  
  736. When Recentf mode is enabled, a "Open Recent" submenu is
  737. displayed in the "File" menu, containing a list of files that
  738. were operated on recently, in the most-recently-used order.
  739.  
  740. By default, only operations like opening a file, writing a buffer
  741. to a file, and killing a buffer is counted as "operating" on
  742. the file. If instead you want to prioritize files that appear in
  743. buffers you switch to a lot, you can say something like the following:
  744.  
  745. (add-hook 'buffer-list-update-hook #'recentf-track-opened-file)
  746.  
  747. This is a global minor mode. If called interactively, toggle the
  748. ‘Recentf mode’ mode. If the prefix argument is positive, enable the
  749. mode, and if it is zero or negative, disable the mode.
  750.  
  751. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  752. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  753. if ARG is a negative number.
  754.  
  755. To check whether the minor mode is enabled in the current buffer,
  756. evaluate ‘(default-value 'recentf-mode)’.
  757.  
  758. The mode’s hook is called both when the mode is enabled and when it is
  759. disabled.
  760.  
  761. Global minor mode save-place-mode
  762.  
  763. Save-Place minor mode (no indicator):
  764. Non-nil means automatically save place in each file.
  765.  
  766. This means when you visit a file, point goes to the last place
  767. where it was when you previously visited the same file.
  768.  
  769. This is a global minor mode. If called interactively, toggle the
  770. ‘Save-Place mode’ mode. If the prefix argument is positive, enable the
  771. mode, and if it is zero or negative, disable the mode.
  772.  
  773. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  774. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  775. if ARG is a negative number.
  776.  
  777. To check whether the minor mode is enabled in the current buffer,
  778. evaluate ‘(default-value 'save-place-mode)’.
  779.  
  780. The mode’s hook is called both when the mode is enabled and when it is
  781. disabled.
  782.  
  783. Global minor mode savehist-mode
  784.  
  785. Savehist minor mode (no indicator):
  786. Toggle saving of minibuffer history (Savehist mode).
  787.  
  788. When Savehist mode is enabled, minibuffer history is saved
  789. to ‘savehist-file’ periodically and when exiting Emacs. When
  790. Savehist mode is enabled for the first time in an Emacs session,
  791. it loads the previous minibuffer histories from ‘savehist-file’.
  792. The variable ‘savehist-autosave-interval’ controls the
  793. periodicity of saving minibuffer histories.
  794.  
  795. If ‘savehist-save-minibuffer-history’ is non-nil (the default),
  796. all recorded minibuffer histories will be saved. You can arrange
  797. for additional history variables to be saved and restored by
  798. customizing ‘savehist-additional-variables’, which by default is
  799. an empty list. For example, to save the history of commands
  800. invoked via M-x, add ‘command-history’ to the list in
  801. ‘savehist-additional-variables’.
  802.  
  803. Alternatively, you could customize ‘savehist-save-minibuffer-history’
  804. to nil, and add to ‘savehist-additional-variables’ only those
  805. history variables you want to save.
  806.  
  807. To ignore some history variables, add their symbols to the list
  808. in ‘savehist-ignored-variables’.
  809.  
  810. This mode should normally be turned on from your Emacs init file.
  811. Calling it at any other time replaces your current minibuffer
  812. histories, which is probably undesirable.
  813.  
  814. This is a global minor mode. If called interactively, toggle the
  815. ‘Savehist mode’ mode. If the prefix argument is positive, enable the
  816. mode, and if it is zero or negative, disable the mode.
  817.  
  818. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  819. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  820. if ARG is a negative number.
  821.  
  822. To check whether the minor mode is enabled in the current buffer,
  823. evaluate ‘(default-value 'savehist-mode)’.
  824.  
  825. The mode’s hook is called both when the mode is enabled and when it is
  826. disabled.
  827.  
  828. Global minor mode server-mode
  829.  
  830. Server minor mode (no indicator):
  831. Toggle Server mode.
  832.  
  833. Server mode runs a process that accepts commands from the
  834. ‘emacsclient’ program. See Info node ‘Emacs server’ and
  835. ‘server-start’ for details.
  836.  
  837. This is a global minor mode. If called interactively, toggle the
  838. ‘Server mode’ mode. If the prefix argument is positive, enable the
  839. mode, and if it is zero or negative, disable the mode.
  840.  
  841. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  842. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  843. if ARG is a negative number.
  844.  
  845. To check whether the minor mode is enabled in the current buffer,
  846. evaluate ‘(default-value 'server-mode)’.
  847.  
  848. The mode’s hook is called both when the mode is enabled and when it is
  849. disabled.
  850.  
  851. Global minor mode show-paren-mode
  852.  
  853. Show-Paren minor mode (no indicator):
  854. Toggle visualization of matching parens (Show Paren mode).
  855.  
  856. When enabled, any matching parenthesis is highlighted in ‘show-paren-style’
  857. after ‘show-paren-delay’ seconds of Emacs idle time.
  858.  
  859. Also see ‘show-paren-predicate’, which controls which buffers
  860. this mode is enabled in.
  861.  
  862. This is a global minor mode. To toggle the mode in a single buffer,
  863. use ‘show-paren-local-mode’.
  864.  
  865. This is a global minor mode. If called interactively, toggle the
  866. ‘Show-Paren mode’ mode. If the prefix argument is positive, enable the
  867. mode, and if it is zero or negative, disable the mode.
  868.  
  869. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  870. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  871. if ARG is a negative number.
  872.  
  873. To check whether the minor mode is enabled in the current buffer,
  874. evaluate ‘(default-value 'show-paren-mode)’.
  875.  
  876. The mode’s hook is called both when the mode is enabled and when it is
  877. disabled.
  878.  
  879. Global minor mode tooltip-mode
  880.  
  881. Tooltip minor mode (no indicator):
  882. Toggle Tooltip mode.
  883.  
  884. When this global minor mode is enabled, Emacs displays help
  885. text (e.g. for buttons and menu items that you put the mouse on)
  886. in a pop-up window.
  887.  
  888. When Tooltip mode is disabled, Emacs displays help text in the
  889. echo area, instead of making a pop-up window.
  890.  
  891. This is a global minor mode. If called interactively, toggle the
  892. ‘Tooltip mode’ mode. If the prefix argument is positive, enable the
  893. mode, and if it is zero or negative, disable the mode.
  894.  
  895. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  896. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  897. if ARG is a negative number.
  898.  
  899. To check whether the minor mode is enabled in the current buffer,
  900. evaluate ‘(default-value 'tooltip-mode)’.
  901.  
  902. The mode’s hook is called both when the mode is enabled and when it is
  903. disabled.
  904.  
  905. Global minor mode transient-mark-mode
  906.  
  907. Transient-Mark minor mode (no indicator):
  908. Toggle Transient Mark mode.
  909.  
  910. Transient Mark mode is a global minor mode. When enabled, the
  911. region is highlighted with the ‘region’ face whenever the mark
  912. is active. The mark is "deactivated" after certain non-motion
  913. commands, including those that change the text in the buffer, and
  914. during shift or mouse selection by any unshifted cursor motion
  915. command (see Info node ‘Shift Selection’ for more details).
  916.  
  917. You can also deactivate the mark by typing C-g or
  918. M-ESC ESC.
  919.  
  920. Many commands change their behavior when Transient Mark mode is
  921. in effect and the mark is active, by acting on the region instead
  922. of their usual default part of the buffer’s text. Examples of
  923. such commands include M-;, M-x flush-lines, M-x keep-lines,
  924. M-%, C-M-%, M-x ispell, and C-x u.
  925. To see the documentation of commands that are sensitive to the
  926. Transient Mark mode, invoke C-h d and type "transient"
  927. or "mark.*active" at the prompt.
  928.  
  929. This is a global minor mode. If called interactively, toggle the
  930. ‘Transient-Mark mode’ mode. If the prefix argument is positive, enable
  931. the mode, and if it is zero or negative, disable the mode.
  932.  
  933. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  934. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  935. if ARG is a negative number.
  936.  
  937. To check whether the minor mode is enabled in the current buffer,
  938. evaluate ‘(default-value 'transient-mark-mode)’.
  939.  
  940. The mode’s hook is called both when the mode is enabled and when it is
  941. disabled.
  942.  
  943. Global minor mode vertico-mode
  944.  
  945. Vertico minor mode (no indicator):
  946. VERTical Interactive COmpletion.
  947.  
  948. This is a global minor mode. If called interactively, toggle the
  949. ‘Vertico mode’ mode. If the prefix argument is positive, enable the
  950. mode, and if it is zero or negative, disable the mode.
  951.  
  952. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  953. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  954. if ARG is a negative number.
  955.  
  956. To check whether the minor mode is enabled in the current buffer,
  957. evaluate ‘(default-value 'vertico-mode)’.
  958.  
  959. The mode’s hook is called both when the mode is enabled and when it is
  960. disabled.
  961.  
  962. Global minor mode vertico-posframe-mode
  963.  
  964. Vertico-Posframe minor mode (no indicator):
  965. Display Vertico in posframe instead of the minibuffer.
  966.  
  967. This is a global minor mode. If called interactively, toggle the
  968. ‘Vertico-Posframe mode’ mode. If the prefix argument is positive,
  969. enable the mode, and if it is zero or negative, disable the mode.
  970.  
  971. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  972. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  973. if ARG is a negative number.
  974.  
  975. To check whether the minor mode is enabled in the current buffer,
  976. evaluate ‘(default-value 'vertico-posframe-mode)’.
  977.  
  978. The mode’s hook is called both when the mode is enabled and when it is
  979. disabled.
  980.  
  981. Global minor mode which-key-mode
  982.  
  983. Which-Key minor mode (indicator WK):
  984. Toggle ‘which-key-mode’.
  985.  
  986. ‘which-key’ is a minor mode that displays the key bindings following
  987. your currently entered incomplete command (a prefix) in a popup.
  988.  
  989. For example, after enabling the minor mode, if you enter C-x and
  990. wait for one second (by default), the minibuffer will expand with all
  991. available key bindings that follow C-x (or as many as space allows
  992. given your settings).
  993.  
  994. This is a global minor mode. If called interactively, toggle the
  995. ‘Which-Key mode’ mode. If the prefix argument is positive, enable the
  996. mode, and if it is zero or negative, disable the mode.
  997.  
  998. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  999. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  1000. if ARG is a negative number.
  1001.  
  1002. To check whether the minor mode is enabled in the current buffer,
  1003. evaluate ‘(default-value 'which-key-mode)’.
  1004.  
  1005. The mode’s hook is called both when the mode is enabled and when it is
  1006. disabled.
  1007.  
  1008. Global minor mode which-key-posframe-mode
  1009.  
  1010. Which-Key-Posframe minor mode (no indicator):
  1011. Toggle Which-Key-Posframe mode on or off.
  1012.  
  1013. This is a global minor mode. If called interactively, toggle the
  1014. ‘Which-Key-Posframe mode’ mode. If the prefix argument is positive,
  1015. enable the mode, and if it is zero or negative, disable the mode.
  1016.  
  1017. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the
  1018. mode if ARG is nil, omitted, or is a positive number. Disable the mode
  1019. if ARG is a negative number.
  1020.  
  1021. To check whether the minor mode is enabled in the current buffer,
  1022. evaluate ‘(default-value 'which-key-posframe-mode)’.
  1023.  
  1024. The mode’s hook is called both when the mode is enabled and when it is
  1025. disabled.
  1026.  
  1027. [back]
  1028.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement