summaryrefslogtreecommitdiff
path: root/init.el
AgeCommit message (Collapse)Author
2023-08-23init: comment out the part about 'rime'JSDurand
It is a package that I once used. Since I do not want to use that package now, I comment out its preparatory forms.
2023-07-30init: run outline even at the first timeJSDurand
* init.el (durand-maybe-enable-outline): Previously when we enable outline-minor-mode for the first time, it would not be turned on. Now this is fixed. And the same thing for vterm.
2023-07-29Add vterm configurationJSDurand
I find vterm very useful when combined with the command 'btm'. I can use this combination to monitor many computer states conveniently, which I did not find a way to accomplish with the built-in terminal emulator 'term' in Emacs. * init.el (vterm): Load vterm if necessary. * vterm-conf.el: Thin configurations.
2023-06-12wgsl: major mode for WGSL files.JSDurand
* init.el (wgsl-mode, auto-mode-alist): Add support for WebGpu Shader Language files. * wgsl-conf.el ("wgsl-mode"): Use a package for syntax-highlighting and basic stuff.
2023-02-21Add GraphViz-Dot-Mode.JSDurand
* init.el ("graphviz-dot-mode"): Color graphviz dot files.
2023-01-06rime: Stop using rime now.JSDurand
2023-01-01imenu: flatten imenuJSDurand
* imenu-conf.el (imenu-flatten-p): A variable to control whether or not we want to flatten imenu. (imenu-flatten-prefix): A helper function to deal with prefixes. (imenu-flatten): The function that actually flattens the lists. (imenu-flatten-advice, imenu--make-index-alist): Advice the producer of indices of imenu to plug our flattening logic in. * init.el ("imenu-conf.el"): Load this configuration automatically.
2022-12-23input-conf: Some preliminary configurationsJSDurand
2022-11-16bongo: ReformatJSDurand
* bongo.el: * init.el: Reformat the codes in a consistent manner.
2022-11-06mail + init + gnus: get rid of mailsJSDurand
Now I don't use mu4e anymore, so this just removes all those related settings.
2022-08-24Add RUMU supportJSDurand
2022-06-30Add primitive ABNF supportJSDurand
2022-02-09add configurations for rustJSDurand
* 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):
2022-01-26olivetti: fancy styleJSDurand
* 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.
2022-01-26gnus & init: setup delay & no avoid mouseJSDurand
* 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.
2022-01-24Cleanup init fileJSDurand
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.
2022-01-23cat and mouseJSDurand
* init.el (mouse-avoidance-mode): Let's play the cat-and-mouse game, because why not.
2022-01-21go-conf: configure go-modeJSDurand
2022-01-15clean up things & go to parent in file name completionJSDurand
* 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.
2021-12-18add highlights for dired and change time formatJSDurand
* 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.
2021-12-06LIN Is NoticeableJSDurand
* bookmark-conf.el (blist-mode-hook): Highlight the current line. * init.el ("protesilaos/lin"): Add the package to remap some highlights.
2021-09-19* init.el (global-map): Hyper-g => GnusJSDurand
2021-09-06load outline-conf in the activation functionJSDurand
* 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.
2021-08-24* init.el ("rainbow-mode"): Useful for codes with colorsJSDurand
2021-08-19Clear all irrelevant processes at onceJSDurand
* init.el (durand-simple-clear-processes): Clear all irrelevant processes at once. (global-map): Bind to the key "c" in `process-menu-mode-map'.
2021-07-20change: replace and delete pairsJSDurand
* init.el ("durand-simple"): Now I can replace or delete pairs easily.
2021-07-19new: minimal glsl confJSDurand
* glsl-conf.el: A minimal configuration to get it working. * init.el (glsl-mode): (auto-mode-alist): Add support in init.el.
2021-06-06init: prepare latex in the correct hookJSDurand
* 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.
2021-04-20Display battery and time on the modeline.JSDurand
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.
2021-04-20Initial configuration of c-modeJSDurand
* c-conf.el (c-macro-preprocessor): Set it to a sane default. * init.el (prepare-c): Lazy load c-conf.el
2021-03-03TeX, skeleton, and eww.JSDurand
Configure TeX and add some skeletons, and bind a key to eww.
2021-03-01Add the first skeletonJSDurand
* 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.
2021-02-28Bind durand-mu4e and lazy load eww.JSDurand
* init.el (global-map): Bind durand-mu4e. (eww): ("eww-conf.el"): Lazy load eww.
2021-02-25bidi, super, and rlist-verbose.JSDurand
* 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.
2021-02-24QoL changes and fix rime sending messageJSDurand
* 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.
2021-02-22Focus and elfeed bindingJSDurand
Bind elfeed in global-map. Combine some convenient features to a function that focuses the text.
2021-02-22More configurationsJSDurand
Now TeX and elfeed are roughly configured.
2021-02-08Constantly growingJSDurand
A lot of improvements.
2021-01-27Further configurationsJSDurand
* 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.
2021-01-24Adding transposing frame capabilityJSDurand
* init.el ("transpose-frame"): Use the package.
2021-01-24More custom functions and adjust for custom completion frameworkJSDurand
* 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.
2021-01-22Regular updatesJSDurand
In the course of configuring Emacs there are numerous changes to make. This is one regular step.
2021-01-20More QoL changesJSDurand
* 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.
2021-01-17Tweak more things.JSDurand
* 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.
2021-01-16The first stable versionJSDurand
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.
2021-01-14A temporary bug fixJSDurand
There are more bugs unfortunately.
2021-01-13A temporary intermeidate stepJSDurand
Now I got almost every functionality that we need, including pdf, mu4e, magit, et cetera.
2021-01-09temporary stateJSDurand
2020-12-24More progessJSDurand
2020-12-22Initial commitJSDurand