Age | Commit message (Collapse) | Author |
|
|
|
* 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):
|
|
* init.el ("olivetti"): The new fancy style looks quite cool. But
with modus-vivendi theme I cannot really distinguish the fringe and
the margin, haha.
|
|
* gnus-conf.el: call #'gnus-delay-initialize to set up checking
delayed mails to send each time we get new news.
* init.el (display-mouse-p): After some time using this, I think I
don't need to avoid the mouse.
|
|
Add short-cuts to conveniently load some frequently used
configurations. I used to load those configurations only through
manual invocations of custom functions. Now I got tired of this
practice. So I add some convenient lazy loading to save me some
trouble.
|
|
* init.el (mouse-avoidance-mode): Let's play the cat-and-mouse game,
because why not.
|
|
|
|
* basic.el (durand-delete-goto-parent-dir)
(minibuffer-local-filename-completion-map): The DEL key goes to the
parent directory when the cursor is before a forward slash
representing a directory name. This is bound in the keymap that is
only used when completing file names.
* flymake-conf.el (flymake-mode-map): Bind keys to the s-m prefix.
Also clean up the file.
* init.el (eshell): Start tracking time immediately.
(global-map, prepare-flymake): Prepare loading flymake by a
keybinding.
|
|
* dired-conf.el (dired-listing-switches): change the time style to
the long iso style.
(dired-mode-hook): add hl-line-mode.
* init.el ("protesilaos/lin"): activate for dired-mode-hook as well.
|
|
* bookmark-conf.el (blist-mode-hook): Highlight the current line.
* init.el ("protesilaos/lin"): Add the package to remap some
highlights.
|
|
|
|
* init.el (durand-maybe-enable-outline): This is the activation
function for outline-minor-mode, for me. So it makes sense to
define this initially as a function to load my configurations, so
that I can use the functionalities even if I haven't loaded my
configurations yet.
|
|
|
|
* init.el (durand-simple-clear-processes): Clear all irrelevant
processes at once.
(global-map): Bind to the key "c" in `process-menu-mode-map'.
|
|
* init.el ("durand-simple"): Now I can replace or delete pairs
easily.
|
|
* glsl-conf.el: A minimal configuration to get it working.
* init.el (glsl-mode):
(auto-mode-alist): Add support in init.el.
|
|
* init.el (prepare-tex): I was adding this to the hook
LaTeX-mode-hook, which is not run until AUCTeX is loaded, but I load
AUCTeX inside prepare-tex. The result is that I could not
automatically load AUCTeX. Now this is fixed by using the right
hook.
|
|
Now I can use Emacs in the full-screen mode.
* battery-conf.el (battery-pmset):
(durand-battery-pmset): Override the default so that
it also offers temperature information.
(battery-mode-line-format):
(battery-mode-line-limit):
(battery-update-interval):
(battery-load-low):
(battery-load-critical):
Some sane defaults.
* init.el (durand-battery):
(durand-time): Advice to load the configurations and
display at the same time.
* time-conf.el (display-time-format):
(display-time-interval):
(display-time-default-load-average):
(display-time-mail-directory):
(display-time-mail-function):
(display-time-use-mail-icon):
(display-time-mail-string):
(display-time-mail-face):
Sane defaults.
|
|
* c-conf.el (c-macro-preprocessor): Set it to a sane default.
* init.el (prepare-c): Lazy load c-conf.el
|
|
Configure TeX and add some skeletons, and bind a key to eww.
|
|
* init.el (prepare-skeletons): Lazy load this.
* skeleton-conf.el (skeleton-conf):
(insert-define-key): This is only a primitive skeleton. I will add
more in the future.
|
|
* init.el (global-map): Bind durand-mu4e.
(eww):
("eww-conf.el"): Lazy load eww.
|
|
* basic.el (bidi-paragraph-direction):
(bidi-inhibit-bpa): Setting the direction of the text to speed
redisplay up.
(global-map): Use bitwise or with (ash 1 23) to have the effect of
super.
* init.el ("rlist"): List all the contents of the registers.
|
|
* elfeed-conf.el (elfeed-feeds): Apply more tags automatically.
* init.el (prepare-rime, global-map): Load rime automatically.
* rime-conf.el ("emacs-rime"): Don't send a message when sending
special letters to rime.
|
|
Bind elfeed in global-map.
Combine some convenient features to a function that focuses the text.
|
|
Now TeX and elfeed are roughly configured.
|
|
A lot of improvements.
|
|
* 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.
|
|
* init.el ("transpose-frame"): Use the package.
|
|
* 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.
|
|
Fixes: Avoid adding suffix-link repeatedly
* embark-conf.el ("embark"): Use view-mode instead of view-file
* init.el (load-after-function): Modify the macro so that it no longer
redefines built-in functions.
(global-map):
("view-conf.el"): Rename view-functions.el to view-conf.el
* suffix tree/generalized-suffix-tree.el (gst-edge-length):
(gst-add-suffix-link):
(gst-canonize):
(gst-extend-tree):
(gst-build-for-strs):
Fixed the bug.
* suffix tree/gst debugging platform.txt (strs): Add a new debugging file
* suffix tree/gst test ground (2).txt (strs): Do more debugging
* tab-conf.el (durand-switch-tab-dwim): Add my own dwim tab function.
(global-map): Bind it to the global map.
* theme.el Update the modus-themes.
* view-conf.el Rename view-functions.el to view-conf.el.
|
|
There are more bugs unfortunately.
|
|
Now I got almost every functionality that we need, including pdf,
mu4e, magit, et cetera.
|
|
|
|
|
|
|