Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ask hacker news response #11

Open
excalamus opened this issue Feb 14, 2022 · 0 comments
Open

ask hacker news response #11

excalamus opened this issue Feb 14, 2022 · 0 comments

Comments

@excalamus
Copy link

I saw your post on Hacker News, linked from Emacs News. I could not find your email. I don't use HN much, Twitter at all, and try to stay away from proprietary software. So, I reply here.

  1. What are some good resources on Emacs?
    The best resources I have found are A) the tutorial (open vanilla Emacs and press enter), B) the manual and C) the Emacs lisp reference. Learn to use the info system inside Emacs. This will help you find the information you need quickly. Also, read the source code for things. Use C-h v and C-h f to quickly look at the source code for whatever you're using.

  2. If you use Emacs as your primary editor, how long did it take you to understand enough internals to be able to debug issues?
    I started by using vanilla Emacs. If a bug appeared, it was always because of something I put in my init. I never put anything I don't (think I) understand in my init. If a problem appears, I know it is likely through something I have done. I remove the code I recently entered and see if the bug goes away. If it does, I isolate the bad part and make sure I can reproduce it. Then, I check my understanding. I have not come across a single Emacs bug in 5 years of daily use. All problems I've had I introduced. In this way, I have more or less always been able to debug issues. It took me reading "An Introduction to Programming in Emacs Lisp" to feel confident extending Emacs, however. https://www.gnu.org/software/emacs/manual/html_node/eintr/index.html

  3. If you use doom/spacemacs, do you feel the bloat?
    I have never used doom/spacemacs because it prevented me from doing the process I described in answer 2.

I do my init a little differently than I've seen others do it. I keep an "experimental.el" file to test code in. Once I feel it's stable, I put it in my init. I use use-package mainly for the syntax and use straight.el to manage my packages (straight.el is great, but not "straight foreward"). This arrangement works well for me. I also have little tricks, like a debug mode for my init which tells me which package just loaded. This helps in the rare cases that I need to bisect my init. I would be happy to do a video chat with you some time. Please let me know, [email protected].

Take care

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant