Compare commits
No commits in common. "fbfd912403a0a5e5b02828cce08b5c9e22b34563" and "3013bafac1c3e2a3ab272aed3427a40e30ca4a32" have entirely different histories.
fbfd912403
...
3013bafac1
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-prefix-format nil
|
||||||
lazy-count-suffix-format " (%s/%s)"
|
lazy-count-suffix-format " (%s/%s)"
|
||||||
lazy-highlight-initial-delay 1.0
|
lazy-highlight-initial-delay 1.0
|
||||||
max-mini-window-height 0.5 ; Prevent `which-key-mode' paging (try `C-x')!
|
|
||||||
mode-line-compact t
|
mode-line-compact t
|
||||||
next-error-message-highlight t
|
next-error-message-highlight t
|
||||||
recentf-max-saved-items 100
|
recentf-max-saved-items 100
|
||||||
recentf-mode t
|
recentf-mode t
|
||||||
save-place-mode t
|
save-place-mode t
|
||||||
|
savehist-additional-variables nil ; Docstring is not OK!
|
||||||
savehist-mode t
|
savehist-mode t
|
||||||
scroll-bar-mode nil
|
scroll-bar-mode nil
|
||||||
tab-always-indent 'complete
|
tab-always-indent 'complete
|
||||||
@ -1030,18 +1030,9 @@ looks for files.
|
|||||||
Table [[tab:basic-key-bindings]] lists basic key bindings. Enabling
|
Table [[tab:basic-key-bindings]] lists basic key bindings. Enabling
|
||||||
=which-key-mode= is another way of associating key bindings with commands.
|
=which-key-mode= is another way of associating key bindings with commands.
|
||||||
Execute src_emacs-lisp[:results none]{(find-library "which-key")} to check
|
Execute src_emacs-lisp[:results none]{(find-library "which-key")} to check
|
||||||
whether this library is builtin. Notes:
|
whether this library is builtin. This setup does not enable =which-key-mode=
|
||||||
1. This setup does not enable =which-key-mode= because of rare interference with
|
because of rare interference with for instance a process that the =compile=
|
||||||
for instance a process that the =compile= command launches.
|
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
|
#+attr_latex: :booktabs yes :float table
|
||||||
#+caption[Basic key bindings]:
|
#+caption[Basic key bindings]:
|
||||||
@ -1223,14 +1214,13 @@ sub makeglossaries {
|
|||||||
world-clock-time-format "%a %d %b %R %z"))
|
world-clock-time-format "%a %d %b %R %z"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Tools to handle buffers and modes :noexport:
|
* Tools to handle buffers and modes
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: sec:buffer-mode-tools
|
:CUSTOM_ID: sec:buffer-mode-tools
|
||||||
:header-args:emacs-lisp: :tangle no
|
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
#+caption[Tools to handle buffers and modes]:
|
#+caption[Tools to handle buffers and modes]:
|
||||||
#+caption: Tools to handle buffers and modes.
|
#+caption: Tools to handl buffers and modes.
|
||||||
#+name: lst:buffer-mode-tools
|
#+name: lst:buffer-mode-tools
|
||||||
#+begin_src emacs-lisp -n :results silent
|
#+begin_src emacs-lisp -n :results silent
|
||||||
(defun set-all-buffers-with-modes (minor-mode value modes)
|
(defun set-all-buffers-with-modes (minor-mode value modes)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user