Fork me on GitHub
#emacs
<
2017-07-24
>
dotemacs09:07:20

I’m surprised that VimL has almost twice as many “digits”/repos as Emacs Lisp

bozhidar11:07:14

Well, vim is a much more popular editor, so there’s nothing surprising here.

bozhidar11:07:50

Keep in mind that it’s shipped by default with every Unix-like OS in existance (`vi`‘s actually required, not vim, but most OSes ship vim anyways)

jeff.terrell13:07:45

> vi's actually required In what sense? Is that some POSIX standard or something? Do e.g. lightweight special-purpose docker images still have vi? Just curious.

dpsutton13:07:48

This utility shall be provided on systems that both support the User Portability Utilities option and define the POSIX2_CHAR_TERM symbol. On other systems it is optional. lightweight special-purpose docker images have what you put in them, right? This has more to do with an OS conforming to a standard

dominicm14:07:30

I'm trying to take advantage of https://github.com/clojure-emacs/cider/pull/2027 and I've got this:

((clojure-mode
   (cider-boot-parameters . "dev")))
However it doesn't work without (require 'cider) in my init.el. Any way I can set this up such that it will work as long as cider is installed?

ag17:07:55

@U09LZR36F have you tried:

(with-eval-after-load 'cider (setq cider-boot-parameters "dev"))

dominicm17:07:35

I think dir-locals.el would mark the evaluation of that as unsafe

ag18:07:22

yeah, any emacs-lisp code in dir-locals would be marked unsafe (I think). You'd have to press y or !

dominicm19:07:23

But you can set certain variables marked as safe. But that's kinda pointless if the variable hasn't been loaded yet.

radon13:07:14

@U09LZR36F I guess dir-locals require actual declared variables in order to work right. In the worst case you can just (defvar cider-boot-parameters) in your init.el to declare the var.

dominicm13:07:17

Yeah, that's the problem. Although, such a defvar would need a safe right? 😛. Back at square 1. The usage here is for people unfamiliar with emacs/init.el, taking training course or joining a project with spacemacs & such. Harder to communicate changes to init.el, when jack-in just works for other things.

ericfode18:07:17

docker run busybox vi is a thing