aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/lisp/my/my-buffer.el
Commit message (Collapse)AuthorAgeFilesLines
* [emacs] Add org narrow or widen to focus writeYuchen Pei2024-11-031-5/+17
|
* [emacs] Some changes from the past monthsYuchen Pei2024-10-111-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * emacs/.emacs.d/init/ycp-complete.el: comment why corfu does not work well with gud * emacs/.emacs.d/init/ycp-editing.el: bind my-write-file to C-x C-w; change viper-syntax-preference to 'extended * emacs/.emacs.d/init/ycp-org.el: comment on tab-width * emacs/.emacs.d/lisp/my/my-buffer.el: add a function `my-save-text-and-switch-to-buffer' that Save TEXT to FILE-NAME and switch to the buffer * emacs/.emacs.d/lisp/my/my-editing.el: renamed a function; and override `viper-forward-word-kernel' and `viper-backward-word-kernel' (why?); add function `my-write-file', which is the same as `write-file', but keep the old buffer and remain there. * emacs/.emacs.d/lisp/my/my-mariadb.el: remove sleep in `my-gdb-maria-spider'; add a function to fetch source of a mariadb kb entry * emacs/.emacs.d/lisp/my/my-net.el: extract out local I/O and buffer logic from `my-fetch-url-save-and-switch' to `my-save-text-and-switch-to-buffer'. * emacs/.emacs.d/lisp/my/my-org-jira.el: fix formatting of `my-org-jira--render-issue', and add affected-versions, fix-versions and related-issues for rendering * emacs/.emacs.d/lisp/my/my-prog.el: ensure indent-tabs-mode is by default nil in prog-modes, to protect from c-style-alist overriding * mariadb-server/.dir-locals.el: Moved from sql/.dir-locals.el
* [emacs] Some minor fixesYuchen Pei2023-10-181-2/+2
| | | | | | gnus: prefers plaintext my-buffer: fixes a bug my-org: fixing a local var
* [emacs] Switch shell buffers by prompt tooYuchen Pei2023-10-141-19/+15
|
* [emacs] Fix notes and shell cycle and creation.Yuchen Pei2023-10-141-15/+21
| | | | | One function to switch or cycle default notes indirect buffers. One to switch or cycle shell mode buffers.
* A few changesYuchen Pei2023-09-051-0/+10
| | | | | | | | | | | | - add dedicate-windows-by-modes as window-configuration-change-hook, but it did not work well when used on gnus-summary-mode - copying gnus article regions also copies links, which are appended at the end of the copy as footnote - overload org-id-store-link so that capturing today's work could include the item priority - org should open a gnus link in other-window - fixing my-org-clean-up-entry so that it deletes trailing empty lines - added a silly utility function to clean a red energy bill pay link
* Moving some github related functions to my-githubYuchen Pei2023-08-121-3/+2
| | | | also some minor changes in ycp-org and my-buffer
* some minor changesYuchen Pei2023-07-051-0/+3
|
* minor changeYuchen Pei2023-07-041-1/+2
|
* Adapted more configs from other emacs configsYuchen Pei2023-06-261-2/+0
| | | | Including wasamasa and jwiegley
* Enhancements for org and elispYuchen Pei2023-06-241-0/+1
| | | | | | - org: adding an :after advice to org-insert-structure-template so that it goes into editing immediately - elisp: C-M-x evals a region when region is active
* Some small fixesYuchen Pei2023-06-201-1/+1
| | | | | | | | - bbdb: integration with gnus and message - disable tree-sitter for c-mode - my-buffer-quick-major-mode: switch rather than pop to buffer - rofi config: comment timeout and filebrowser due to issues with lower versions
* Moving things one level deeperYuchen Pei2023-06-171-0/+448
To ease gnu stow usage. Now we can do stow -t ~ emacs