emacs/var/elfeed/db/data/b6/b6be25aa906ef11f6295641042d0c548765dd71b
2022-01-03 12:49:32 -06:00

1 line
2.8 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Hello there! I hope this is the right group to ask this, as Im using Spacemacs.</p> <p>&#x200B;</p> <p>This is my first Reddit post, so be gentle 😊</p> <p>&#x200B;</p> <p>I want try using Telegra (Telegram client in Emacs). So Ive been following this link. <a href="https://ritschmaster.github.io/2021/06/13/Using-telga-in-Windows-10.html">https://ritschmaster.github.io/2021/06/13/Using-telga-in-Windows-10.html</a> . Which I successfully installed MSYS2 MinGW (some Pacman installer inside Windows), which helps to install Telega inside Emacs. I need the MSYS2 version of Emacs, so that Telega will work (it only works out-of-the-box with any Emacs with Linux and Mac).</p> <p>&#x200B;</p> <p>Now having installed, my limited knowledge made me confused as to why Emacs opens up as Spacemacs (I thought it would create its own Emacs?). But doesnt matter, coz if I can make Telega work, then there is no need to use 2 separate Emacs, and I will have my previous packages as well (Eg: Python, etc..) 😊.</p> <p>&#x200B;</p> <p>So now Im stuck here (taken from exact link above):</p> <p>&#x200B;</p> <pre><code>(package-initialize) (add-to-list &#39;package-archives &#39;(&quot;melpa-stable&quot; . &quot;https://stable.melpa.org/packages/&quot;)) (add-to-list &#39;package-pinned-packages &#39;(telega . &quot;melpa-stable&quot;)) (package-refresh-contents) (package-install &#39;telega) (package-install &#39;all-the-icons) (all-the-icons-install-fonts t) ;; Use ~/.emacs.d when prompted for the installation directory! </code></pre> <p>I basically have to evaluate this inside a scratch buffer. It works fine, but once I exit MSYS2 Emacs, telega remains, all-the-icons disapears (it was inside .emacs.d) &amp; variable &#39;package-pinned-packages is reset back to nil (as well as package-archives back to old value).</p> <p>Where do add all these inside .spacemacs without messing up anything? I understand you have custom-set-variables, but they&#39;re mostly defining new variable, not adding to list (add-to-list). I also understand the dotspacemacs-additional-packages which doesnt apply here (I need telega to be pinned to a repo)</p> <p>Sorry for the noob question 😊, but a even simple barebones explanation would help greatly, coz Id be able to think clearly, as my current &quot;brain-gear&quot; is in teaching mode, and my desire to use Telega comes at short notice to reduce desktop clutter (I dont use Telegram often, but now forced to).</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Ardie83"> /u/Ardie83 </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/qzc8bg/spacemacs_basic_question_on_loading_other_repo/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/qzc8bg/spacemacs_basic_question_on_loading_other_repo/">[comments]</a></span>