You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently rewriting my emacs config from scratch, and your config is the one I'm taking inspiration from, i. e. carefully reading.
In package management section I found that you can also add your own packages (and other packages those require additional configuration information for straight) to the package-list as a quoted s-exps, e. g. doing this:
(setq package-list
'(vc-backup
savehist
'(org-imenu :type git :host github :repo"rougier/org-imenu")))
(dolist (package package-list)
(straight-use-packagepackage))
;; And you don't need to invoke straight-use-package manually for each of those packages like here:;; (straight-use-package;; '(org-imenu :type git :host github :repo "rougier/org-imenu"))
Also found two typos, the first one is in encoding section, and maybe this one is also a mistake:
;; set-default-coding-systems duplication, from your config:
(set-default-coding-systems'utf-8) ; Default to utf-8 encoding
(prefer-coding-system'utf-8) ; Add utf-8 at the front for automatic detection.
(set-default-coding-systems'utf-8) ; Set default value of various coding systems
The second one is in my/date-is-yesterday function:
;; Nothing serious here, just replace 'today' in the description with 'yesterday'
(defunmy/date-is-yesterday (date)
"Check if DATE is today."
(my/date-equal (my/date-dec (my/date-today) 1) date))
And one more thing, thank you for sharing your work! It's a beautiful gem and also a good research resource for emacs hackers as me, those have no time and patience for learning emacs deep enough to make this things from scratch :)
The text was updated successfully, but these errors were encountered:
Thanks for all the feedback. I didn't know about straight package. I thinkg I'll stick to the current form though because I find it easier to read with aligned comments.
By they way, I just fixed the my/date-relative function (in case you were using it).
I'm currently rewriting my emacs config from scratch, and your config is the one I'm taking inspiration from, i. e. carefully reading.
In package management section I found that you can also add your own packages (and other packages those require additional configuration information for straight) to the package-list as a quoted s-exps, e. g. doing this:
Also found two typos, the first one is in encoding section, and maybe this one is also a mistake:
The second one is in my/date-is-yesterday function:
And one more thing, thank you for sharing your work! It's a beautiful gem and also a good research resource for emacs hackers as me, those have no time and patience for learning emacs deep enough to make this things from scratch :)
The text was updated successfully, but these errors were encountered: