Age | Commit message (Collapse) | Author |
|
These are some changes when I migrate to emacs version 29.
|
|
* completion-conf.el (durand-preview-exit-hook)
(durand-open-completion-list-with-buffer-preview): I forgot to clear
the mess after the preview is over. The result of this experiment is
far from usable yet, of course.
|
|
* completion-conf.el (durand-preview-in-completion-list): The function
to call in the completion list buffer to preview the current
candidate.
(durand-propertize-buffer-for-completion-list): Give the texts
necessary properties.
(durand-open-completion-list-with-buffer-preview): Set up the
completion list buffer for previewing.
(durand-preview-keymap): A custom keymap that contains bindings for
previewing buffers.
(durand-read-buffer-with-preview-function): Use a custom function to
read buffers, as the default one does not accept a keymap argument.
(durand-switch-to-buffer-preview): Switch-to-buffer, but with
previews.
|
|
* completion-conf.el (minibuffer-local-completion-map)
(completion-list-mode-map): Bind C-n and C-p to move the cursor to the
completion list buffer if the cursor is already at the bottom or the
top of the minibuffer.
|
|
* common.el (durand-display-in-one-window)
(durand-completion-scroll-up-or-go-to-minibuffer)
(intentionally-disabled-bind):
* completion-conf.el (durand-completion-toggle-display):
* eww-conf.el (global-map): defalias has the advantage that one can
find the file of the definition from the help buffer while fset
cannot.
|
|
|
|
* completion-conf.el (durand-minibuffer-respect-inhibit-advice)
(minibuffer-message): Make sure this respects the value of
`inhibit-message'.
(durand-completion-display-after-change): Previously this will add a
message at the end of the minibuffer after completing, so that the
input becomes invalid. Now this problem is fixed.
|
|
* completion-conf.el (minibuffer-local-completion-map)
(minibuffer-local-must-match-map): Since typing space is quite common,
it is not very convenient to use space to complete words, as the
binding otherwise would.
|
|
* completion-conf.el (minibuffer-local-completion-map):
(durand-completion-display-after-change):
(durand-completion-toggle-display): This will toggle between live
updating and not live updating.
|
|
A lot of improvements.
|
|
Now I don't have to use a special command to launch Emacs. And the
configuration files are placed in the normal position now.
|
|
* LICENSE: Add GPLv3.
* basic.el (durand-enlarge-window):
(durand-shrink-window):
(durand-enlarge-window-horizontally):
(durand-shrink-window-horizontally): Now I can easily maximize or
minimize windows.
* comb/orderless-conf.el ("orderless"): Now I try to use my own
completion framework.
* common.el (durand-embark-scroll-down-or-go-to-completions):
(durand-embark-scroll-up-or-go-to-completions):
(durand-completion-scroll-down-or-go-to-minibuffer):
(durand-completion-scroll-up-or-go-to-minibuffer): Move these
functions here since they do not belong to the completion framework in
my opinion.
(register):
(register-val-jump-to): Rewrite this method so that it does not have
to ask me if I want to open a file while jumping.
* completion-conf.el: My intended completion framework, which is still
work in progress.
* init.el ("comb/orderless-conf.el"):
("completion-conf.el"): Adjust things accordingly.
("durand-simple"): My custom functions for viewing and for opening
things.
* modeline.el (modeline-propertize):
(modeline-format-minor-modes):
(modeline-format-major-mode): Now the macro `modeline-propertize'
won't override properties that it does not intend to define. This has
the effect that the properties of the original constructs will go
through and have effect.
(modeline-format-main): Make sure the space has a positive length.
(modeline-format-buffer-name): Make sure the length does not exceed
half the width of the window.
|