![]() ![]() ![]() I want to be able to answer the questions: "Oh, I want to customize that behavior, where do I need to code? What are the methods I should call? What are the methods I should NOT call? What variable can I change/create? What is actually executed when I put my code here?.etc" The spacemacs documentation leaves me completely clueless because it mostly asumes you know how things work, and the emacs one is like a nuclear plant maintenance guide.Ĭould somebody at ease with spacemacs give me an "entry point" to understanding those concepts? I am conscious that there is a concept called "major-modes" and "minor-modes" which apply respectively to all buffers or only specific buffer instances, but I am also very confused about the fact that emacs has its own global and local variables (which seems to be customizable through (setq)), that spacemacs also has variables or methods to customize (spacemacs/toggle-something-on) but also (custom-set-variables), and that most of what I want to do is achievable using "hooks". COrrect DOuble CAps this does not works either (should be a hook) (spacemacs/toggle-automatic-symbol-highlight-on) rust this works (and seems the right way to do it) diff-hl this used to work but now does not (setq mouse-wheel-progressive-speed nil) don't accelerate scrolling (setq mouse-wheel-scroll-amount '(1 ((shift). (setq powerline-default-separator 'arrow) This function is called at the very end of Spacemacs initialization after I (naively) configured my spacemacs like any lisp/emacs newcomer would do: (defun dotspacemacs/user-config () I want to be able to actually code those features (and maybe a bunch of others) when necessary, or install them when they are already available. ![]() my "home page" show a list of projects and I can load the most recent one, which remembers the buffer configuration from last time.symbols are highlighted when the cursor is over.git live changes are shown in the left side.the line numbers are showing in any buffer I open.I want to be able to start emacs, and see it execute some custom code I would write so that: The issue is that most of the configuration is done through emacs-lisp, and expects the user to understand how the code is loaded and executed when you start the software, which I completely don't (as I started to realize the more and more I digged into the code). Then I discovered spacemacs, which takes a bit of what is great in vim, what is great in emacs, and put them together into a nice mostly preconfigured package. Unfortunately, while I was starting to get used to vim a bit, the time you need to spend in learning, and most of all, the time you need to spend in configuring those software, was way too high for me. Well, in fact, I've been trying to use emacs and vim for a long time because I could understand why those software were able to boost productivity and make you feel more "at home" when coding/hacking. You might wonder why I decided to use spacemacs, which is a highly custom hack over emacs, without taking the time to get used to vanilla emacs first. I know the title looks subjective, but I want this question to be a smooth introduction to spacemacs for newcomers not coming from emacs at all (which is my case). ![]()
0 Comments
Leave a Reply. |