logs archiveIRC Archive / Freenode / #emacs / 2015 / July / 20 / 1
scottj
thegladiator: what's your current startup time, roughly?
thegladiator
emacs-init-time says 2.4 seconds
how about yours scottj - do you have a lower startup time? emacs -q loaded in 0.5 seconds in my machine
kovrik
mine is 14.5 secs :)
thegladiator
kovrik: do you use a lot of plugins?
ryouma
that number is misleading; emacs-uptime is longer when you run it in emacs-startup-hook
kovrik
thegladiator: yes. I defer some of them, but still...
thegladiator
right I really a fan of minimalism =
safinask1r
how to start lisp quest-answ interpreter?
scottj
thegladiator: 2.5s. 6k .emacs file though. used to have it at 0.5 but I've gotten lazy. I can't really get below 1s without more tradeoffs than I care for.
         

thegladiator
so less plugins here :)
6k init wow
ryouma
that's nothing :)
kovrik
mine is just 745LOC
ryouma
buddha is fat, smiles, and scratches his armpits
kovrik
:)
wasamasa
(Action) still has no clue why emacs is busy-idling until he focuses its initial frame
thegladiator
745 is nice ..
btw I just downloaded and compiled uemacs from the linux kernel page http://git.kernel.org/cgit/editors/uemacs/uemacs.git
just to see how it is - pretty difficult to use but really sleek
scottj
thegladiator: I like mg, what's cool about uemacs I think I tried it but forget
ryouma
(when (fboundp 'emacs-init-time) (add-hook 'emacs-startup-hook (lambda () (with-current-buffer "*scratch*" (insert (emacs-init-time) "\n" (emacs-uptime) "\n" "\n" emacs-version "\n") (goto-char (point-min))))))
wasamasa
scottj: linus is using it
ryouma
that guy has serious influence. it's like the cool girl in school and all the other girls wear the same color!
thegladiator
thats right wasamasa
hehe ryouma
scottj
zile seemed to have a lot more features than mg, but was much slower at opening large files.
synthstutter
I did an emacs package update a few days ago and now I can't get ipython running in emacs. Has this happened to anyone else?
thegladiator
I wanted to check how to do a "in" in elisp - like 'foo in '(foo bar qux)
scottj
thegladiator: dolist
oh nevermind
thegladiator
is that the one or something else? '(foo bar qux) is a sentence in scheme
cortexman
is there a shortcut to go to the actual end of a class in python-mode?
C-M-a doesn't really do the right thing...
C-M-e rather
thegladiator
does ]] do anythin cortexman
cortexman
what do you mean
         

thegladiator
sorry cortexman I thought if you use Evil ]] is the standard mapping for that - could be wrong
scottj
thegladiator: member maybe. not totally clear what you want
cortexman
i don't use evil
thegladiator
scottj: requirement is simple I take major mode and check if its list of excempted modes and do something
blaenk
sorry legumbre i need a second
ryouma
memq
or find
cortexman
you can't 'find' the end of a class
ryouma
cortexman: that was to thegladiator :)
thegladiator
find seems to be good
parsnip
can someone remind me why lambda in most other languages won't be as interesting as lambda in lisp?
or did i make this up?
kovrik
first-class functions?
hodapp
whaaa?
kovrik
that was for parsnip
hodapp
won't be as interesting as lambda in lisp?
parsnip
kovrik: hmm, lambdas in python can't be passed around as freely?
bremner
parsnip: you're wrong. Hope that helps.
kovrik
parsnip: I'm not sure what you mean
parsnip
for example, "Why is Pythons lambda so crippled? Why isnt it as powerful as Lisps lambda?
from https://pythonconquerstheuniverse.wordpress.com/2011/08/29/lambda_tutorial/
rudybot
http://teensy.info/6mIuNwRLf0
bremner
parsnip: I guess a python-persons argument would be that python doesn't really need lambdas because it has list comprehensions and other nifty syntax
kovrik
don't know about Python. Maybe it has some python-specific limitations
bremner
the syntax is mildly idiotic
like most of python ;)
parsnip
bremner: please expound?!
*!!
the syntax is mildly idotic relative to... lisp? many languages?
kovrik
parsnip: lambda is just an anonymous function -> function without a name. Nothing special
bremner
parsnip: it has _line continutations_ ffs.
parsnip
bremner: oh, because no delimiters?
,shoot lambda
fsbot
(Action) loads its /ignore and plonks lambda
hodapp
bremner: line continuations?
parsnip
a = 1 + 2 \
+ 3 + 4
is list comprehension a fancy way of saying lists are objects?
oh, or set builder notation
ryouma
list comprehension seemed like a limited, strange, combination of mapcar and reduce or something to me last i looked at it. i must not have looked at it closely enough.
parsnip
i think it's pretty
inb4 monad comprehension
https://en.wikipedia.org/wiki/List_comprehension
physikoi
Hi #emacs, how might I determine which of the active modes has determined colors used? For instance, I can't figure out what is causing the active line color to be green. I've commented out everything in .emacs that explicitly has to do with line colors. I also know it's a mode because there is no line highlighting when i load without init file
parsnip
physikoi: check M-x hl-line-mode
physikoi
checking...
parsnip: that changed the line highlight color to black. That's good, but I still don't know where the green is coming from.
parsnip
oh, then maybe that's not it
ryouma
physikoi: list-faces-display
physikoi: c-u c-x =
physikoi
checking...
ryouma
lol, sounds like a script
physikoi
:)
ryouma: brings up a list of stuff...how do I focus it? That is, how to scroll through list?
ryouma
it's just a buffer
14:34 <ryouma> physikoi: c-u c-x =\
no \
physikoi
when I do c-u c-x = it spits out this "point=6 of 5 (EOB) column=16"
ryouma
nope
physikoi
ryouma: ?
ryouma
14:34 <ryouma> physikoi: c-u c-x =\
14:34 <ryouma> physikoi: c-u c-x =
kovrik
when defining a key-binding, what's the difference between "M-`" and "\M-`"?
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 next »