Fork me on GitHub
#emacs
<
2018-12-08
>
Daouda09:12:46

hey guys, i am completly new at at emacs and functional programming, so i am reading Clojure for the brave and true and trying to get emacs set up to start writing some clojure code, but i keep getting this error

Warning (emacs): Unable to activate package `ghub'.                                                                                                 
 2Required package `let-alist-1.0.5' is unavailable                                                                                                   
 3Warning (emacs): Unable to activate package `magit'.                                                                                                
 4Required package `let-alist-1.0.5' is unavailable                                                                                                   
 5Warning (emacs): Unable to activate package `ghub'.                                                                                                 
 6Required package `let-alist-1.0.5' is unavailable                                                                                                   
 7Warning (emacs): Unable to activate package `cider'.                                                                                                
 8Required package `seq-2.16' is unavailable                                                                                                          
 9Warning (emacs): Unable to activate package `ghub'.                                                                                                 
10Required package `let-alist-1.0.5' is unavailable                                                                                                   
11Warning (emacs): Unable to activate package `magit'.                                                                                                
12Required package `let-alist-1.0.5' is unavailable                                                                                                   
13Warning (emacs): Unable to activate package `ghub'.                                                                                                 
14Required package `let-alist-1.0.5' is unavailable                                                                                                   
15Warning (emacs): Unable to activate package `cider'.                                                                                                
16Required package `seq-2.16' is unavailable    
i don't know how to get out of this. any help please?

Daouda09:12:40

systems info `

Daouda09:12:33

debian 9, emacs:  emacs -version
GNU Emacs 24.5.1
Copyright (C) 2015 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

orestis10:12:10

I can’t help with the emacs stuff, but that books introduction is very old and out of date these days. You don’t need emacs to get started with clojure. You can also work with Vs code, atom, or Cursive.

orestis10:12:21

Need to go, but do have a look at the above and see if it doesn’t help you play with Clojure a little bit easier, without getting emacs in the way.

alanforr10:12:24

Both let-alist-1.0.5 and seq-2.16 are on elpa https://github.com/magit/magit/issues/3414 https://elpa.gnu.org/packages/seq.html Adding ELPA to the sources in your init file might help https://www.emacswiki.org/emacs/ELPA

Daouda12:12:56

thanks guys, those links helped 🙂

practicalli-johnny23:12:54

@quieterkali if you would like to use Emacs for Clojure development, then there are excellent install instructions in the official docs http://www.cider.mx/en/latest/installation/ Or if you want a Vim/Emacs combination, try Spacemacs https://practicalli.github.io/spacemacs/ The other editors I recommend are http://Aton.io, VSCode, or IntelliJ - as mentioned here https://clojurebridgelondon.github.io/workshop/development-tools/

Daouda23:12:42

@jr0cket actually i switched to Spacemacs, trying to understand how it works

Daouda23:12:59

do you know how to create a new forder?

practicalli-johnny23:12:49

SPC f f will create any missing folders for you when you just type in the name of a file (or M-m f f if you are only using Emacs style editing).

👍 4
practicalli-johnny23:12:40

So if you have project/src/ folder and want to create a project/test/core.clj file then you would SPC f f and use the helm popup to have a path of project/test/core.clj which should show test.clj file in the helm list with a [?] at the end to show that it would be created. Press RET to create a new buffer with that file name. When you first save SPC f s Emacs will ask you if you want to create the missing test folder. This works for multiple folders.

👍 4
practicalli-johnny23:12:19

If you have a lot of Spacemacs specific questions we do have a #spacemacs channel too

Daouda23:12:28

@jr0cket thank you very much your answer 🙂