logs archiveIRC Archive / Freenode / #emacs / 2015 / July / 12 / 1
max`
(custom-set-faces '(mode-line ((t (:height 0.1)))))
get a colorfull little mode-line
still can see there are small letters float on the left
skeuomorf
Is there a way to "format" a buffer or a region? Format ala gofmt or pressing "=" on a visual selection in vim
max`
indent-region
skeuomorf
max`: well, I tried that earlier and indented further, but apparently my indent-offset settings are misconfigured, so indent-region is in fact the right function
max`: Thanks :)
ryouma
max`: that's a good idea. i have noticed that my final line before the mode line is slightly too short, which leads scrolling to be asymmetrical. so maybe i can reduce the mode line by a pixel or two.
max`
cool, for being helpfull here. you are welcome
(setq scroll-margin 3)
ryouma
12:35 <max`> when I move my mouse to mode-line, it pops a small hint says, mouse 3 switch to buffer in other window, but if I actually click mouse 3, it says <header-line> <double-mouse-3> is undefined, then how to create mouse 3 -- (define-key global-map (kbd "<mode-line> <mouse-4>") 'next-buffer)
max`
Thanks, but actually that is a headline, b/c I moved my mode-line to header-line, and I kind of forgot that is header-line
Cause I made a global hidden mode line minor mode to either hide mode line or lift it to header line
ryouma
ah
         

max`
are you using ace-window
ryouma
me? no
max`
I use both ace-window and switch-window
ryouma
i have a next and prev window command, and cycle to any window or frame using those
max`
the leading char for ace-window is too small, but switch window is quite clear
ryouma
i almost always use a single frame with a single window in it, fully maximized with no decorations
max`
then you will need switch buffer
ryouma
?
can you specify line height or line spacing, which are normally frame variables, for the mode line? i want to remove one pixel from the bottom of the mode line
max`
(custom-set-faces '(mode-line ((t (:height 0.1)))))
I do not know, but if you change the height, the chararacters will rescale, I think
ryouma
nope, that would be the entire mode line font
and i want the pixel aboce
v
lxsameer
I want to store some setting per each project on a file. which one is better? serializing and store a struct or storing elisp data directly?
bremner
json has the advantage of being understood by programs other than emacs.
max`
I do not know, brother
I recommend store into customize file
bremner
ugh.
lxsameer
bremner: json seems alright but I can't store functions with it
ryouma
(Action) thinks puget systems looks interesting, but wonders whether they charge too much
wgreenhouse
ryouma: where on their site do you get a price quote?
ryouma
wgreenhouse: dunno, i think youy have to jump through all the hoops
wgreenhouse
ryouma: nvm, it's the "Customize" button
ryouma: and I would say yes, they charge too much
their cheapest mini-pc offering, the Echo I, which looks like a nice step up from what I'm using right now, looks about twice as expensive as it should be in default configuration
ryouma
i tried one system and it came up with twice the price that pcpartpicker did, for soemthing similar, but dunno if i did it wrong
hehe
         

offby1
ryouma: wish I'd known about them years ago before I gave up on desktop linux
wgreenhouse
ryouma: sounds like 100% markup is their going rate :)
ryouma
i might try sending a pcpartpicker list to a local store and see if they can source and assemble it for a reasonable markup
wgreenhouse
I'm really pleased with the existence of mini-ITX and smaller boards
quiet thing that tucks behind monitor = win
ryouma
i heard those are dear though
(have to get sfx power supply etc.)
otherwise i'd do it; i won't be using a graphics card or anything
wgreenhouse
the Intel NUC models are reasonable, as are some of the ones from Shuttle
ryouma
i will look up shuttle. i think i ruled out nuc, but don't remember why.
wgreenhouse
ryouma: mine, purchased a couple of years ago and out of production now, is http://www.amazon.com/Foxconn-NTA350-0H0W-B--Hudson-Booksize-Barebone/dp/B00556F8BU/ref=sr_1_1/185-1072110-0932944?ie=UTF8&qid=1436649027&sr=8-1&keywords=Foxconn+NT-A3500+Nettop
rudybot
http://teensy.info/wvkFA9yRq7
wgreenhouse
I don't know if there's a direct successor to that model
my only complaint with it is that the wireless antennae are rubbish. I had very high packet loss with a nice new free-driver Atheros mini-pciE card I got for it
ryouma
part of my goal thoguh is to get a high end i5, because i want emacs to run faster
wgreenhouse
so, stuck with an external adapte
r
nod
ryouma
idg the vesa mounting thing. wouldn't that only work for monitors whose stands do not currently use their vesa mounts?
quxbam
how can I gzip a string in emacs? ungzipping works with `zlib-decompress-region'...
ryouma
anyway, my best guess is micro-atx because it will have more standard chipsets etc. (thus less chance of debian crapping out etc.)
wgreenhouse
ryouma: correct, it doesn't work if your monitor is already hanging from a wall or so
but it saves desk if your monitor is on a desk
ryouma
wgreenhouse: but don't most monitors use their vesa mounts for their stands?
wgreenhouse
ryouma: no?
ryouma
huh, ok
aidalgol
ugh, OpenWRT uses its own iptables rule notation...
avshalom
on emacs-w3m, i have a hard time going to anchors. for example, https://en.wikipedia.org/wiki/Prince-elector and then try to click on any of the Contents. Can anyone else confirm?
offby1
quxbam: it might be easiest to 1) write the string to a file; 2) run an external program like "gzip" on the file; 3) read the new file back
basphemy
did socks-open-network-stream get deprecated or something?
quxbam
offby1: i was hoping to avoid that, because the inverse is possible within emacs
wgreenhouse
avshalom: anchors seem to work okay in that particular wikipedia page, but I have had nonworking anchors in emacs-w3m before
avshalom
wgreenhouse: i wonder if i have a setting that is messing things up
basphemy
hrmm nope it's still in ./list/net/socks.el, why wouldn't socks-open-network-stream be defined after i (require 'socks) ?
wgreenhouse
avshalom: the emacs-w3m version here is the one I mercilessly lifted from debian's .orig source tarball for w3m-el-snapshot, because I needed the emacs24 patches and fu*k CVS
it's "emacs-w3m-cvs_1.4.538+0.20141022"
which looks pretty bogus
such production, very release
avshalom
hmmm i think i'm using the current cvs version. need to switch to a different computer, that gets around evil proxy server
or maybe i'm using the quelpa/github/emacs-w3m mirror...
wgreenhouse
basphemy: you shouldn't need to require socks, it's got an autoload, at least here
unless they broke that upstream of me
(still on 24.4)
avshalom: I've seen nonworking anchors in some newsletter that I read in w3m before
basphemy
wgreenhouse: cool, it's in the source i built from, C-h f brings up the doc for it, but in IELM i don't have it defined for some reason even if i explicitly load socks
wgreenhouse
basphemy: that's special
basphemy
ah nevermind turns out i'm an idiot
what decides whether a defined function gets autocomplete or not in IELM?
offby1
interactive mebbe
avshalom
wgreenhouse: thanks, not quite sure what to do. maybe i will send a bug report.
ryouma
i wonder if overclocking is price discrimination (giving you a better value for the same bugs if you are willing to work for it) or perhaps it increases bugs
avshalom
sounds like running melpa
wgreenhouse
ryouma: somewhere in between, I think; definite increase of value in exchange for shorter mean time between failures and higher chance of rare bugs
ryouma
interesting. then i won't do it.
wgreenhouse
I might still have my Palm Pre if it weren't so easy to overclock
ryouma
i figured since they set aside well-performing batches of cpus for overclocking (k models), that perhaps they do so at the point where overclocking means the same nubmer of bugs
wgreenhouse
certainly possible
you're wondering if maybe they miss some that were comfortably overclock-ready?
« prev 1 2 3 4 5 6 7 8 9 10 next »