summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-12tex-conf: add a command to do everything.JSDurand
* tex-conf.el (durand-tex-do-all): Do everything I want. (LaTeX-mode-map): Bind to 'C-c t'.
2022-05-07bongo: add bonmark packageJSDurand
Add a package which comes from one of my little experiments.
2022-05-02tex-conf: add parenthesis insertionJSDurand
2022-04-18rcirc-conf: I might want this in the future.JSDurand
I do not use IRC for now, but it might come in handy in the future. Who knows?
2022-04-18bookmark-conf: refine bookmark handler handlingJSDurand
* bookmark-conf.el: Remove bookmark(-handler)? from the name of the group heading.
2022-04-18bongo: call bongo-dired-library-modeJSDurand
Call the function instead of setting the variable. This is safer in my opinion now.
2022-04-12elfeed: clean up the feeds a littleJSDurand
* elfeed-conf.el (elfeed-feeds): Re-organize the feeds. (elfeed-search-filter): Set the default filter to include those read entries as well. I now like this way of viewing feeds.
2022-04-12tab: set tab-bar-format to nilJSDurand
I do not use the tab-bar line. I tried to use it, but I prefer the top of the Emacs stay clean.
2022-04-11misc: eshell, common and trampJSDurand
* 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.
2022-04-10bookmark-conf: use `file-remote-p' to get host and userJSDurand
* bookmark-conf.el ("ilist-automatic-group-durand"): Instead of using a hand-made regular expression for determining the user and the host of the remote file name, use the function `file-remote-p'. This is quite necessary since the Tramp syntax might vary according to the style used. It is best to use an official function.
2022-04-10recentf-conf: don't check if a remote file existsJSDurand
* recentf-conf.el (file-exists-or-remote-p): If a file name specifies a remote file, treat it as an existing file. (choose-recent-file): Don't check if a remote file exists. Otherwise it will take a sizeable amout of time whenever I want to open a recent file, which is kind of unacceptable to me.
2022-04-10Move the tramp configuration to tramp-conf.JSDurand
* 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.
2022-04-10bookmark-conf: handle multi-hops tramp file namesJSDurand
The previous regular expression cannot handle remote file names with multiple hops. This is now fixed.
2022-04-10common: key-binding in Info and fix a tramp problemJSDurand
* 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.
2022-04-09bookmark-conf: automatic grouping of Tramp bookmarksJSDurand
* bookmark-conf.el ("ilist-automatic-group-durand"): Now this automatic grouping function understands the syntax of Tramp buffers (for ssh only, though) and will group Tramp bookmarks according to the remote server name, like root@jsdurand.xyz, or git@jsdurand.xyz. I start to think that Tramp is the best invention since the slice of bread now.
2022-03-31dashboard: wording of the alerting messageJSDurand
"Don't kill" => "Please don't kill"
2022-03-31bookmark: don't make backups of bookmark-alist.JSDurand
2022-03-26gnus: determine the default identity correctlyJSDurand
If the to field contains Chinese characters, then the default identity should be the one with Chinese characters.
2022-03-23org: refine the blog publishing functionsJSDurand
* org-conf.el (durand-org-publish-sitemap): Add a heading so that the generated HTML will be displayed correctly. I don't why this makes a difference, but in my browser it behaves this way. (durand-org-post-process): Refine a wording in a comment.
2022-02-18dashboard: remove a trailing period.JSDurand
* dashboard.el (dont-kill-dashboard-fn): Such an error / warning message should not end with a period.
2022-02-18eww: add a useless checkJSDurand
* eww-conf.el (durand-eww-bookmark-jump): Check if an existing EWW buffer is a live buffer before we determine that an EWW buffer already exists. But in my experiments this does not change anything, so...
2022-02-18tex: enable reftex by defaultJSDurand
I don't know why I didn't do this previously.
2022-02-18view: add a binding to `durand-open-object'JSDurand
Eglot-mode binds C-c o for some reason (I thought bindings like C-c X, where X is a letter are reserved for the users). Instead of asking the authors of eglot why they did that or fighting eglot by re-binding, I am too lazy and just add a new binding to my own function.
2022-02-11elfeed: add a feed of rust blogJSDurand
* elfeed-conf.el (elfeed-feeds): The official development blog is quite interesting in fact.
2022-02-11rust: prevent echo area to use multiple lines.JSDurand
* rust-conf.el (eldoc-echo-area-use-multiline-p): I find it annoying to display multiple lines of docucmentation in the echo area constantly, as then the echo area will constantly expand and contract, which is not very visually pleasing in my opinion.
2022-02-11pdf: fix a dependencyJSDurand
* pdf.el ("tablist"): I don't know why I didn't include this previously.
2022-02-11ibuffer: add section for rust buffersJSDurand
* ibuffer.el (durand-bongo-set-filter): Add a section for buffers in the rustic-mode or the rust-mode.
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-02-04basic: clean up and add language environmentJSDurand
* basic.el ("UTF-8"): set-language-environment should be enough to use the UTF-8 encoding by default. I think I don't need this setting in fact. But adding this won't make things worse, I suppose.
2022-01-29Refactor: save something and tidy things up.JSDurand
* bongo.el: Try to implement a mechanism to play subtitles along with the music, but it is not yet finished. * subed-conf.el: Make it work. * text-conf.el (insert-section-heading): Delete unnecessary debugging mechanisms.
2022-01-27eshell: expand dotsJSDurand
* eshell-conf.el (durand-eshell-expand-dots): Replace multiple dots by correct syntax. (eshell-expand-input-functions): Add to this variable so that Eshell automatically expands dots.
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-26clear up after previewJSDurand
* 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.
2022-01-26eshell: load em-termJSDurand
2022-01-26experimenting with live previewsJSDurand
* 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.
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-23bookmark-conf: Change buffer name.JSDurand
* bookmark-conf.el (blist-buffer-name): Use another buffer name that is not recognized by bookmark.el, so that it won't think we are using the default bmenu listings.
2022-01-23cat and mouseJSDurand
* init.el (mouse-avoidance-mode): Let's play the cat-and-mouse game, because why not.
2022-01-21ibuffer: add option to show the clear pass listJSDurand
* ibuffer.el (durand-reset-clearlist): Add option to show the clear pass list.
2022-01-21go-conf: configure go-modeJSDurand
2022-01-15dashboard: disable undo in the dashboard bufferJSDurand
2022-01-15ibuffer: add PDF group/filterJSDurand
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.
2022-01-13keycast-conf: Display in the active windowJSDurand
* keycast-conf.el (keycast-window-predicate): Use the function `modeline-active-window-p' from my custom file "modeline.el" to determine whether a window is the currently active window, and then display the key cast information in that active window only. * modeline.el (modeline-get-active-window, modeline-format-keycast): A slight refactor. (modeline-format-keycast): Use bound-and-true-p to test the mode variable, so as to avoid errors when durand-keycast-mode has not yet been loaded.
2022-01-12modeline: silence keycast when deactivatedJSDurand
* modeline.el (modeline-format-keycast): Previously there was a bug that the last key cast message will still appear on the mode line after durand-keycase-mode has been deactivated. Now this is fixed.
2022-01-12Use the package "keycast"JSDurand
Now I can conveniently display my key-bindings in the mode line.
2022-01-12.gitignore: Hide calc.el which is generated by Calc.JSDurand
2022-01-12c-conf: add test files by a key-bindingJSDurand
Add a function to generate a skeleton test file automatically, and bind that to a key.
2022-01-10ibuffer: don't delete default passlist.JSDurand
* ibuffer.el (durand-reset-clearlist): The `durand-default-clear-passlist' should be preserved on the list.