Age | Commit message (Collapse) | Author |
|
* common.el (durand-display-in-one-window): I defined the function by
use of manual byte codes, which is not a good idea: Emacs can very
well change the meanings of the byte codes without announcements,
and then I would have to change the code anyways.
|
|
* common.el (durand-bookmark-to-register): Add an anonymous bookmark
to a register.
(ctl-x-r-map): Bind the function to 'C-x r B'.
(bookmark-make-record): Automatically loads the bookmark if the
required functionality is not loaded yet.
|
|
* common.el (register-val-jump-to): Do not ask for confirmation to
visit files again. This was enabled to send to others, and I forgot
to modify that back.
(ctl-x-r-map): Bind point-to-register to a more convenient key. I am
tired of typing 'C-x r C-x @ c @' to add a point to a register.
Another binding involves the space key, and I would like to have an
alternative convenient key-binding that does not involve the space
key, as I find that the space key is pressed way too oft. Haha!
|
|
* common.el (register-val-jump-to, register-val-describe): Support
bookmarks in registers via these two methods.
|
|
* common.el (durand-completion-goto-minibuffer): Go to the
*Completions* buffer or the minibuffer, depending on whether we are
*in the minibuffer or the *Completions* buffer and the target buffer
*exists.
* completion-conf.el (minibuffer-local-completion-map)
(completion-list-mode-map): Bind the function in the right map.
|
|
|
|
* common.el (durand-take): Declare as pure and side-effect free.
* durand-bongo.el (bongo-sub-redisplay): Do nothing when not playing,
to avoid clearing the subtitles buffer when stopped.
(durand-bongo-time-process): A helper to replace nil values by 0 in
the return value of `parse-time-string'.
(bongo-sub-status-string): Use a cache to avoid searching for the
subtitle every second.
|
|
* eshell-conf.el: Load eshell-tramp. I am not sure if this is
necessary, though.
* tramp-conf.el (vc-ignore-dir-regexp): Ignore version control on
remote hosts. Maybe I will change my mind in the future.
* common.el (Info-mode-map): Evaluate this only after info is loaded.
|
|
* common.el: Tramp configurations should be put in a separate file.
* tramp-conf.el (tramp-methods): Fix the copy arg.
(backup-directory-alist): Disable backups for Tramp.
(tramp-allow-unsafe-temporary-files): Don't ask this every time.
|
|
* common.el (Info-mode-map): Add a key-binding of Info-forward-node to
the closing parenthesis. The motivation is that the closing square
bracket is hard to press on my keyboard layout.
(tramp): The "rsync" external method seems to pass the option "-s" to
rsync, while the rsync program on my computer does not accept this
option. So I remove that option.
|
|
* common.el (common):
* init.el (rustic-mode):
(assoc):
* rust-conf.el ("dash.el"):
("s.el"):
("f.el"):
(let-alist):
("markdown-mode"):
(project):
("rust-mode"):
(seq):
("spinner.el"):
("xterm-color"):
("eglot"):
(eglot-mode-map):
(eglot-autoshutdown):
("rustic"):
(rustic-lsp-client):
(rustic-format-on-save):
(eglot-managed-mode-hook):
(durand-rust-mode-hook):
(durand-rustic-cargo-doc-a):
(#'rustic-cargo-doc):
(rust-conf):
|
|
* 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.
|
|
|
|
* basic.el (global-map): Bind to "s-;".
* common.el (durand-copy-line-dwim): This meets my needs to copy or
duplicate lines.
|
|
* common.el (durand-delete-dups): This uses a custom hash-table to
test for the equality. Hence it can support custom equality-tests.
This function grew out of a function I wrote for eshell.
(durand-member): This is a convenient function to test for membership
in a list. The implementationi is nothing new. But it is
convenient.
|
|
* common.el (durand-face-remap-remove-relative):
(face-remap-remove-relative): Now uses `remove' to remove elements,
which compares elements by `equal' instead of `eq'.
|
|
* common.el: This originated from the novel package.
|
|
* common.el (durand-display-in-one-window):
(durand-completion-scroll-up-or-go-to-minibuffer):
(intentionally-disabled-bind): Byte-compiling these functions.
|
|
* basic.el (global-map): Bind it.
* common.el (yank-complete-rotated-kill-ring): Rotating the kill ring
so that the last kill is at the top.
(yank-complete-history): History variable.
(yank-complete): Use `completing-read' for choosing some text that was
killed before.
|
|
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.
|
|
* basic.el (eval-expression-print-length):
(eval-expression-print-level): Now echo are will print without limits.
(winner): Enable winner-mode at start up.
(input-decode-map):
(key-translation-map): Translate ESC to make the following key
modified by control.
(bookmark-completing-read):
(durand-bookmark-completing-read): Now it won't ask me for
confirmation about my choices.
* init.el ("durand-chercher-pdf"): Further enhance the convenience of
viewing PDFs.
("embark-conf.el"): Now I don't use embark anymore.
* view-conf.el (durand-view-map): Add my own way of viewing things.
(durand-open-targets): These are the things I can open.
(durand-open-object): Open things quickly.
|
|
* 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.
|
|
In the course of configuring Emacs there are numerous changes to make.
This is one regular step.
|
|
* basic.el (auto-fill-function): Hide auto-fill-function from the mode line.
(auto-revert-mode): Hide auto-revert-mode from the mode line.
* common.el (durand-hide-minor-mode): Use a simple macro to facilitate
hiding.
* elisp.el (eldoc-mode): Use a macro to hide instead.
* eww-conf.el (eww-bookmarks-directory): Start Configuring EWW.
* init.el ("durand-simple"): My simple utilities.
("search-conf.el"): Configuring searching.
* search-conf.el (search-whitespace-regexp): White space as wild cards
(isearch-lax-whitespace): as above
(isearch-lazy-count): Count the matches
(isearch-allow-scroll): Scrolling while searching
(durand-search-replace-symbol): For quick refactoring
* text-conf.el (assq): Hide using the macro instead.
|
|
* basic.el
(recenter-positions): In effect nothing changed.
(prot-pulse-line): Puling the line.
(pulse): Useful built-in library.
(durand-pulse-pulse-line): My own tweak.
(durand-pulse-recenter-top): Recenter and pulse.
* init.el (prepare-in-hook-once): Make it interactive.
(global-map): Add Org-mode bindings.
("durand-chercher-pdf"): Search PDFs quickly.
* modeline.el (modeline-format-left): Remove the vertical bar.
* org-conf.el (org-adapt-indentation)
(org-modules)
(org-hide-emphasis-markers)
(org-hide-macro-markers)
(org-hide-leading-stars): Steal some configurations from Protesilaos.
(global-map)
(org-mode-map): Add Org-mode bindings.
(durand-pulse-pulse-line):
(org-follow-link-hook): Pulse and recenter when following the link.
|
|
Now I got almost every functionality that we need, including pdf,
mu4e, magit, et cetera.
|
|
|