Age | Commit message (Collapse) | Author |
|
I find it more pleasing than my hand-writing, haha.
|
|
* dashboard.el (dashboard-cat-text, dashboard, dashboard-mode)
(dont-kill-dashboard-fn): Now the dashboard displays a picture of the
मन्त्र of bodhicitta, as well as the mantra in six syllables in
devanagari. I am quite pleased by this change.
|
|
This is for use in the dashbaord. :D
|
|
* modeline.el (modeline-format-main, modeline-format-dashboard)
(modeline-dashboard-format-left, modeline-dashboard-format-right)
(modeline-truncate, modeline-format-buffer-name,
modeline-format-vc-mode): Now the mode line catches up with the trend
of using string-pixel-width to measure and correctly align strings.
Now the mode line will have pixel-level precision of alignment, which
is pretty good I guess.
|
|
* bookmark-conf.el (ilist-pixel-precision): This should have the value
of `precise`. I forgot to do so previously.
|
|
* view-conf.el (durand-view-process): Fit the window to buffer with a
maximal height of 0.3 * total height, so that this buffer does not
disturb the main view.
|
|
* dashboard.el (dashboard-center-string): Now use a dedicated function
for the purpose of centering strings. This was originally done by
the function `center-string-in-width` in text-conf, but that
function behaved weirdly for some reason.
(dashboard): Adapt the function for correct centering effect.
|
|
* dashboard.el (dashboard): My dashboard has an image at the center of
the buffer. Since I now know how to center the image at the center
with pixel-level precision, this is updated.
|
|
* view-conf.el (durand-view-timers-or-temps): If this command calls
timer-list, I want to place the cursor on the line showing my timer
for fetching mails, if there is such a line.
|
|
* tab-conf.el (tab-prefix-map): Bind 'à' to the same function as that
of '0', so that it is easier to type on a keyboard with French
layout.
|
|
This group is reserved for thèse-related bookmarks.
|
|
* basic.el (durand-kill-current-buffer): This function used to perform
some clean-ups of the timers set by `pdf-view-mode` that were not
cleaned properly by the mode itself. Now this function does not
perform these cleanups, as this is not the right place for that
task.
(kill-buffer-hook): This hook is designed to perform some clean-ups,
so the pdf-timer-clean-ups are moved to this hook now.
|
|
|
|
* dashboard.el (dashboard-mode-map): Bind the following for the sake
of convenience.
- f: find-file
- F: find-file-other-tab
- h: durand-ibuffer
|
|
|
|
* view-conf.el (durand-view-timers-or-temps): The function was updated
without updating its documentation. Now the documentation is
updated as well.
|
|
|
|
* text-conf.el (center-string-in-width, make-block): Use the function
`string-pixel-width` to calculate the correct widths of strings, in
centering the strings.
|
|
* bookmark-conf.el (ilist-pixel-precision): This is a new feature of
my package that aligns the bookmark columns perfectly.
|
|
* common.el (durand-display-in-one-window): I defined the function by
use of manual byte codes, which is not a good idea: Emacs can very
well change the meanings of the byte codes without announcements,
and then I would have to change the code anyways.
|
|
I bound to the wrong key the last time.
|
|
* tab-conf.el (tab-prefix-map): Bind it to 'c' in the prefix map.
(durand-tab-list): Count the tabs and list them all.
|
|
* bookmark-conf.el ("bodhicaryAvatAra"): Add a group for bookmarks
related to my reading of the great work "बोधिचर्यावतारः".
|
|
* dashboard.el (dashboard-mode-map): Bind it to a short name so that
the calls to `define-key` can fit in one line.
|
|
* eshell-conf.el: A custom `fs` command was added and then commented
as that is not really needed.
|
|
* account.el (account-purposes-list): Add misc purpose
(account-agenda-export-to-chart): This function uses the built-in
chart library for exporting to charts. I still prefer the svg
display, though.
|
|
* tex-conf.el (end-exit-paren, open-back-paren): Refined handling of
right angled brackets.
(durand-o-things-list, durand-insert-o-things): Take right angled
brackets into consideration.
|
|
* input-conf.el (default-input-method): Use the Kyoto-Harvard
transliteration scheme as the default input method.
|
|
|
|
* dashboard.el (dont-kill-dashboard-fn): I prefer to display sanskrit
here.
|
|
* bookmark-conf.el (durand-jump-bookmark-new-tab, tab-prefix-map):
Jump to bookmark in a new tab.
|
|
* account.el (account-agenda-command, account-agenda-shop-command):
Display the sum of all costs at the beginning instead of at the end.
This is more convenient.
(account-agenda-export-to-svg): Fix the widths of blocks of each day
in the output SVG to be 150, and the total width of the image will
depend on the number of days to display. This is necessary if I
want to put text under the blocks.
|
|
* rust-conf.el ("eglot"): The package eglot is built-in since Emacs
29, so I can use that package without downloading the source codes
of that package now.
|
|
* account.el (account-capture-content): Add an option for the payment
methods.
(org-capture): This is required so that the capture templates
variable is available.
(account-collect-into-vec, account-agenda-command)
(account-match-item, account-agenda-add-filter)
(account-agenda-match, account-agenda-remove-filter)
(account-mode-map): Add the functionality of filtering. Now the
user can filter items based on some properties, like the payment
method, the purpose, or the shop name, et cetera.
|
|
The file "account.el" appends to the `org-agenda-custom-commands` and
org-capture-templates, whereas the codes in "org-conf.el" sets the
above two variables, so the file "account.el" needs to be loaded after
the variables are set.
|
|
* battery-conf.el (battery-mode-line-limit): I think this limit better
fits the usage now.
|
|
* account.el (account-purposes-list): Two purposes "book" and
"transportation" were missed.
|
|
* account.el (account-agenda-export-to-svg): Previously I did not
erase the buffer before displaying the image. This means if the
image buffer was already used, the function would fail to insert the
image again. Now this is fixed.
|
|
* account.el (account-agenda-shop-command): This command lists
expenses grouped by shop names. It is sometimes useful to know the
shops I spent the most in.
(org-agenda-custom-commands): Adjust the agenda command accordingly.
|
|
* dashboard.el (dashboard-mode-map): Now I want to capture my account
information regularly, so it is useful to have a convenient binding.
|
|
* account.el (account-agenda-export-to-svg): The original exported SVG
image did not specify the background color. Then the browser
displays the image with a white background, but Emacs regards the
background of the image as transparent. Since I use a dark
background color in Emacs, the displayed image did not look right.
So I add a white circle with large radius in the background to force
the background color to be white, and it now looks a lot better.
|
|
* org-conf.el: Require ox-texinfo, and delete the parts about
accounts. Those configurations are outdated now, and the new
configurations are now in the new file "account.el".
* account.el: Configurations for capturing and reviewing account
information.
|
|
It is a package that I once used. Since I do not want to use that
package now, I comment out its preparatory forms.
|
|
* vterm-conf.el (btm): After I set up the custom layouts, no more
command line arguments are needed.
|
|
I wonder why I did not bind this earlier.
|
|
* vterm-conf.el (btm): This convenient function runs the command
"btm --battery -m" in a vterm buffer. This is my main usage for
vterm, so it is worth a dedicated function in my opinion.
|
|
* init.el (durand-maybe-enable-outline): Previously when we enable
outline-minor-mode for the first time, it would not be turned on.
Now this is fixed. And the same thing for vterm.
|
|
* text-conf.el (make-center-block): Make a "centered" block
surrounding the selected region or line. This seems similar to the
so-called source blocks in "Org-mode" , at least in my eyes.
(find-max-nonblank-len-in-region): A helper function to calculate
the maximal length of non-blank lines within a region. Here the
length refers to the length of the non-blank portions of the lines.
|
|
I find vterm very useful when combined with the command 'btm'. I can
use this combination to monitor many computer states conveniently,
which I did not find a way to accomplish with the built-in terminal
emulator 'term' in Emacs.
* init.el (vterm): Load vterm if necessary.
* vterm-conf.el: Thin configurations.
|
|
* modeline.el: (modeline-get-active-window, modeline-active-window,
modeline-active-window-p, modeline-set-active-window,
modeline-unset-active-window, modeline-refresh-modeline,
window-configuration-change-hook, buffer-list-update-hook,
after-make-frame-functions, delete-frame-functions,
handle-switch-frame): Emacs 29 adds a convenient function
`mode-line-window-selected-p` that makes my old manual implementation
here obsolete now.
|