Age | Commit message (Collapse) | Author |
|
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.
|
|
* subed-conf.el (subed-mode-map): Use normal brackets.
(subed-disable-pause-while-typing): I don't want to pause while
typing.
|
|
* bongo.el:
* init.el: Reformat the codes in a consistent manner.
|
|
* 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.
|
|
* mail.el (user-full-name): Fix the user full name.
|
|
* bongo.el ("durand-bongo-seek"): Disable cursor in the seek buffer,
as it looks cleaner this way.
|
|
* 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.
|
|
* 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.
|
|
Now I don't use mu4e anymore, so this just removes all those related
settings.
|
|
* view-conf.el (durand-view-timers-or-temps): This fixes an error
encountered when I call this function before auth-source is loaded.
|
|
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
|
|
* elfeed-conf.el (elfeed-feeds): Add this week in rust feed.
|
|
* tex-conf.el (end-exit-paren, (open-back-paren): Modify the commands
so that they treat \right as part of the parentheses.
|
|
|
|
* ibuffer.el (durand-ibuffer): Silence the function `ibuffer'.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* dired-conf.el (wdired-mode-map): For some reason I was trying to
define a key for wdired-mode-map before I loaded wdired.
|
|
|
|
* gnus-conf.el (durand-gnus-file-name-to-article-number)
(durand-gnus-notmuch-query): I used to store gmail mails on my
computer, but I don't do that anymore, as I cannot figure out how to
send mails using gmail and Emacs. So I just use the web interface
if I really need to use the gmail account. I have to reflect this
change in the gnus set up, otherwise gnus will try to view some
non-existent mails.
|
|
* org-conf.el (org-html-mathjax-template): The original template does
not conform to XHTML strict 1.0, so I modify it to fit in the
specification. Specifically, I added the type attribute to a script
element.
|
|
* org-conf.el (durand-org-postamble): Previously I always use the date
and time at the moment of exporting the document as the document's
creation time. While technically correct, this is not what the
reader wants to know. So I figured out how to obtain the correct
date and time information in the postamble function.
|
|
* org-conf.el (durand-org-postamble, durand-org-publish-html-advice):
Previously I used a new postamble, which caused one previous
function to fail to find a certain date information. Now the new
postamble uses the expected words to serve as an anchor.
In addition, Org adds an attribute "role=\"doc-toc\"" to the table
of contents, but this attribute is not allowed for div elements in
XHTML 1.0 strict. So I remove that attribute now.
|
|
* org-conf.el (durand-org-postamble, org-publish-project-alist): Use a
custom function to generate the postamble. This enables me to
insert a copyleft claim, and to customize the date / time format a
little.
|
|
* org-conf.el (durand-org-post-process,
durand-org-publish-html-advice): After replacing each "<style>" with
"<style type=\"text/css\">" I can finally say that my blogs all
conform to XHTML 1.0 Strict now, as can be seen by following the
"validate" buttons on the blogs.
Quite happy. :D
|
|
* eww-conf.el: ("elpher", eww-open-elpher, #'eww-browse-url, #'eww):
Add integration with Elpher. So far it seems nice.
|
|
* basic.el (durand-kill-current-buffer): Modify this funcion so that
the associated timers to PDF files are also killed at the time of
deletion.
|
|
|
|
I keep pressing return to finish editing, so I just add this
functionality instead of trying to hit C-c twice. I am lazy. ;P
|
|
* gnus-conf.el (gnus-secondary-select-methods): Delete gmail.
* mail.el: Delete gmail.
(durand-fix-quotation): Fix the quotation style.
|
|
* bookmark-conf.el (durand-bookmark-write-file, bookmark-write-file):
Just as the title says.
|
|
* wifi-bluetooth-conf.el (durand-wifi-ssid-machine-alist): More
configurations to remember.
|
|
|
|
* csharp.el: ("csharp-mode"): Syntax-highlighting for C-sharp files.
* view-conf.el: Bind 'v' to `View-scroll-page-forward' in
`view-mode-map'.
|
|
* dired-conf.el (dired-garbage-files-regexp): Match some file
extensions which represent files that I do not need to keep around.
|
|
* bongo.el ("durand-bongo-search-insert"): Search and insert a song in
the playlist buffer.
I might try to make a multiple-choices version in the future.
|
|
* rust-conf.el (eglot-mode-map): Bind
eglot-code-action-organize-imports to C-c C-o instead of C-c o.
|
|
* bongo.el (durand-view-map): Bind volume to V in durand-view-map.
Now I can press C-c v V to tweak the volume.
|
|
|
|
* tex-conf.el (durand-tex-do-all): Do everything I want.
(LaTeX-mode-map): Bind to 'C-c t'.
|
|
Add a package which comes from one of my little experiments.
|
|
|