logs archiveIRC Archive / Freenode / #emacs / 2015 / July / 19 / 1
blaenk
yeah I guess I always view vim's that way too, but the way I see it is it's nice to be able to visualize when there are branches and jump to them directly
instead of the linear only way that seems like horse-blinders to me
dtw
undo-tree is sane way.
blaenk
:)
anyone know if there's a way/package to keep matches from searches like C-s, always highlighted, that you can toggle on and off?
like in vim :>
I like to search for something then view the document at my own pace in my own way, looking at the highlighted matches
parsnip
oh, like you can continue editing but highlights persist?
blaenk
sure, but that's not the only reason
I think you can do that with occur right
occur seems pretty awesome
but it's different from what I want. I'd like to view the whole file normally as if I hadn't searched, except the matches of the previous search are highlighted
whereas occur shows you the matches condensed, like each matched line, I think
shifty
blaenk: highlight-phrase ?
blaenk
http://stackoverflow.com/a/427047/101090 yeah it seems like that's the way
I wish I could still use C-s/C-r though
like in vim
so with C-s for example I can keep pressing C-s to jump to the next occurrence etc but then I want to break out from that while keeping the C-s searched stuff highlighted, perhaps to look at some other thing (instead of being locked to the occurrences)
then maybe press C-s again to continue
it's something I can do in vim, I'm gonna see if evil supports this
oh wow
woow, evil does it
dtw
C-s C-s will bring the incremental search again.
blaenk
and it's better than vim's lol
after not doing anything for a while, the highlights go away whereas in vim you have to explicitly hide them
sweet thanks dtw
         

dtw
And C-r C-r
blaenk
does anyone use solarized? there's two packages for it, one of them seems to support 'child themes' which seems very interesting
Natch
blaenk: it's neat, you define some colors and it will take care of everything else
blaenk
Natch: !!! especially because I could re-use the solarized colors too
instead of having to type out the hex colors again
I was gonna use customize to customize the way something was highlighted but I noticed it supports child themes so I'm gonna try that out
Natch: do you have any idea how I can find out this thing? https://github.com/bbatsov/solarized-emacs/blob/master/solarized.el#L1314
like how it says magit-log-author
do you know if there's some way to put the point over something and have it tell me what that is? in vim I did something similar
Natch
blaenk: c-h v
blaenk
cause at first I thought emacs only had general highlighting, like type, string, etc. but I saw this and maybe you can style more specifically after all
oh okay it's a variable
dtw
All those describe-* commands try to pick the current symbol.
blaenk
Natch: nah c-h v doesn't show magit-log-author
oh I see I used apropos
it says it's a theme-face
yeah so I'm trying to figure out how I could view the theme-face name or whatever of the thing the point is on, will look that up
oh yeah it's describe-face
bhahn
hey guys, trying to understand some emacslisp.. https://github.com/bbatsov/projectile/blob/master/projectile.el#L689 where does that it var come from?
cmack
bhahn: I believe that's from dash package which provides the --SOME. IIRC it provides the anaphoric 'it'
bhahn
hmm, so if im getting void-variable it errors, then it could mean dash isnt loaded?
wasamasa
possibly
ryouma
will dash be put in elpa?
or core?
wasamasa
also, it's nice to see the only thing I've contributed to dash.el being used by someone else than me
ryouma
i think i won't use it until either happen
Fuco
ryouma: because dependencies in emacs packages are so awesome, right?
ryouma
i am not on board with package managers yet
Fuco
literally nobody depends on any other package but their own... which shows how bad the situation is :/
even dash is only used by 100 or so packages, 25 of which are mine
and that's the most downloaded package on melpa...
ryouma
some of the anaphoric macros should be built in
i have to define awhen in terms of a special lexical-let that depends on emacs version :(
wasamasa
ouch
that shouldn't be necessary, really
         

bhahn
(i wiped my el-get dir and recompiled and the err seems to have gone away)
ryouma
wasamasa: emacs 23 did not have lexical scope, so you had to use the cl version
wasamasa
ryouma: I mean, surely this works without lexical scope, no
ryouma
feels unclean
Fuco
well magnars cleared the papers so it can get into elpa... I don't know if he's pursuing it yet
koz_
Hi all - EMMS is being weird again and refusing to play anything...
avshalom
,ding
fsbot
avshalom: ding is, like, [0] an emacs command to ring a bell (beep) or flash the screen if you use visible bell
[1] http://news.gmane.org/gmane.emacs.gnus.general,
[2] a gnus developer mailing list, ding@gnus.org,
[3] dong
ryouma
ok, somebody had to put the dong there because ding goes with dong and it felt wrong to leave the ding hanging?
blaenk
I got some little error message in the minibuffer or whatever it's called
but it disappeared, how can I see it?
offby1
this dong feels wrong too
blaenk: looking the *Messages* buffer
s/looking/look in/
avshalom
deeng dawng
offby1
yes?
(Action) gets up to answer the door
ryouma
blaenk: sometimes it does not show up in messages either, but usually it does
blaenk: (info "(emacs) Echo Area")
blaenk
heh found something evil doesn't do which is gn to refer to the search match, unless I'm doing it wrong
e.g. cgn changes the current match
wasamasa
yes, that's not implemented yet
blaenk
hmm maybe I'm doing it wrong https://bitbucket.org/lyro/evil/issues/327/gn-motion-not-implemented-yet
that seems to show it was implemented
wasamasa
F1 k gn
"g n runs the command evil-next-match, which is an interactive compiled Lisp function in `evil-commands.el'."
fommil
we run the ENSIME tests in batch mode, but it means that the process we launch with comint-mode is completely hidden. I'd like to output the comint contents to stdout (or at least to a file), is there any way to do that?
ryouma
;; for helping people on irc; fix silly default
(define-key Info-mode-map (kbd "c") 'my-Info-copy-current-node-name)
(defun my-Info-copy-current-node-name () "produce sexp." (interactive) (Info-copy-current-node-name 0))
blaenk
wasamasa: yeah not sure what that means though :/ that it should work afaik
escondida
ryouma: I approve
wasamasa
blaenk: I get an error that I need to customize my search method first to make use of it
blaenk
yeah I (setq evil-search-module 'evil-search)
ryouma
escondida: i don't know when this should be bound though. some info hook.
blaenk
I get search failed "no search pattern" now
« prev 1 2 3 4 5 6 7 8 9 10 11 12 next »