1 line
2.8 KiB
Plaintext
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>​</p> <p>This is my first Reddit post, so be gentle 😊</p> <p>​</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>​</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>​</p> <p>So now Im stuck here (taken from exact link above):</p> <p>​</p> <pre><code>(package-initialize) (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/")) (add-to-list 'package-pinned-packages '(telega . "melpa-stable")) (package-refresh-contents) (package-install 'telega) (package-install '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) & variable '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'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 "brain-gear" 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 -->   submitted by   <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>   <span><a href="https://www.reddit.com/r/emacs/comments/qzc8bg/spacemacs_basic_question_on_loading_other_repo/">[comments]</a></span> |