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):
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* init.el (mouse-avoidance-mode): Let's play the cat-and-mouse game,
because why not.
|
|
* ibuffer.el (durand-reset-clearlist): Add option to show the clear
pass list.
|
|
|
|
|
|
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
Now I can conveniently display my key-bindings in the mode line.
|
|
|
|
Add a function to generate a skeleton test file automatically, and
bind that to a key.
|
|
* ibuffer.el (durand-reset-clearlist): The
`durand-default-clear-passlist' should be preserved on the list.
|
|
This change is necessary as yt-dlp uses a different format for the
output files than youtube-dl.
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
|
|
Adapt to use an automatic filter group.
|
|
* elisp.el (elisp-macro-expand): Refine the doc string.
(elisp-update-load-path, emacs-lisp-mode-hook): Help flymake use the
correct load-path.
|
|
* gnus-conf.el (durand-gnus-notmuch-query-history): A dedicated
history variable is better than some buttons, I guess.
(durand-gnus-notmuch-query, gnus-group-mode-map): Bind to a key for
easy interactive uses.
|
|
* mail.el (durand-quote-messag): Add a command to conveniently quote
mails, and store in the kill-ring. And bind it to various modes where
this might be used.
|
|
|
|
|
|
* 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.
|
|
This commit mostly cleans up the formats.
|
|
|
|
|
|
|
|
* gnus-conf.el (mml-secure-openpgp-encrypt-to-self): Encrypt to
myself.
(gnus-ignored-from-addresses): New mail address.
(gnus-parameters): Random change.
(durand-identities, durand-choose-identity, message-mode-map): I have
multiple identities now, so it is important to choose the correct
identity to use.
|
|
* gnus-conf.el (gnus-secondary-select-methods): Add mailboxes
corresponding to the new server.
(smtpmail-smtp-user): Just a random change.
(durand-smtp-servers): The association list of my servers.
(durand-set-smtp-server-message-send-and-exit): Set the server
automagically.
(message-mode-map): Bind C-c C-c to the magic command.
* mail.el (mu4e-get-mail-command): Specify exactly what channels
should be updated by a call to mbsync, just to be more precise and
pedantic.
|
|
* mail.el (message-mode-hook): set fill-column to 70, and set the smtp
user name correctly, so that Emacs can find my password.
|
|
* text-conf.el (correct-length): Obsolete now.
(center-string-in-width): Use string-width.
(durand-elide-region, text-mode-map): New command to elide a region of
texts.
|
|
* ibuffer.el (protect): A custom column.
(ibuffer-formats): Add the newly defined column to the list of
formats.
|
|
* modeline.el (modeline-format-main): Using string-width to calculate
the widths of strings is more accurate than my previous hand-made
function.
(modeline-length): This is no longer needed and now marked as
obsolete. It is not deleted entirely since per chance some other
places are still using it.
(modeline-format-minor-modes, modeline-format-buffer-name): Use
truncate-string-to-width instead.
|
|
* ibuffer.el (durand-reset-clearlist): Reset or remove killed buffers
from the clear list.
|
|
* ibuffer.el (durand-default-clear-passlist, durand-clear-passlist):
Add a default value variable.
(durand-reset-clearlist): Add a function to reset since we are
starting to manipulate this variable.
(durand-born-equal): Buffer-OR-Name equal.
(durand-ibuffer-clear): Make sure the dashboard buffer is correctly
recentered, even if it is not displayed right after the clearing
operation.
(durand-ibuffer-reset-marks): Reset the mark of the current line if
this mark is added "automagically" by the macro which defines an
ibuffer operation.
(durand-ibuffer-restore-mark-before-advice): Check if there are no
marks before the operation. In this case a mark will be
"automagically" added, and we need to remove that mark later.
(ibuffer-do-protect): Protect marked buffers so that they will not
be cleared automatically.
(ibuffer-do-unprotect): Unprotect the buffers so we can clear them
quickly again.
(ibuffer-mode-map): Bind the operations.
(durand-directory): Modify this filter so that it works correctly.
|
|
|