logs archiveIRC Archive / Freenode / #emacs / 2015 / July / 4 / 1
fommil
wasamasa: heh, I just found your gotham theme. I have a friend who would love that.
wasamasa
fommil: I find it funny how everyone I know in person has come to not like a few weeks later at most
fommil: including myself
fommil: I haven't designed it though
fommil
heh
thevishy
i thought you use solarized - is that so or do you use gotham
fommil
wasamasa: I was too long in IntelliJ and got addicted to darcula, so I ported it.
wasamasa
thevishy: I've used gotham for two weeks
thevishy: then went back to solarized dark and since then only did small fixes
thevishy
ok nice i use molokai - slightly customized here
wasamasa
I might design something myself if I ever get fed up with solarized
I don't like the light variant, so I'll probably make something neutral
thevishy
i usually like the greyish background - all other colors usually hurt me
         

fommil
funny that, I just got my new DVORAK keycaps today https://github.com/fommil/kinesis-dvorak#results
so, to go back to my emacs question :-) does anyone know much about the quirks of -batch mode? i.e. why is my emacs exiting when I'm launching a Process?
reactormonk
fommil, automatic ensime tests?
fommil
so in my -batch job, I'm starting up a process and passing in a lambda to run which is triggered by the sentinel. Does the main thread maybe keep going and then just close the app? Do I need to mark the process as non-daemon or something?
reactormonk: yeah, we've had them for ages
hmm, I'm pretty sure my (sit-for 30) is only sitting for 3 seconds
maarhart
wasamasa: isn't solarized a bit ugly when used with org mode, specifically with org-agenda?
wasamasa
maarhart: dunno, not using org much
maarhart: it's also customized
maarhart
ok
fommil
does anyone know if sit-for can exit early?
I'm trying to get my -batch app to not exit and I'm pretty sure (sit-for) is exiting really quickly.
docs say (sit-for) cannot be interrupted in -batch mode, which sounds like a big fat lie to me http://www.gnu.org/software/emacs/manual/html_node/elisp/Waiting.html
orgnub
can code blocks in org mode use the local mode without C-c '
orgnub: im pretty sure its impossible but emacs has suprised me before
SpikeMaster
tommyh is a pretty good light theme.
fommil
ha! Screw you "emacs -batch" that apparently doesn't interrupt the (wait-for)... (while t
(sleep-for 30))

muahahaha!
RusAlex
how to get help about balanced expressions ?
what is it and where it works
suppose it's something for specific modes. I have to yank anything inner { }
fommil
RusAlex: you want SmartParens mode. It is *awesome*
RusAlex
fommil: it's not in my default emacs installation
fommil
RusAlex: you can't install https://github.com/Fuco1/smartparens ? It's on MELPA
RusAlex
yes I could
fommil
RusAlex: forget all others, just read the docs, install, and never look back.
the only thing is that it doesn't restrict to just the language's braces by default, which kindof annoys me.
but you can restrict: e.g. https://github.com/fommil/dotfiles/blob/master/.emacs.d/init.el#L462
it has exceptionally good docs
RusAlex
Im trying to switch from vmi to emacs
but my day to day tasks are still very productive with vim
and I want to find a way of effective switch
fommil
RusAlex: what is your main programming language?
RusAlex
all about web
web-dev
js, php, coffee, raw sql
bash
fommil
RusAlex: I recommend the recently published book Mastering Emacs which might give you a good overview of the philosophy behind all this sort of thing. You'll learn a lot about the built in s-exp navigation.
actually I'd like a good emacs DB interaction mode. It could just piggy back off all the Java JDBC drivers.
         

RusAlex
seems like community around of emacs is much wider that vim, and extending emacs with elisp better than with vimscript/python or perl
fommil
like Squirrel
yes, emacs-lisp, for all its failings, is the best thing about Emacs
RusAlex
in vim I just write raw sql, then I have a mapping to pass the file name into sql cli interface
with no any specific mode.
fommil
you might want to follow @bodil on twitter for that sort of stuff
RusAlex: yeah, I'd like something more integrated. Ever used SquirrelSQL? Imagine that as an emacs mode. Wow.
IntelliJ has something similar and its really nice to have that integrated with your code
RusAlex
Yes, emacs has different modes and every mode can be extended, this is what Im looking for my every day work
wasamasa
so you're looking for extra ways of procrastion?
fommil
:-)
RusAlex
better way to work with text files
fommil
RusAlex: it's a steep learning curve, but stick with it.
RusAlex
fommil: yes I understand... just sometimes afraid of spend whole working day in emacs
fommil
RusAlex: but for balanced parens, that plugin by fuco is the absolute best. You'll find there are usually a few ways of doing everything in emacs. And there is always a really sh*tty version that comes with emacs... so your first mistake is usually going to be using the built in functionality :-)
RusAlex
fommil: why emacs versions are bad ?
why community just do not replace it . Who is against of it?
fommil
RusAlex: legacy, mostly. Community release their own fast-turnaround versions on MELPA.
in fact, getting MELPA (or marmalade) set up is one of the first things you should do.
then you can install things by typing `M-x package-install RET package-name`
(I even have a little function that will lazily load the package, installing if missing) https://github.com/fommil/dotfiles/blob/master/.emacs.d/init.el#L108
RusAlex
thats a bad news for me. that I have to start installing packages.
fommil
RusAlex: it's like one line in your config file
RusAlex: you don't need to do anything manually, it all gets auto downloaded into your ~/.emacs.d/elpa
but some people use emacs just as it comes. I pity them.
wasamasa
don't pity RMS
RusAlex
no no. You have to extend it. for your own circumstances
it's obvious
but on start better to understand kernel. I had an attempt to install lots of plugins with emacs ages ago. And made it slow animal . Then switched to vim
fommil
wasamasa: I think RMS' .emacs file probably counts as the Mother Of All Extensions
RusAlex
fommil: do you use emacs for your emails ?
at the moment I use mutt
fommil
RusAlex: you mean startup time? emacsclient solves that. Or use lazy loading. You can have a bajillion extensions, but emacs will still load instantly.
RusAlex
with emacs editor inside
fommil
RusAlex: yes, I use notmuch (all via gmail/IMAP). Really minimal and nice. My dotfiles (linked above) have all the setup you need.
RusAlex
ok , have a nice day.. it's too late here
SpiderPig
the extensions can be a pain if you work in a lab enviroment where you have little control of the configuration
SpikeMaster
test
legumbre
test failed
ndegruchy
If I wanted to change the way selected text looks, what face option would I be looking to customize?
SpikeMaster
region
ndegruchy
Thanks! That'
That's perfect
m_zr0
https://www.youtube.com/watch?v=JWD1Fpdd4Pc&spfreload=10 why have i been watching this for 25 minutes...
snacktoa
has anyone got god mode to play well with multiple cursors
I get bizare behavior when toggling out of god local mode
« prev 1 2 3 4 5 6 7 8 next »