logs archiveIRC Archive / Freenode / #emacs / 2015 / September / 15 / 1
tali713
right, if for whatever reason you want to avoid cl-lib, you can still use mapc/mapcar or dolist
recursion is a great tool, even in elisp, when applied to naturally recursive problems.
wasamasa
well, "parsing" code for imenu isn't one of them
holomorph
daingert
wasamasa
you do walk along a buffer, then transform the results into something pretty
tali713
wasamasa: that doesn't sound naturally recursive. that sounds naturally iterative.
josteink
there. new patch submitted.
hopefully without any equally embarassing errors
(Action) gets good
food
tali713
wasamasa: but I suppose that would depend on the contents of the buffer. an xml menu tree description would be a map/recur problem. (on the parsed structure)
Evidlo
What's the function commonly used for debugging?
To print out errors as they come
wgreenhouse
tali713: xml is, after all, an acceptable Lisp.
(Action) fu*ks
er no
(Action) ducks
oops!
         

hodapp
it's okay if you fu*k.
zellio
but only with consent
josteink
Evidlo: emacs has edebug
which is an actual debugger, not just "print things out"
you can typically (setq edebug-on-error t), but my experience with that is not 100%
parsnip
Evidlo: debug init?
josteink
thats also a useful one
wasamasa
josteink: didn't know that one
josteink: probably because no M-x toggle-edebug-on-error
bjonnh
is there a kind of "international clock" for emacs?
that would allow me to see time for EDT,CDT,GMT and so on
wasamasa
M-x display-time-world
bjonnh
\o/
abrahams
Wow
bjonnh
wasamasa: thanks!
josteink
wasamasa: I didnt know -that- one :)
wasamasa
josteink: I wrote about how terrible its implementation is
josteink: it got fixed shortly afterwards
josteink
heh
(Action) checks it
Im running emacs from git source after all
wasamasa
http://emacshorrors.com/posts/dont-modify-the-world.html
tl;dr: it remembers TZ, alters it, reads out the value, resets it
and does that for every timezone it displays
josteink
oh. I thought you were referring to toggle-edbug-on-error
(which I cannot find...)
belak
So, this might be a silly question... but what is quote actually used for? It seems like all the other explanations of it I've found assume I already completely understand lisp...
wasamasa
belak: for taking the following expression literally
josteink
wasamasa: I tried to get to your atom feed btw
wasamasa
josteink: and?
         

josteink
wasamasa: it only contains "going static"
wasamasa
josteink: huh
josteink
seems thats a bit TOO static :)
(Action) checks again
wasamasa
http://emacshorrors.com/feed.atom returns xml that's more than one post
maybe it's your reader?
josteink
wasamasa: i tried elfeed actually
wasamasa
josteink: hmk
josteink: I'm using newsbeuter and check in firefox and chromium
josteink
it may be an elfeed bug too
nm then
wasamasa
hm?
does it work now?
josteink
no
but I checked the XML and you are right
so its probably a elfeed bug
wasamasa
ok
josteink
but now... I call it a night :)
wasamasa
one day I'll try this elfeed thing, too
and mu4e
josteink
I use ewww for some things. elfeed is a nice companion to that
bbl
malice
Hey guys. I've tried on #lisp but with no success, so I hope I'll find someone helpful in here.
Does anybody in here use Emacs + Prelude to program in Common Lisp? I've recently installed Prelude and I quite like it
However, it changes the way it handles packages, and I'd like to make some tweaks; I've preferred my previous Common lisp configuration for emacs.
wasamasa
don't use prelude then
acridstone
how do I add powerline to my emacs?
malice
But it's nice and I like it. I just want to tweak it.
didi
I don't get https://www.blackhat.com/eu-15/briefings.html#even-the-lastpass-will-be-stolen-deal-with-it . First I thought it was an attack on the server side but the last paragraph reads as it is an attack on a compromised client. If it is on a compromised client, it doesn't sound like a big deal.
rudybot
http://teensy.info/JXQCniJFON
aidalgol
What's the IRC message type number for voice/devoice?
I want to add that to erc-hide-list
wilfredh
acridstone: you could try https://github.com/milkypostman/powerline -- I've used it and liked it
didi
Or at least, not as a big deal as I first thought.
acridstone
aidalgol: thanks
aidalgol
acridstone: what?
escondida
aidalgol: It's the new hip thing for needlessly complex status lines
aidalgol
escondida: what?
escondida
"powerline"
aidalgol
have I missed part of a conversation?
escondida: I wasn't asking about powerline, though.
escondida
oh
aidalgol: No, *I* missed part of the conversation.
aidalgol
dammit, Wikipedia. you used to have external links to the IRC RFCs.
justmytwospence
is it possible with Magit to amend a commit arbitrarily far back with the currently staged changes? It can be done with a rebase, but it feels like Magit might have a shortcut for this
aidalgol
justmytwospence: I'm pretty sure it doesn't.
It just has a (supposedly) easier UI for rebasing.
justmytwospence
darn. It would be cool to just put the point on the relevant commit and press `ca`
thanks though aidalgol
escondida
aidalgol
escondida: yeah, I found it eventually
escondida
kewl
« 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 »