Commit graph

691 commits

Author SHA1 Message Date
Jason TIAN
8bd115c9a0 Add display time in mode line 2023-09-16 18:46:52 +08:00
Jason TIAN
2576788254 Add my/kill-buffers-by-pattern function to utils.el
This commit adds the my/kill-buffers-by-pattern function to utils.el. Th
is function allows the user to kill buffers whose names match a
specifie
d pattern. The function prompts the user for a pattern, searches
through
all buffers, and kills the buffers whose names match the pattern. The
p
attern is a regular expression that is compared against buffer names
usi
ng 'string-match-p'.
2023-09-16 18:29:05 +08:00
Jason TIAN
79dc8f01a7 Add function to copy current buffer to another buffer
This commit adds a new function `my/copy-current-buffer-to-another-buffe
r` that allows the user to copy the content of the current buffer to
ano
ther buffer. If the target buffer does not exist, it will be created.
If
the target buffer exists, the content will be appended.

Version: 2023-08-31
2023-09-16 18:26:56 +08:00
d283298d91 fix: void variable issue 2023-09-15 19:48:23 +08:00
200e709bed chore: use br to bind to ibuffer 2023-09-15 09:55:02 +08:00
009d1d553f formatted 2023-09-09 19:02:59 +08:00
Jason TIAN
a342f0151b fix: void-function set-fontset-font issue on GitHub Actions. please #build 2023-09-09 13:43:38 +08:00
Jason TIAN
62f6a67ed5 Add org-log-into-drawer option 2023-09-06 23:41:13 +08:00
Jason TIAN
b1f501f000 Refactor current time calculation in timer utils 2023-09-05 22:48:54 +08:00
e89b4153e7 fix task symbol name issue 2023-09-05 18:59:08 +08:00
446df787a6 fix: void variable 2023-09-05 18:54:04 +08:00
0df04a24c7 updated my-schedule-task-every-day 2023-09-05 18:44:40 +08:00
80df2d987d updated and fix my-schedule-task-at-specific-min-between-hour 2023-09-05 15:44:56 +08:00
03846ad9d6 formatted and remove a ) from the end 2023-09-05 12:17:55 +08:00
Jason TIAN
de523e5e07 update variable names in comments of init-timer-utils.el 2023-09-05 08:28:26 +08:00
Jason TIAN
67605efb08 Refactor task scheduling logic and add current time check 2023-09-04 22:27:52 +08:00
95966ace0a add my-schedule-task-at-specific-min-between-hour 2023-09-04 17:34:19 +08:00
Jason TIAN
36f8e00171 Add VeraCrypt/TrueCrypt settings 2023-08-31 09:17:22 +08:00
Jason TIAN
0e0ac08270 Add timer utils, GPG and UUID settings 2023-08-30 23:21:28 +08:00
Jason TIAN
102201f283 Add init-messages and init-dict files
The commit adds the init-messages.el and init-dict.el files to the repos
itory. These files contain settings and functions related to the
*Messag
es* buffer and dictionary lookup functionality.
2023-08-30 21:56:56 +08:00
c0dba97f21 add my/sync-tags-table-list 2023-08-30 14:11:47 +08:00
652ebbe53e chore: delete-trailing-whitespace, and minor update on comments 2023-08-30 09:09:06 +08:00
Jason TIAN
f15eae7912 updated comment 2023-08-30 02:17:26 +08:00
Jason TIAN
b255ed7d4b moved functions from misc to utils 2023-08-30 02:11:52 +08:00
Jason TIAN
ed6ee59ac8 add my/generate-current-time-string 2023-08-30 01:56:27 +08:00
Jason TIAN
f98ff66754 move init-utils.el configuration 2023-08-30 01:50:24 +08:00
Jason TIAN
e979c59662 Add function for executing async shell command with unique buffer name 2023-08-30 00:55:57 +08:00
844fe445fe update my/create-TAGS to check if process already running... 2023-08-29 23:03:34 +08:00
a8ab9dbdec re-enabled the emoji set-fontset-font config 2023-08-29 17:32:25 +08:00
4621d64cec updated and verified my/find-tags-file 2023-08-24 11:59:40 +08:00
Jason TIAN
92c34d9d85 Refactor my/find-tags-file function to use a variable for the tags file name
The changes in this commit refactor the my/find-tags-file function to us
e a variable for the tags file name instead of hardcoding it. This
allow
s for more flexibility and easier customization.
2023-08-24 08:24:45 +08:00
Jason TIAN
46646ebcf7 Refactor my/find-tags-file function and add optional arguments
This commit refactors the my/find-tags-file function in init-misc.el to
include two optional arguments: ask and tag-file-name. It also adds a
TO
DO comment for testing purposes. The function now recursively searches
e
ach parent directory for a file named TAGS or the specified
tag-file-nam
e. If the file is found, it returns the file path. If the buffer is
not
visiting a file or the file is not found, it returns nil.
2023-08-23 23:35:50 +08:00
Jason TIAN
e8dafdeacd Added message after start-process-shell-command in init-misc.el 2023-08-23 20:07:19 +08:00
41fbe857f5 closed TODO and updated comments 2023-08-20 10:50:22 +08:00
3104fa845d Merge branch 'master' of https://github.com/jsntn/emacs.d 2023-08-20 10:37:19 +08:00
5f3103e950 fix: ctags append option 2023-08-20 10:36:55 +08:00
Jason TIAN
7526959fd2 Merge branch 'master' of git@github.com:jsntn/emacs.d.git 2023-08-20 01:09:28 +08:00
Jason TIAN
ba8225b345 Refactor my-tags-file function to allow passing a tags-file argument 2023-08-20 01:08:41 +08:00
2cdd54365b delete trailing whitespace 2023-08-19 09:49:15 +08:00
Jason TIAN
c20a7cbe84 Refactor my/create-TAGS function and fix append option
The changes in this commit refactor the `my/create-TAGS` function and fi
x the append option. The function now appends the tags to the existing
f
ile when the `append` argument is provided. This change ensures that
the
function works as intended.
2023-08-18 23:39:44 +08:00
Jason TIAN
23190fb58c chore: paths -> symbols 2023-08-18 23:31:50 +08:00
df072a0053 disabled the config for counsel-etags 2023-08-18 21:52:06 +08:00
c3a81d71b2 fix: disabled auto auto TAGS creation from counsel-etags due to the high CPU usage on big project 2023-08-18 17:17:44 +08:00
218b42db23 refactor: my/create-TAGS supports the Emacs Lisp calling 2023-08-18 11:50:29 +08:00
4ace2bc298 chore: my/create-TAGS - add comments and updated docstring 2023-08-17 18:06:11 +08:00
07b559fa30 fix: my/create-TAGS - changing dir across different drives issue on Windows 2023-08-17 17:38:57 +08:00
8e69b4b0c2 refactor: combile 2 let blocks to 1 2023-08-17 16:15:54 +08:00
798323a740 fix: the initial value in prompt of my/create-TAGS 2023-08-17 16:00:28 +08:00
169ca3e94a Revert "refactor: my/create-TAGS"
This reverts commit 9396661c67.
2023-08-17 15:09:40 +08:00
9396661c67 refactor: my/create-TAGS 2023-08-17 14:11:35 +08:00