summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-08bookmark: add types to handlers and use that for groupingJSDurand
* 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".
2023-01-08ignore multisessionJSDurand
These seem to be new to Emacs 29.
2023-01-07emacs-29 changesJSDurand
These are some changes when I migrate to emacs version 29.
2023-01-06theme + eshell: adapt to version 4.JSDurand
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.
2023-01-06rime: Stop using rime now.JSDurand
2023-01-06ibuffer: Try to re-invent the wheel of exporting buffers to ibuffer.JSDurand
2023-01-06gnus: Modify Protesilaos' related queriesJSDurand
2023-01-03ibuffer and view: bind imenu and add filtersJSDurand
* 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.
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-30modeline: adapt the face once againJSDurand
* 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.
2022-12-30basic: use ripgrep for grepJSDurand
* basic.el (xref-search-program): Use ripgrep for grep. This is supposed to be faster than the built-in grep on macOS.
2022-12-25bongo: eliminate some mysterious left fringeJSDurand
* 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.
2022-12-25theme + modeline: adapt to the update of modus-themesJSDurand
* 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.
2022-12-23basic: don't kill pdf-info buffersJSDurand
2022-12-23theme: adapt to the version 4 upgrade of modus-themesJSDurand
2022-12-23pdf: reorder the loading of some packagesJSDurand
2022-12-23modeline: replace some uses of the doom facesJSDurand
* modeline.el (modeline-format-buffer-status): Use other faces for the mode line.
2022-12-23input-conf: Some preliminary configurationsJSDurand
2022-12-23load durand-bongo.el instead of bongo.elJSDurand
2022-12-23bongo: add functions to navigate in a cyclic mannerJSDurand
* durand-bongo.el (durand-bongo-next-or-first) (durand-bongo-previous-or-last): Cyclic navigation
2022-12-23bookmark: change a bookmark for an URLJSDurand
* bookmark-conf.el: NTU cool URL change
2022-11-24desktop: silently save bookmarksJSDurand
* 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.
2022-11-24desktop: save bookmarks while saving desktopJSDurand
* desktop-conf.el (desktop-save-hook): Also save bookmarks while saving the desktop file.
2022-11-22pdf: bing image-bob and image-eobJSDurand
* 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.
2022-11-18basic: clear invisible buffersJSDurand
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".
2022-11-18bongo: safely exitingJSDurand
* durand-bongo.el (durand-bongo-stop-and-exit): Stop the subtitle related things just in case. (durand-bongo-sub-stop): Avoid setting nil.
2022-11-17basic: stop creating a scratch buffer when not demandedJSDurand
* 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.
2022-11-17bongo: Add cacheJSDurand
* 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.
2022-11-16vc: rudimentary pijul supportJSDurand
* vc-conf.el ("vc-pijul", vc-handled-backends): Add rudimentary pijul support.
2022-11-16bongo:JSDurand
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.
2022-11-16subed: some convenience settingsJSDurand
* subed-conf.el (subed-mode-map): Use normal brackets. (subed-disable-pause-while-typing): I don't want to pause while typing.
2022-11-16bongo: ReformatJSDurand
* bongo.el: * init.el: Reformat the codes in a consistent manner.
2022-11-16bongo: subtitle displayJSDurand
* bongo.el (durand-bongo-sub-tick, durand-bongo-sub-mode) (durand-bongo-sub-mode-map, durand-bongo-sub-stop) (durand-bongo-sub-prepare-file-buffer, durand-bongo-sub) (durand-bongo--mpv-socket-filter, bongo-sub-redisplay) (bongo-sub-status-string): It seems to be a working implementation of display of subtitles. But I still need to test more to see if it really works.
2022-11-15mail: fix user nameJSDurand
* mail.el (user-full-name): Fix the user full name.
2022-11-14bongo: disable cursor in the seek bufferJSDurand
* bongo.el ("durand-bongo-seek"): Disable cursor in the seek buffer, as it looks cleaner this way.
2022-11-07mail + gnus: update notmuch database as wellJSDurand
* mail.el (durand-mail-update-hook, durand-mail-update-sentinel): Add a hook to run after the update is finished. * gnus-conf.el (mu4e-index-updated-hook, durand-mail-update-hook): Let notmuch know about updated mails as well.
2022-11-07eshell: j jumps immediately with only one matchJSDurand
* eshell-conf.el (eshell-j): Previously this function does not filter the candidates according to the user-specified predicate, and presents the user with a `completing-read' that has only one candidate. I do not know why this was implemented like that, so I am trying the approach of jumping immediately when given a predicate that only matches one candidate. Let us see how this goes then.
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-11-06view: require auth-source automaticallyJSDurand
* view-conf.el (durand-view-timers-or-temps): This fixes an error encountered when I call this function before auth-source is loaded.
2022-11-06mail + gnus: Update mails without mu4eJSDurand
This is the first and maybe the last step to remove the dependency on mu4e. I can now update mails without calling a mu4e function. That is virtually the only functionality I use of mu4e since a long time. I shall have done this a long time ago, but I was too lazy to do so. ;D
2022-11-06elfeed: add a feedJSDurand
* elfeed-conf.el (elfeed-feeds): Add this week in rust feed.
2022-10-10tex: account for \right constructsJSDurand
* tex-conf.el (end-exit-paren, (open-back-paren): Modify the commands so that they treat \right as part of the parentheses.
2022-10-10keycast: Add a space after the modeline lighter.JSDurand
2022-10-01ibuffer: silence ibufferJSDurand
* ibuffer.el (durand-ibuffer): Silence the function `ibuffer'.
2022-09-22refine rust setupJSDurand
* rumu.el (rumu-mode): Don't use syntax table to determine comments. That does not work here. * rust-conf.el (rustic-lsp-setup-p): Don't use lsp.
2022-09-07bookmark and vcJSDurand
* bookmark-conf.el: Delete a `message' call that I forgot to delete after debugging. * vc-conf.el (vc-prefix-map): Bind "C-x v -" to `vc-revision-other-window', a very handy feature.
2022-09-03elfeed: cleanup and add some feedsJSDurand
* elfeed-conf.el (elfeed-feeds): Add some feeds of Rust blogs. (elfeed-search-mode-map, durand-elfeed-show-hook, elfeed-show-refresh): Enable olivetti-mode when reading elfeed entries, and tell shr to use the appropriate body width when rendering HTML content. (elfeed-display-buffer, durand-elfeed-kill-buffer): Clean something up.
2022-09-03org: exclude "11bus-en" from the sitemap.JSDurand
* org-conf.el (durand-org-publish-sitemap, durand-org-publish-sitemap-format): The article 11bus-en is an English version of the article 11bus, so the sitemap should not list the conceptually equivalent article more than once. This requires the sitemap generation to skip that article, and to delete some redundant separation markers left behind. The latter is necessary since the sitemap generator still genetates separtors for empty entries, and would mess up the format otherwise.
2022-09-03bookmark refine the automatic groupingJSDurand
* bookmark-conf.el: Refine the automatic grouping so that the file name extension "GPG" will not be picked as an automatic group name, and the last extension before GPG will be used instead. If there are no extensions before "GPG", no automatic grouping will be applied. I think this is more intuitive, as "GPG" only specifies that the file is encrytped, but does not say what the type of the file's true contents are.
2022-08-31dired: define the key for wdired after it is loaded.JSDurand
* dired-conf.el (wdired-mode-map): For some reason I was trying to define a key for wdired-mode-map before I loaded wdired.