1. 51
  1.  

  2. 12

    TIL about starship for prompts. Looks good, I will give that a try.

    1. 3

      I used it when it was a regular zsh script. I got tired of having to re-configure it whenever updates broke my configuration as it changed or removed features I used. I’m not sure how stable it is now but I did enjoy it while it lasted.

      1. 2

        I’ve been using it for a while and haven’t had any of the problems that the other commenter seemed to have. My setup is pretty simple though.

        1. 3

          There was one significant backwards-incompatible change that I can recall, but it was trivial to address. And for my part, I’d rather have my software evolving than never releasing a change in case it breaks someone somewhere.

        2. 1

          I used starship previously and something happened to make it grind to a halt. I moved to romkatv/powerlevel10k and have had no such issues since. I once saw a discussion around a plug-in being implemented which was rejected as it took 10ms to run!

          Edit: found the discussion, it was 11.4ms and it was reworked rather than rejected, but hopefully you get the point I was trying to make

          1. 2

            One aspect of my choice of Starship that doesn’t come through in this post is that I use the fish shell as my daily driver, but I use zsh and bash on remote hosts in various places. Having a consistent prompt on all three of those is a huge selling point, even if my prompt might take 50-70ms to render.

            1. 2

              Don’t worry, not trying to invalidate your choices or anything. I’m sure it was something I did otherwise the GitHub issues would be full of noise! Having a consistent prompt is a really solid pro for sure.

              1. 1

                I didn’t think you were :D

                I just figured it might help to have a bit of clarity on the rationale. Arguably I should edit the post with that :)

              2. 1

                I’m curious why such a dichotomy? Are you required to use zsh/bash on the remote machines or is it a matter of convenience? I’m forced to use bash, but would gladly switch to zsh if I could install it…

          2. 7

            Doom has an active and helpful Discord. It’s actually the best place to talk about Emacs in general that I’ve found.

            This is kind of sad to read. Is it related to Discord or the specific community?

            1. 14

              Hi I’m a moderator in the doom discord community. If it’s any consolation I have been trying to steer people toward using other resources available, particularly the mailing list.

              I think we’ve grown the way we have because we’re not very strict about what the topic at hand is and understand that most users coming to doom emacs (and I expect spacemacs as well) are coming not from emacs but from vim or vim-likes and like to talk about lots of things besides emacs. This includes other text editors, games, operating systems, and more. Being off-topic is on topic in a lot of cases. Our community is also younger (at 33 I’m probably one of the oldest in the server) with lots of college and high school kids who’s online social life has been won by discord. We’re simply more approachable to them than most other emacs communities.

              A lot of credit for the helpfulness can also go to Henrik who is both patient and gracious with new users and eager to help wherever he can. He sets a very friendly tone and I don’t think I’ve ever seen him troll, lighthearted or otherwise (thinking back I don’t think I’ve ever registered a swear word from him).

              1. 5

                If it’s any consolation I have been trying to steer people toward using other resources available, particularly the mailing list. […] Our community is also younger […] with lots of college and high school kids who’s online social life has been won by discord. We’re simply more approachable to them than most other emacs communities.

                That is nice to know. As someone who is just around the “Discord generation” (22), I fear that I would have got caught up in that development. Emacs in particular was essential to my appreciation of Free Software, which is why I care about this. The other reason is that the dominance of Discord is something I often resent, as I get excluded from communities I could be interested in participating because of my own principles.

                1. 2

                  The other reason is that the dominance of Discord is something I often resent, as I get excluded from communities I could be interested in participating because of my own principles.

                  In the linked comment you mentioned your hesitation to use an Electron application. Have you considered trying the Discord-Matrix bridge?

                  1. 2

                    I could use it (even if Matrix is a bit too slow for my taste), but my there point was not the specific server, as I don’t use Doom, but the general culture of organizing communities around Discord, a platform I would like to have nothing to do with in itself.

                    1. 2

                      The discord-matrix bridge allows you to communicate with a community using Discord while giving you the option of using a matrix client, which is better than being forced to use the discord client. But this requires cooperation from the moderators of the discord guild, and still doesn’t solve the problem of Discord interfering with communications on what is fundamentally their platform.

                      1. 1

                        I read that using a third party client can get your account banned for life since it is against the terms of service.

                    2. 2

                      That matches my experience. Henrik is amazingly patient for someone whose project blew up into this huge thing. I wish I could match that.

                    3. 2

                      As someone who uses customize almost exclusively to configure my Emacs environment, I’m curious why none of the popular Emacs enhancement frameworks use it. I found this comment in the Doom repo—does anyone have insight into what they mean here?

                      ;; Doom doesn't support `customize' and it never will. It's a clumsy interface
                      ;; that sets variables at a time where it can be easily and unpredictably
                      ;; overwritten. Configure things from your $DOOMDIR instead.
                      
                      1. 1

                        AFAIK a lot of people do not like that customize writes code, that makes code (slightly) harder to version. Doom is opinionated, so I guess they decided to not be interested in preserving that mode of configuring.

                      2. 1

                        Not sure - but I will say that the community on the Doom Emacs Discord is very friendly and very helpful, and also active. So if you ask a question you’ll probably get an answer fairly quickly.

                        1. 7

                          That might be the case, my issue is mainly that it is organized on Discord, which IMO shouldn’t be used for free software projects.

                          1. 4

                            I honestly actively do not care about that criteria.

                            1. 1

                              What do you mean? The usage of Discord per se or the usage of Discord by Free Software communities?

                              1. 1

                                I’m not going to derail this thread with my opinion on that.

                                1. 1

                                  Ok :/

                        2. 1

                          I don’t know, but I have yet to find as friendly a group to ask dumb newbie questions, as that one. And some of my questions are, sadly, still dumb newbie questions :)

                          1. 2

                            Out of curiosity, have you ever tried the help-gnu-emacs mailing list? There are all kinds of questions posted there all the time, from total beginners to Elisp developers.

                        3. 3

                          The chezmoi link has an additional underscore at the end, removing it redirects correctly.

                          1. 1

                            Thanks! I fixed that, it should work now.

                          2. 2

                            I’m not sure what is the advantage of Chezmoi over more powerful tools like Ansible, Saltstack. I take a look at the Quick Start guide and not really convinced.

                            1. 7

                              I think they are intended for different use cases. Chezmoi is about setting the user config, by copying the config files to the right places under $HOME, while Ansible and Saltstack are for configuring the whole OS.

                              This is a matter of a personal preference, but one should never “program” in YAML to configure anything, even the OS :)

                              1. 3

                                Exactly this. Chezmoi is aimed at a much smaller problem than “whole system” configuration. In fact, I use ansible to set up my Chezmoi initial configuration when bringing up a new computer, so for me at least the two are complementary.

                              2. 2

                                Is it just me, or are many links broken (with an unnecessary underscore at the end)?

                                1. 1

                                  It’s not just you. I screwed up some formatting. It’s fixed now.

                                2. 2

                                  One thing that’s helped me is having my whole dev environment set up with a Vagrant script, so I can use it in a VM on various work, home and cloud computers and still have access to all the tools I’m used to.

                                  Another useful thing is code-server, which is a browser interface for VSCode (which is already an Electron app so it’s not too hard to put in a browser). You can run it inside Vagrant (maybe on a cloud instance) and have access to a familiar IDE.

                                  1. 1

                                    That’s a fantastic idea! If I end up using VSCode at some point – I’ve bounced off it a few times, mostly because “emacs” :) – I may mimic that.

                                    1. 1

                                      A little late to the discussion, but I recently switched to VSCode and I am using https://github.com/whitphx/vscode-emacs-mcx for key bindings. It’s not quite perfect of course, but nothing that trips me up on a day to day basis.

                                      I’ve been using Emacs since ’97 or so off and on (mostly on - I used Eclipse when I was doing Java work) and so the muscle memory is quite hardwired at this point ;) I do miss recording macros on the fly (though I might guess something like that exists for VSCode already).

                                      I do drop into a terminal and run emacs -nw or mg (usually for writing git commit messages).