Commit graph

711 commits

Author SHA1 Message Date
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
e03e4abb5e enabled counsel-etags TAGS auto update on file saves 2023-08-17 12:31:40 +08:00
292676f81b added highlighted keyword 2023-08-01 15:35:11 +08:00
78faf5a8b1 aligned the background color with its setting as in hl-todo package 2023-07-25 16:35:22 +08:00
1cf79961e7 add my/readonly-files. please #build 2023-07-06 17:01:20 +08:00
784cca7b3e re-ordered the hooks config 2023-07-06 16:47:37 +08:00
25df28bac1 moved some of functions from my bleeding-edge config to this stable config 2023-07-06 16:41:28 +08:00
1928558102 chore: added keybindings to my/revert-all-file-buffers and re-ordered the keybindings setting 2023-06-19 10:26:45 +08:00
55e41af1b2 updated the interactive messages and actions 2023-06-07 17:56:11 +08:00
a28b3cbde2 fix: ensure the selected heading open but other headings are collapsed 2023-05-22 14:52:51 +08:00
fd84d2e488 feat: new function my/random-org-item 2023-05-22 14:27:15 +08:00
f0a50d88b5 formatted 2023-05-22 11:37:42 +08:00
5d2a14da9f formatted and #build 2023-05-22 10:24:08 +08:00
Jason TIAN
2ae8b5945c refactor: move functions to init-pre.el 2023-05-21 21:42:38 +08:00
Jason TIAN
15b3d188b9 Update init.el and init-deps.el, add my-check-for-font function to init-pre.el
The changes in this commit update init.el and init-deps.el files and add
a new function called my-check-for-font to init-pre.el. The
my-check-fo
r-font function checks if a given font is available and prompts the
user
to continue if it's not found. This function is used in
init-display.el
to check for the Symbola font.
2023-05-21 21:37:27 +08:00
Jason TIAN
7b4d00f22b refactor: interactive message of my-check-for-executable in init-packages.el 2023-05-21 17:55:38 +08:00
Jason TIAN
0c24b43cba
Update build trigger message in myelpa.yml and test.yml workflows. 2023-05-20 22:32:41 +08:00
Jason TIAN
0fb8318cc2
chore: update command variable name. #pleasebuild 2023-05-20 21:32:00 +08:00
Jason TIAN
e47bbb906f
Added GNU General Public License v3.0 2023-05-20 12:36:15 +08:00
Jason TIAN
474ece63f9
chore: ignore README.org in GitHub workflows 2023-05-20 10:17:06 +08:00
Jason TIAN
b3413a8d95
Add conditional build trigger for GitHub actions
This commit adds a conditional build trigger for GitHub actions. The tri
gger is based on the presence of the '#pleasebuild' string in the
commit
message.
2023-05-20 01:07:03 +08:00
Jason TIAN
2cbf3d4ec8
chore: ‘case’ is an obsolete alias (as of 27.1); use ‘cl-case’ instead. 2023-05-19 21:02:40 +08:00
Jason TIAN
731c0b8713
chore: move use-package-always-ensure 2023-05-19 20:07:59 +08:00
643123fb55 formatted 2023-05-19 10:35:28 +08:00
Jason TIAN
5616de90f3 fix: /bin/sh: 0: Illegal option - 2023-05-19 03:10:33 +08:00
Jason TIAN
e784845faa fix: no such file or directory 2023-05-19 03:07:33 +08:00
Jason TIAN
d4080affdf Add latest Org version installation script and update init.el
The commit adds a script to install the latest version of Org on GitHub
Actions and updates init.el to use the latest version of Org.
2023-05-19 03:03:47 +08:00
Jason TIAN
fe5dca76f3 Update Org version and ignore built-in version
The commit updates the Org version and adds a function to ignore the bui
lt-in version.
2023-05-19 02:21:18 +08:00
Jason TIAN
9aad6126bb Add optional argument to org package install. 2023-05-19 00:57:12 +08:00
Jason TIAN
50e256f83b Update init.el to use package-install for org 2023-05-19 00:51:24 +08:00
Jason TIAN
280351a478 Refactor ELPA environment variables in workflows 2023-05-19 00:35:45 +08:00