summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-31modeline: Add a simplified format for GNUS.HEADmasterJSDurand
* modeline.el (modeline-format-gnus, modeline-gnus-format-left): A format for GNUS that does not display some unnecessary information.
2024-07-31mail: Only update mails automatically when GNUS is on.JSDurand
* mail.el (durand-mail-update): Only update mails automatically when GNUS is on. Sometimes I want to carry the computer to some place without internet, in which case I do not really want to update mails. With this change, I can simply turn off GNUS to stop automatically updating mails, without cancelling the timer, which is quite convenient in my opinion.
2024-06-05mail: Modify update-message.JSDurand
* mail.el (durand-mail-update): Tell the user that the update messages come from fetching mails.
2024-06-05dashboard: Add entry point for reading novels.JSDurand
2024-05-23mail: Notify when there is no internet connection.JSDurand
* mail.el (durand-mail-update): When there is no internet connection and the command tries to launch a new connection, inform the user about the lack of internet connection, so that the user can take some action as needed.
2024-05-21Do not try to update mails without internet connection.JSDurand
* mail.el (#'durand-internet-on): This is defined in basic.el. (durand-mail-update): Do not try to update mails without internet connection.
2024-05-21basic: Add a function to test internet connection.JSDurand
2024-05-10mail: Do not creating multiple processesJSDurand
* mail.el (durand-mail-update): If there is already a process that is fetching mails, we should not create more processes to do the same thing.
2024-04-15org: Use the new favicon for the generated website.JSDurand
* org-conf.el (durand-org-publish-favicon): Use the new favicon for the generated website.
2024-04-15modeline: `modeline-right-offset`JSDurand
* modeline.el (modeline-right-offset): Add a variable to control the right padding in the mode line. (modeline-format-main, modeline-format-dashboard): Use the above variable to leave a small space at the right-hand side.
2024-04-15ibuffer: modify the clear functionJSDurand
* ibuffer.el (durand-ibuffer-clear): Put the cursor at the correct position in the dashboard buffer.
2024-04-15dashboard: refinementsJSDurand
* dashboard.el (dashboard): Put the cursor at the start of the buffer. (dashboard-mode): Use a dedicated `mode-line-format`.
2024-03-12dashboard: Always display the ASCII-art of the pictureJSDurand
I find it more pleasing than my hand-writing, haha.
2024-03-12dashboard: change pictureJSDurand
* 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.
2024-03-12Add a new picture of my hand-writtingJSDurand
This is for use in the dashbaord. :D
2024-03-10modeline: correct alignmentJSDurand
* 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.
2024-03-09bookmark: precise precisionJSDurand
* bookmark-conf.el (ilist-pixel-precision): This should have the value of `precise`. I forgot to do so previously.
2024-03-09view: Adjust the buffer for listing processesJSDurand
* 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.
2024-03-04dashboard: refactorJSDurand
* 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.
2024-03-04dashboard: center the image correctlyJSDurand
* 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.
2024-03-02view: focus on mail timer in timer-listJSDurand
* 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.
2024-03-01tab: add an aliasJSDurand
* 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.
2024-03-01bookmark: new group पक्षJSDurand
This group is reserved for thèse-related bookmarks.
2024-02-24basic: Move pdf cleanups to `kill-buffer-hook`JSDurand
* 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.
2024-02-23bookmark: add dired groupJSDurand
2024-02-23dashboard: bind three keysJSDurand
* dashboard.el (dashboard-mode-map): Bind the following for the sake of convenience. - f: find-file - F: find-file-other-tab - h: durand-ibuffer
2024-02-23gnus: do not check news groupsJSDurand
2024-02-22view: Update documentation of durand-view-timers-or-tempsJSDurand
* view-conf.el (durand-view-timers-or-temps): The function was updated without updating its documentation. Now the documentation is updated as well.
2024-02-22view: minor refactoringJSDurand
2024-02-22text: Use pixel width for centeringJSDurand
* 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.
2024-02-22bookmark: enable pixel-perfect precisionJSDurand
* bookmark-conf.el (ilist-pixel-precision): This is a new feature of my package that aligns the bookmark columns perfectly.
2024-02-12common: Avoid manual byte codesJSDurand
* 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.
2024-02-12dashboard: wrong key last timeJSDurand
I bound to the wrong key the last time.
2024-02-11tab-conf: Add a command to help inspect tabs.JSDurand
* tab-conf.el (tab-prefix-map): Bind it to 'c' in the prefix map. (durand-tab-list): Count the tabs and list them all.
2024-02-11bookmark-conf: add a new groupJSDurand
* bookmark-conf.el ("bodhicaryAvatAra"): Add a group for bookmarks related to my reading of the great work "बोधिचर्यावतारः".
2024-02-10dashboard: let-bind for shorter linesJSDurand
* dashboard.el (dashboard-mode-map): Bind it to a short name so that the calls to `define-key` can fit in one line.
2023-12-13eshell: a custom fs command, but not needed.JSDurand
* eshell-conf.el: A custom `fs` command was added and then commented as that is not really needed.
2023-12-13account: Add misc purpose and chart exporting option.JSDurand
* 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.
2023-12-13TeX: Refined handling of bracesJSDurand
* 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.
2023-12-13input: Set the default input method to devanagari KH.JSDurand
* input-conf.el (default-input-method): Use the Kyoto-Harvard transliteration scheme as the default input method.
2023-12-13EWW: Use xwidgets in SHR.JSDurand
2023-12-13dashboard: प्रदेशस्संस्कृतम्JSDurand
* dashboard.el (dont-kill-dashboard-fn): I prefer to display sanskrit here.
2023-12-13bookmark: jump to bookmark in a new tabJSDurand
* bookmark-conf.el (durand-jump-bookmark-new-tab, tab-prefix-map): Jump to bookmark in a new tab.
2023-09-06account: modify svg and move all-cost to the frontJSDurand
* 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.
2023-08-31rust-conf: use the built-in eglotJSDurand
* 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.
2023-08-31account: filtering and adding a payment method optionJSDurand
* 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.
2023-08-31org: move account loading to the right placeJSDurand
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.
2023-08-29battery: Set limit to 59JSDurand
* battery-conf.el (battery-mode-line-limit): I think this limit better fits the usage now.
2023-08-24account: add two purposesJSDurand
* account.el (account-purposes-list): Two purposes "book" and "transportation" were missed.
2023-08-24account: erase buffer before inserting imageJSDurand
* 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.