logs archiveIRC Archive / Freenode / #emacs / 2015 / September / 24 / 1
d125q
wgreenhouse: It is auto-save files that I see
wgreenhouse
d125q: that regexp looks bogus but I'm not sure exactly how
I used to have '((".*" "~/.emacs.d/auto-save/" t)) as the value for that
d125q
wgreenhouse: does setting the cadr of auto-save-file-name-transforms to a _directory name_ really work though?
wgreenhouse
d125q: yes
in fact that's what I've usually set it to be
hm. for some reason I never ported that part of my config to this host
I wonder why not
catern
wgreenhouse: oh, yeah, I know, I just mean it seems larger that usual
d125q
wgreenhouse: Thanks. The example you posted works quite well. I still wonder why doesn't though. Do you know if the regexp gets matched against the full path of the file, or only the file name?
catern
er... larger than expected, I gues
s
not usual
wgreenhouse
d125q: I think it must match against the full path, because the default value is trying to detect ,,tramp,, file paths to send them to /tmp/
fsbot
TRAMP -- [0/5] an Emacs library that implements transparent remote file access over a number of protocols (ssh, sudo, rsync, ftp, ...) <http://emacswiki.org/wiki/TrampMode>, <http://savannah.nongnu.org/projects/tramp>
[1] integrated with M-! (shell-command) and M-x eshell, but not M-x shell
[2] disgustingly cool
[3] that things that no other editor and/or IDE are just able to do! ..[Type ,more]
         

wgreenhouse
d125q: i.e. it's matching against the /protocol:user@host:// stuff
d125q: but the docs, both info and C-h v, are...laconic.
catern
fsbot: TRAMP is too integrated with M-x shell
fsbot
whoops, TRAMP is already something else.. Use 'is also'..
Currently: an Emacs library that implements transparent remote file access over a number of protocols (ssh, sudo, rsync, ftp, ...) <http://emacswiki.org/wiki/TrampMode>, <http://savannah.nongnu.org/projects/tramp> .. + other entries
catern
just not directly
taylanub
soo, after restarting Emacs my spell checking is broken entirely...
bonhoeffer
im trying out emacs and want to write julia code  i found a julia-mode.el  how can i enable it?
d125q
wgreenhouse: Apparently it is nice to have a trailing slash. Directory name (including a trailing slash) with UNIQUIFY results in nice behavior.
wgreenhouse
I see
taylanub
it seems I have ALL three of ispell, aspell, and hunspell installed, plus some dictionaries
wgreenhouse
d125q: for some reason I abandoned this part of my config when I did my last OS install--perhaps because I was worried about keeping auto-saves accessible even in the event of that part of .emacs not getting loaded
bonhoeffer
is there a good link to get started on how to incorporate .el files to enable modes?
or is this a good one: http://ergoemacs.org/emacs/emacs_custom_system.html
taylanub
wohoo, (setq ispell-program-name "hunspell") FTW
holomorph
bonhoeffer: all you need is two lines of elisp. an autoload and adding the mode to the variable auto-mode-alist
bonhoeffer
holomorph: excellent  thanks  in something like my init.el?
holomorph
bonhoeffer: yeah
bonhoeffer
got it  thanks!
holomorph
good luck
bonhoeffer
thanks 
csd_
What would be the elisp to split a string like so "ABCDEFGH" => "AB CD EF GH" ?
bonhoeffer
i dont need an init.el and a .emacs right  they both do the same thing
?
         

Fuco
haha, I'm watching undocking from the MKS, and they announce "Next stop, Planet Earth"... that sounds so badass
eh, MKS = ISS
e1f
(Action) is waiting for them to say "mars" or "jupiter" or "saturn"
Fuco
the russian announcer just said it as if it were the next stop of moscow metro :D
and mars is coming too!
ane
space is probably dirtier than the moscow metro
roadie`
bonhoeffer: right.
Xof
csd_: something like (let ((i 0) (string "ABCDEFGH")) (with-output-to-string (while (< i (- (length string) 2)) (write-char (aref string i)) (write-char (aref string (1+ i))) (write-char ?\ ) (setq i (+ i 2))) (princ (substring string i))))
Fuco
ane: you put too much faith into moscow metro
e1f
leo is pretty cluttered, but most of space is empty
kodein
as the name would suggest?
jlf
mind=blown
bremner
gives a whole new meaning to "mind your P's and Q's"
ane
the moscow metro is probably cleaner
Fuco
ane: hmm... given that most of space is complete vacuum
bremner
that's what they want you to think
ane
there are vacuums everywhere
say, in the head of your average schemer
kodein
rudybot: what's out there but atoms and the distance between them?
rudybot
kodein: That is, the semantics of the object-program depends on how the meta-program was written, because there is a global map from atoms to modules and from atom/atom/arity triples to function bindings that the bifs respect.
bremner
bifs respect??
fsbot
Definitely
Fuco
atoms are just imaginary anyway
wgreenhouse
rudybot: respect my atomicity, bruv.
rudybot
wgreenhouse: sup bruv
ane
rudybot: when Rrtherford showed atoms were mostly empty space, did the ground become any less solid?
rudybot
ane: it allows for prefixed and postfixed atoms and lists, otherwise it's too brackety
ane
good answer
capitaom`
hi, does anybody know of an emacs lisp function that, given a region and a text property returns continuous sub-regions where that property is non-nil
?
I'm trying to write one with `next-single-property-change' but I'm kinda lazy and thought such a thing might exist already
wasamasa
csd_: don't manipulate strings, manipulate buffers
catern
hmm
how do I get the actual remote directory path from a tramp directory path?
like, I have /ssh:host:/some/long/path and I want /some/long/path
wasamasa
csd_: but if you insist, (replace-regexp-in-string "\\(..\\)" "\\1 " "foobar")
catern
got it
(file-remote-p "path" 'localname) works
sigh
returns nil if it's remote
makes sense actually
wasamasa
lolwut
catern
great
it works!
i just patched sml-mode to work over TRAMP
time to submit a patch to stefan :(
wgreenhouse
catern: I think you mean time to submit a patch into the void left by stefan's departure
catern
wgreenhouse: indeed :(
wgreenhouse
which might be worse :)
catern
that's what I meant by my :(
(it is like he's died)
(well, he's dead to me)
wgreenhouse
or like we're dead to him :(
probably better that way; it's hard to shift habits without removing yourself from the environment
Fuco
I too would be pissed if I had this horde of angry goodfornothings on my neck all the time
wgreenhouse
huh, some insight on how the VW emissions test "defeat device" may have worked: "detection was likely based on a combination of sensor data from the car, which might include steering angle (since cars on dynamometer tests don't make turns), front-wheel versus rear-wheel rotation speed, ..."
http://www.csmonitor.com/Business/In-Gear/2015/0922/VW-diesel-emissions-recall-widens-10-things-you-need-to-know
rudybot
http://teensy.info/ssOidEkXbA
« 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 26 27 28 next »