Age | Commit message (Collapse) | Author |
|
* modeline.el (modeline-toggle): A function to toggle the display of
the mode line.
(modeline-alt-format): This is used to store the mode line so that we
can toggle back.
(global-map): Add a global binding: 'C-c T'.
|
|
* dashboard.el (dashboard-mode): A dedicated mode with convenient
access functions.
(dashboard-preload): A macro to define convenient functions easily.
|
|
* bookmark-conf.el: Add an external bookmark.
|
|
The original function for that key-binding has another associated
key-binding, so it is save to replace that one.
|
|
* eshell-conf.el (dereference-links, dired-flag): Eshell uses locally
bound variables for some reason, so we need to provide definitions
for those variables in order to avoid errors.
|
|
* eshell-conf.el (pcomplete/gv): This function will be called by
pcomplete to provide completions for the gv command, in Eshell.
(gv-complete-switches): This function provides completions for the
switches of the gv command.
(gv-complete-files): This function provides completions for source
files that are valid for the gv command.
|
|
* eshell-conf.el: Fix a typo in the documentation string of the
function eshell/dl, and add some more sections for better
structures.
|
|
* eshell-conf.el (eshell-list-files-after-cd): I used to set this
variable to call ls after cd. But I want to use my dl command now.
(eshell-directory-ls, eshell-directory-change-hook): Call "dl
--group-directories-first" after cd.
|
|
* eshell-conf.el (em-term, dir-literal, show-recursive, sort-method)
(show-all, show-almost-all, listing-style, human-readable)
(numeric-uid-gid, block-size, reverse-list, show-size, insert-func)
(flush-func, error-func): Just variables that are needed by Eshell
implementation of ls.
(eshell/l): Equivalent with calling `eshell/dl` with "-glah" in front
of arguments.
(durand-eshell-group-entries-by-directory): Obsolete function.
(durand-eshell-ls-dirs-first): A variable that controls whether to
group directories first.
(durand-eshell-ls-sort-entries, eshell-ls-sort-entries): An advice
around the original sorting function, which groups directories into a
separate list, to be sorted before the rest. This approach respects
the original sorting method, and performs no extra sorting, as opposed
to the previous approach.
|
|
* eshell-conf.el: Add an advice to `eshell-ls-sort-entries` so that
directories always come before non-directories.
|
|
* mail.el (durand-mail-update): Now if we run the update command with
the argument of `0', then it only runs the hook
`durand-mail-update-hook`, which currently contains only the
function `notmuch-poll`. This allows the user to index mails
without fetching mails, which is useful since the timer that fetches
mails in the background does not index mails, intentionally.
|
|
* eshell-conf.el (eshell/gv, eshell-gv): Now a star in the filename
will trigger the wildcard expansion. This is much more flexible and
convenient when dealing with many files.
|
|
* eshell-conf.el (eshell/gv, eshell-gv): Now we can set the directory
that contains the output directory explicitly in the command line.
It used to be hard-coded to be the root of the project. It is more
flexible now.
|
|
* view-conf.el (durand-view-timers-or-temps): Make it repeating.
(durand-open-targets): Use lower-case names so that the completion
works better.
(durand-convert-youtube-video-to-url): Return the converted YouTube
address.
|
|
* tex-conf.el (reftex-insert-label-flags): Be smarter when inserting
labels.
|
|
* init.el ("graphviz-dot-mode"): Color graphviz dot files.
|
|
* ibuffer.el (durand-bongo-set-filter): Add a section for TeX files.
(durand-export-buffers-select): Silence ibuffer when exporting.
|
|
* basic.el (Info-directory-list): It seems better to use
`eval-after-load'.
|
|
Handle compilation and removal of graphviz files easily.
* .gitignore: Ignore elpa files that appear out of thin air.
* eshell-conf.el (eshell/gv): Entry point for handling graphviz files.
(vc): Use vc to find the project root.
(eshell-gv): The internal function to handle graphviz files.
|
|
* 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.
|
|
* bookmark-conf.el ("durand"): Use types of bookmark handlers as group
headings.
(pdf-view-bookmark-jump-handler): Give it the type "PDF".
(durand-external-jump): Give it the type "External".
* eww-conf.el: Give the handler for EWW the type "EWW".
|
|
These seem to be new to Emacs 29.
|
|
These are some changes when I migrate to emacs version 29.
|
|
theme.el: Modus-themes now uses a great system for customising
faces, and this change in configuration adapts to that update.
eshell-conf.el: Besides adapting to the new Modus-themes, also
add some visual commands for better display.
|
|
|
|
|
|
|
|
* ibuffer.el (durand-bongo-set-filter): Add filters for Eshell and Org
buffers.
* view-conf.el (durand-view-map): Bind imenu to "i" in the view-map.
|
|
* 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.
|
|
* modeline.el (modeline-dashboard-format-right, durand-major-global-mode)
(modeline-format-major-mode): Tried some tricks, but I still use a
white color in the end.
|
|
* basic.el (xref-search-program): Use ripgrep for grep. This is
supposed to be faster than the built-in grep on macOS.
|
|
* durand-bongo.el (durand-bongo-set-fringe, bongo-playlist-mode-hook):
This left fringe of width 40 just appears out of thin air, so I
eliminate it in this function call, hooked into bongo-playlist-mode.
|
|
* modeline.el: Basically adjust colors to fit the new theme.
* theme.el (modus-themes-headings): Make the headings ultra-bold.
(modus-themes-after-load-theme-hook, durand-custom-face): To change
the mode-line face via a hook.
(modus-vivendi-tinted, modus-vivendi): I use the un-tinted version
now.
|
|
|
|
|
|
|
|
* modeline.el (modeline-format-buffer-status): Use other faces for
the mode line.
|
|
|
|
|
|
* durand-bongo.el (durand-bongo-next-or-first)
(durand-bongo-previous-or-last): Cyclic navigation
|
|
* bookmark-conf.el: NTU cool URL change
|
|
* desktop-conf.el (desktop-save-hook, durand-bookmark-save): Do not
display messages emitted by `bookmark-save' automatically, but log
them to the *Messages* buffer.
|
|
* desktop-conf.el (desktop-save-hook): Also save bookmarks while
saving the desktop file.
|
|
* pdf.el (pdf-view-mode-map): I updated the pdf-tools package. For
some reason the new version does not bind `image-bob' and
`image-eob' to '<' and '>' respectively by default, so I bind it
here.
|
|
One day I found that my Emacs had accumulated a bunch of invisible
buffers. So I want to make sure I have a convenient way to clean up
invisible buffers easily, once the need arises.
* basic.el (durand-invisible-buffer-unsafe-regex): A regular
expression that matches some buffers that are not to be killed
automatically.
(durand-clear-invisible-buffers): Kill invisible buffers that are not
important.
(global-map): Bind the function to "C-c k".
|
|
* durand-bongo.el (durand-bongo-stop-and-exit): Stop the subtitle
related things just in case.
(durand-bongo-sub-stop): Avoid setting nil.
|
|
* basic.el (durand-read-buffer-to-switch, #'read-buffer-to-switch):
The default behaviour of read-buffer-to-switch creates a scratch
buffer, if there is no other good buffer to switch to. But this is
not what I demand, and is oft a surprise to me. If there is no
other buffer to switch to, just present me with the current buffer.
The modified version does just this.
|
|
* 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.
|
|
* vc-conf.el ("vc-pijul", vc-handled-backends): Add rudimentary pijul
support.
|
|
Rename to durand-bongo.el.
Also attempt to edit subtitles by use of Bongo. But currently I think
I am better served by subed.el.
|