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'.
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
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.
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.
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.
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.