summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
36 hoursdurand-align: Pixel-level centering.JSDurand
* durand-align.el (durand-center, durand-cancel-center, durand-align): Experimental for the time being.
36 hoursTeX: Add one more type of brackets to the shortcuts.JSDurand
* tex-conf.el (durand-o-things-list): Add one more bracket type to this list of short-cuts.
36 hoursinput: Convenient toggling between frequently used methods.JSDurand
* input-conf.el (durand-input-method-list): This is a list of my frequently used input methods. (durand-toggle-input): A function to choose amongst the above list of input methods. This function reads a method in the "headlong" manner, so that oft one only needs to press a letter to select an input method, making it behave sort of like a more flexible keymap. (global-map): Replace the binding of the function `toggle-input-method` by the above function.
2025-01-01count: Apply checkdoc suggestions.JSDurand
Documentation styles and error message conventions.
2025-01-01count: make value buffer-local, font-changing commands.JSDurand
* count.el (count-mode-value): Make this variable buffer-local, so that we can have different buffers count different values. (counting-font-step): Add a variable that controls the font-size scaling factor within the counting buffers. I shall consider if I need to make this variable buffer-local as well. (count-mode, count-refresh): Refactor some logic into the function `count-refresh`. (count-mode-map): Add bindings for font-size changing commands. (count-make-pad-string): Account for the font-size scaling variable in the calculation of the size of the numbers to be centered. (count-enlarge, count-shrink): Commands for changing the font-scaling variable, so as to achieve the effect of enlarging and shrinking the texts within the counting buffers.
2024-12-31count: Easy counting mode.JSDurand
Add an easr counting mode for my counting purposes.
2024-10-20org: A new template for electric billsJSDurand
* org-conf.el (org-capture-templates): Add a new template for quickly recording the electric bills.
2024-10-20modeline: Use the variable `mode-name` to display major-modeJSDurand
I do not know why I used the escaped string "%m" for this purpose.
2024-07-31modeline: Add a simplified format for GNUS.JSDurand
* 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.