logs archiveIRC Archive / Freenode / #emacs / 2015 / September / 13 / 1
parsnip
um, let's make a starter kit called "the ten commands".
hmm, this isn't working for me: (setq shackle-rules '(("*Help*" :align 'right)))
offby1
...
parsnip
is it just me, or does anyone find the emacsforosx site design a bit eccentric
offby1
,shackle
fsbot
shackle is [0] https://github.com/wasamasa/shackle
[1] A global minor mode that allows you to declaratively configure how popup windows shall be dealt with
[2] An alternative to popwin
offby1
,shaq
fsbot
offby1: ValShaq: at http://www.emacswiki.org/emacs/ValShaq
offby1
,tackle
fsbot
sicp-bait-data is [0/35] <ghost_runner> Which book is more preferable to a beginner: K&R or SICP?
[1] <crusty_the_fig> What do you guys think about the SICP Python redesign: http://composingprograms.com/
[2] <crusty_the_fig> What do you guys think of a book called "Structure and Interpretation of Computer Programming"?
[3] <crusty_the_fig> So I won't actually be able to do anything after reading SICP? :( ..[Type ,more]
         

offby1
,spackle
fsbot
I feel like I'm in a Toilet Bowl with a thumbtack in my forehead!!
parsnip
oh, i think they changed the resize behavior... tiles used to move around, now it continuously shrinks whole layout.
rudybot: Shawn Kemp
rudybot
parsnip: shawn kemp
parsnip
rudybot: lollookwhatitypednowrudybotisgoingtorepeatit
rudybot
parsnip: eh? Try "rudybot: help".
bremner
meh. Any ideas what might be messing with selecting text in urxvt / xterm ?
it's like most of the time click and drag is ignored, but sometimes not
scottj
bremner: I've experienced similar, I just avoid it by using keyboard-select in urxvt.
belak
Is there a better way to do this? (setq evil-normal-state-cursor '((lambda () (set-cursor-color (cdr (assoc "zenburn-green" zenburn-colors-alist)))) box))
This is what I came up with after just (cdr (assoc "zenburn-green" zenburn-colors-alist)) didn't work
bremner
scottj: it's the weirdest thing, it's seems to depend on the mouse.
scottj
belak: the list around (lambda ...) seems unnecessary but still supported. idk why just the cdr form didn't work (assuming it was (setq evil... (cdr ...)), seems to be ok from the docstring.
belak: oh I missed box there
belak
scottj: I was using (setq evil-normal-state-cursor '((cdr (assoc "zenburn-green" zenburn-colors-alist)) box)) before
Yeah
holomorph
remove the quoted list from around (cdr &)
or `(,(cdr &) box)
because nothing inside '() is evaluated, which appears to be what you want to do
belak
Ah
evil-normal-state-cursor (list (cdr (assoc "zenburn-green" zenburn-colors-alist)) 'box) and evil-normal-state-cursor `(,(cdr (assoc "zenburn-green" zenburn-colors-alist)) 'box) do the same thing?
Er, just box on the second one
holomorph
yeah
belak
That makse sense... >_< Thanks
lethjakman
so, I like it in vim when I can use relative line number and numbered lines at the same time
the effect this gives me is relative line numbers, and the current line number on my currently selected line
is that possible in emacs
?
scottj
lethjakman: yes, but it's slow
lethjakman
scottj: oh :(
why's that?
scottj
lethjakman: idk details, but something along the lines of everytime you move to a different line (or even same line? idk) it has to redraw a lot of the screen.
lethjakman: linum in general has this problem though, so if you find it acceptable maybe relative won't be that bad. nlinum fixes this problem of linum but can't do relative numbers.
lethjakman: there are two relative linum packages on melpa. idk if either have the format you want. I made https://github.com/scottjad/linum-relativenumber but it displays absolute and relative for all lines.
         

lethjakman
scottj: ahhh, well that's certainly a help.
thank you!
scottj
lethjakman: mine looks like http://jaderholm.com/tmp/2011-09-13.png but you should be able to get the format you described earlier with a very little coding.
aminb
hey everyone, anyone using erc here? can't figure out why but I don't get any replies from chanserv.
has anyone experienced this before?
rla`
how do you change a face specifically for a mode? for example I do not want variables to be highlighted in python
holomorph
aminb: it's not going to another buffer? just guessing
aminb
holomorph: I don't think it does :/ I checked the server buffer, and other channel buffers, but nothing.
I also have erc-notify but I don't get any notification either. like, nothing
holomorph
D:<
aminb
I'm using a bouncer (znc) thought it might be that, so tried without it, but still the same thing
holomorph
rla`: i don't think that's possible unless the mode defines its own face for variables
scottj
holomorph: do you think you can make font-lock-variable-name-face a buffer-local variable and then set it in the mode-hook?
*python-mode-hook
holomorph
scottj: yeah i was pondering that, but i don't think that's possible either. never tried it though!
scottj
rla`: give it a try :)
rla`
holomorph: (add-hook 'python-mode-hook (lambda () (set-face-attribute...))) did not work
although I did :inherit default instead of specifying the color
offby1
Now, _here_ is some charming and clever CSS -- note the "mode line": http://emacs-berlin.org/
holomorph
i guess you could change the local value of the _variable_ font-lock-variable-name-face to a different face&
but faces a spashul, i think
are*
offby1: slick
scottj
holomorph: yeah works here
Dynamicmetaflow
Hello everyone
tali713
so, should a tutorial for pcase begin with an introduction to backquote templates?
,greet dynamicmetaflow
fsbot
Hej dynamicmetaflow!
holomorph
scottj: cool!
tali713: it's all magic to me
tali713
holomorph: so that's a yes? you would need backquote explained as well?
jlf
let's /join ##magit_the_gathering
pontiki
lol
parsnip
tali713: yes :)
tali713
parsnip: okay, that's 2 for, none against, motion carries. thanx.
holomorph
tali713: i only just skimmed the pcase page in the elisp manual, but when you pasted me that example the backquoting was the one part i didn't follow
tali713: it does make sense now that i've read the relevant part of the manual :)
tali713
holomorph: so that affirms the idea that it helps to understand backquote and pcase in parallel. (backquote first, of course)
offby1
holomorph: where is this purported "pcase page in the elisp manual"?
holomorph
offby1: (info "(elisp) Pattern matching case statement")
offby1
huh, I don't have that
must be new in 25
holomorph
must be
offby1
yep
tali713
it's hiding, maybe 25 only (info "(elisp) Pattern matching case statement")
holomorph
tali713
offby1: it's also in an awkward part of the manual, it's the only subsection under conditionals, which is just weird, but hopefully by release this will be fixed.
it also doesn't take advantage of the fact that ' compares by equal in 25
offby1
(Action) stares blankly
since when does ' do anything except expand to "quote"?
1 2 3 4 5 6 7 8 9 10 11 12 13 next »