Compare commits
2 Commits
3013bafac1
...
fbfd912403
Author | SHA1 | Date | |
---|---|---|---|
fbfd912403 | |||
b7ccd6e94f |
22
README.org
22
README.org
@ -223,12 +223,12 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
|
||||
lazy-count-prefix-format nil
|
||||
lazy-count-suffix-format " (%s/%s)"
|
||||
lazy-highlight-initial-delay 1.0
|
||||
max-mini-window-height 0.5 ; Prevent `which-key-mode' paging (try `C-x')!
|
||||
mode-line-compact t
|
||||
next-error-message-highlight t
|
||||
recentf-max-saved-items 100
|
||||
recentf-mode t
|
||||
save-place-mode t
|
||||
savehist-additional-variables nil ; Docstring is not OK!
|
||||
savehist-mode t
|
||||
scroll-bar-mode nil
|
||||
tab-always-indent 'complete
|
||||
@ -1030,9 +1030,18 @@ looks for files.
|
||||
Table [[tab:basic-key-bindings]] lists basic key bindings. Enabling
|
||||
=which-key-mode= is another way of associating key bindings with commands.
|
||||
Execute src_emacs-lisp[:results none]{(find-library "which-key")} to check
|
||||
whether this library is builtin. This setup does not enable =which-key-mode=
|
||||
because of rare interference with for instance a process that the =compile=
|
||||
command launches.
|
||||
whether this library is builtin. Notes:
|
||||
1. This setup does not enable =which-key-mode= because of rare interference with
|
||||
for instance a process that the =compile= command launches.
|
||||
2. ChatGPT bullshits on "How to page in =which-key-mode= on Emacs".
|
||||
3. Execute src_emacs-lisp[:results none]{(setopt max-mini-window-height 0.5)} to
|
||||
make =which-key-mode= display all keys without paging (try "C-x").
|
||||
4. Execute src_emacs-lisp[:results none]{(which-key-setup-side-window-right)} to
|
||||
*enable* =which-key= paging support (use fn-F1 on Darwin). Setting
|
||||
=max-mini-window-height= is the easiest solution.
|
||||
5. Execute src_emacs-lisp[:results none]{(which-key-setup-minibuffer)} to
|
||||
*disable* =which-key= paging support (and display the first =which-key-mode=
|
||||
page in the minibuffer).
|
||||
|
||||
#+attr_latex: :booktabs yes :float table
|
||||
#+caption[Basic key bindings]:
|
||||
@ -1214,13 +1223,14 @@ sub makeglossaries {
|
||||
world-clock-time-format "%a %d %b %R %z"))
|
||||
#+end_src
|
||||
|
||||
* Tools to handle buffers and modes
|
||||
* Tools to handle buffers and modes :noexport:
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: sec:buffer-mode-tools
|
||||
:header-args:emacs-lisp: :tangle no
|
||||
:END:
|
||||
|
||||
#+caption[Tools to handle buffers and modes]:
|
||||
#+caption: Tools to handl buffers and modes.
|
||||
#+caption: Tools to handle buffers and modes.
|
||||
#+name: lst:buffer-mode-tools
|
||||
#+begin_src emacs-lisp -n :results silent
|
||||
(defun set-all-buffers-with-modes (minor-mode value modes)
|
||||
|
Loading…
x
Reference in New Issue
Block a user