syl20bnr

Stars and mentions

Last 30 days, Oct 4 – Nov 2

GitHub stars22
mentions1
01234Oct 4Oct 18Nov 2
UTC days · repositories syl20bnr owns1 repositories

Package downloads

No package download history available yet.

Top repositories

syl20bnr’s repositories ranked by new stars, as on trending.

Loading

Contributes to

Repositories outside syl20bnr’s account where syl20bnr opened or reviewed pull requests in the past 365 days.

Who noticed syl20bnr

Everyone who starred or forked syl20bnr’s repositories since the archive began in 2011.

Notable accounts

Ordered by the stars their own repositories have received.

Biggest fans

Accounts that starred the most of these repositories.

Breakout weeks

Each repository’s best week of new stars, with the release published around it.

Mentions

1post
Nov 30 posts
  1. Reddit · · r/emacs · u/Pocima · syl20bnr/spacemacs

    Two independent configs, two dependent errors (--init-directory, Dired & Spacemacs) TLDR at the end I have been learning web developement and decided to use Emacs as my main editor. The Emacs distribubion I started to use was Spacemacs because I wanted something preconfigured to get a better idea of what can be done and how other people use Emacs. I am not familiar enough with many terms and topics yet to make my own working config. It also saved me some time and let me start using the editor rightaway after some quick reading. I am new to programming in general so after some challenges I was able to make lsp work. I really don't know if it is working properly because the idea of language servers is also new to me. It should be working with the default config that Spacemacs uses, I think. But I am lagging while I use it. Badly. I was doing some basic coding in very small files and it slows down really bad. It gives me useful suggestions and I get documentation while I mouseover or on the minibuffer.. but this prompt me to start my own config from scratch. I didn't want to get rid of Spacemacs because I use it daily, so I started to find a way to have more than one config simultaneously. I found an option introduced in Emacs 29, `init-directory`. To do what I wanted I needed two configs: Spacemacs and the vanilla one. I started to search how to install Spacemacs in a different folder, because it uses the by default. I did the following: - I cloned Spacemacs using git clone https://github.com/syl20bnr/spacemacs.git ~/spacemacs/.emacs.d , which is a different folder. - I created an alias for it to start it from the command line with its own init-directory: alias spacemacs='setsid emacs --init-directory ~/spacemacs/.emacs.d'. It worked, for the most part. The Spacemacs configurations and all its layers initiate when I type the alias in the command line. If I just type `emacs`, it uses my new config from the now almost empty `~emacs.d` directory, where a lonely `init.el` sits. The issues I have when using the Spacemacs config are two: 1. When I try using the spacemacs/restart-emacs-resume-layouts command bound to M-m q r , Spacemacs closes but then it opens the the Emacs with the default (new) configuration and the following message in the minibuffer: Unknown option --resume-layouts 2. Every time I open Dired to navigate I get the following error: Error (use-package): dired-quick-sort/:config: Symbol s value as variable is void: evil-collection-binding-overrides I never encountered these errors before. The first one is easier for me to understand. My spacemacs/restart-emacs-resume-layouts function is sending the command to open Emacs with the the default configuration because it expects all the Spacemacs files to be there but they are not there anymore. Following the function to get to its definition, I found the following function next to several others related to restarting flags: file: ~/spacemacs/.emacs.d/layers/+spacemacs/spacemacs-navigation/funcs.el (defun spacemacs/restart-emacs-resume-layouts (&optional args) "Restart emacs and resume layouts." (interactive) (spacemacs/restart-emacs (cons "--resume-layouts" args))) I might be mistaken but I thought that adding "spacemacs" to the "--resume-layouts" string would then send the command "spacemacs --resume-layouts" to... wherever it was going (guessing the command line) and that because spacemacs is an alias, it would then add its `--init-directory` plus, the "--resume-layouts" string that was already there. It doesn't work. I think it becomes emacs spacemacs --resume-layouts somehow... as if it was concatenating. I don't know then, where to change that "first" emacs to the spacemacs alias. I tried finding errors similar to the second one because I have been unable to find exactly the same one, but the explanations are confusing and you can clearly tell that the guys communicating don't need to explain everything to each other to finish the conversation and close their tickets. It feels like reading a different language (which is already what I was doing). That on top of them talking about their own configs and not Spacemacs. I wasn't able to understand much besides what it was written in the error. It is finding a symbol with no value, apparently. Some said that it could be a parentheses issue, others that a function is beig called before being declared... I have no idea. What I got is the place where dired-quick-sort is, that might or might not be of some help: file: ~/spacemacs/.emacs.d/layers/+spacemacs/spacemacs-editing/packages.el (defun spacemacs-editing/init-dired-quick-sort () (use-package dired-quick-sort :defer t :init (define-advice dired-noselect (:before (&rest _) quick-sort-setup) (let ((dired-quick-sort-suppress-setup-warning 'message)) (dired-quick-sort-setup)) (advice-remove 'dired-noselect 'dired-noselect@quick-sort-setup)) :config (evil-define-key 'normal dired-mode-map "s" 'dired-quick-sort-transient) ;; prevent `evil-collection' from changing this binding (add-to-list 'evil-collection-binding-overrides '(search-or-filter :enabled (lambda (map-sym _ _ _) (not (eq map-sym 'dired-mode-map))))))) After writing this wall of text over several days I realised that I could just make *my* config live in a different folder and let Spacemacs be happy on its default folder. That should fix both problems... Would it, though? Would they really be solved or would I just be pretending they are? I know I could just close Spacemacs and open it back again. I know I can evaluate buffers without leaving Emacs, including running configurations, which is something I try to do most of the time, but not always. Restarting Emacs without resuming layouts are just too many keystrokes, man, and the error would still be there... lingering and waiting to show its ugly face. As you can already tell... these two issues are dependent on my stubbornness, heh. If we imagine the last two paragraph were never written... any idea of how to start solving these two puzzles? I know there is a dedicated Spacemacs subreddit but it doesn't look really active and this is the one I frequent the most. Let me know if this isn't the right place to post my question, please. Thank you for reading. TLDR: Wanted to have parallel configs. Changed Spacemacs installation folder. Two errors are present now. One when opening Dired and the other while restarting Spacemacs. Need some guidance to identify why these errors are ocurring.

    2 comments
Trending awards, every completed day and week
Gold
01st place finishes
Silver
02nd place finishes
Bronze
13rd place finishes
Awarded repositories
1Owned by syl20bnr now

Repositories

Ordered by gold, then silver, then bronze.

  1. spacemacsBest: 3rd by stars, 285 stars001

Every award

Top-three finishes of these repositories in completed trending days and weeks, newest first.

  1. #3 by starsDaily trending
    285 stars
    spacemacs

A repository earns an award for finishing first, second or third in a completed trending day or week, ranked by new stars, new forks or pull request authors. Awards follow a repository through renames and transfers and count toward its current owner. Weeks run Monday to Sunday, UTC.