• davelA
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 days ago

    why? does init.el have any advantage over .emacs?

    Presumably because of the very next point, #2: “Put all auto-generated configurations in a separate file.” If you’re going to use more than one config file, then that means you need to go with the .emacs.d directory route.

    • beleza pura@lemmy.eco.br
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      do you? you can set a different custom file from .emacs just fine and i’ve seen it done before. unless i’m missing something, i believe that’s not it

      • davelA
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        4 days ago

        I’m far from an Emacs expert. If you say so, I believe you.

        One reason I do it is because I made ~/.emacs.d a git repo.

        • beleza pura@lemmy.eco.br
          link
          fedilink
          arrow-up
          1
          ·
          4 days ago

          I made ~/.emacs.d a git repo.

          ooh, interesting. though i’m a bit squeamish about mixing tracked content and “build artifacts” (in this case, installed packages).

          • davelA
            link
            fedilink
            arrow-up
            3
            ·
            4 days ago
            $ cat ~/.emacs.d/.gitignore 
            /auto-save-list/
            /elpa/
            /init.el~
            /transient
            /org-roam.db
            /.org-id-locations
            $