logs archiveIRC Archive / Freenode / #emacs / 2010 / June / 26 / 1
technomancy
anyone seeing Emacs crash when staging hunks in magit on the latest trunk?
s/latest/a few days ago/
palacechan
i just read that in search and replace \, (lisp-expression) is available...where can i find a list of available lisp-expressions, the only example i found used 'upcase', is this like lisp (elisp?) stdlib or what?
paroneayea
is there something like mapcar which only returns non-nil elements?
I'm looking to map through something but sometimes skip elements
quidnunc
palacechan: I think you can put any elisp there
tromey
you can use (delq nil list)
or similar
palacechan
quidnunc, where can i find a list of elisp expressions? stuff like upcase, downcase, etc..?
or functions i guess
abbe
technomancy, not crashing with staging, but experienced hung git-commit when tried to commit using magit
quidnunc
palacechan: The info manual is one place
palacechan: You basically have to learn elisp
palacechan
quidnunc, that's cool, thanks i'll go learn elisp now
         

quidnunc
palacechan: "apropos" is helpful to search a function by keyword
palacechan
quidnunc, oh very neat, so apropos searches like an elisp API or so?
quidnunc, apparently there is no elisp channel...
paroneayea
tromey: oh thanks
tromey
delq will modify your list, though
paroneayea
hm
yeah I don't want to modify it
quidnunc
palacechan: #emacs would be the place to discuss elisp as it is pretty much only used in relation to emacs
palacechan
quidnunc, ok cool that's good to know
quidnunc
palacechan: Is there something in particular you are trying to do ?
palacechan
quidnunc, not really, i just want to learn elisp so i can use emacs better
quidnunc, so i'll just go read a manual and play in *scratch* for a bit
Astrobe
palacechan: there -> http://steve-yegge.blogspot.com/2006/06/shiny-and-new-emacs-22.html
palacechan
Astrobe, thanks, nice link...C-q C-j i didnt know about that
vinjacob
if you're running emacs in a terminal, what's an easy way to open urls, eg. the one mentioned above?
abbe
vinjacob, emacs-w3m ?
vinjacob
the last version that I see is from 2005, 1.4.4 is that still being developed/supported?
rryouumaa
vinjacob: ,,browse-url
fsbot
rryouumaa: From memory, Browse-URL is [0] (info "(emacs)Browse-URL")
[1] http://www.emacswiki.org/cgi-bin/wiki/BrowseUrl
rryouumaa
vinjacob: nobody should use the stable w3m. cvs is better.
,w3m
fsbot
[->] I think WThreeM is [0] at http://www.emacswiki.org/cgi-bin/wiki.pl?WThreeM
[1] apt-get install w3m-el,
[2] http://w3m.sourceforge.net,
[3] not EmacsWThree,
[4] see also: w3mmee,
[5] at http://www.emacswiki.org/cgi-bin/wiki.pl?w3m,
[6] see http://emacs-w3m.namazu.org for the upstream site., ..[Type ,more]
rryouumaa
,emacs-w3m
fsbot
emacs-w3m is, like, http://www.emacswiki.org/cgi-bin/wiki/emacs-w3m
         

rryouumaa
,w3m
fsbot
[->] hmm, WThreeM is [0] at http://www.emacswiki.org/cgi-bin/wiki.pl?WThreeM
[1] apt-get install w3m-el,
[2] http://w3m.sourceforge.net,
[3] not EmacsWThree,
[4] see also: w3mmee,
rryouumaa
,more
fsbot
[5] at http://www.emacswiki.org/cgi-bin/wiki.pl?w3m,
[6] see http://emacs-w3m.namazu.org for the upstream site., ..[Type ,more]
[7] see entry for emacs-w3m
rryouumaa
everybody thinks w3m sucks because they use the stable version
paroneayea
I'm having trouble with this emacs lisp. It seems to work when I run it as non-advice, but when running it as advice it doesn't seem to work:
abbe
paroneayea, Emacs doesn't like your advice :)
paroneayea
http://paste.lisp.org/display/111866
rryouumaa
does everybody take your advice always?
paroneayea
apparently not this time anyway :)
it works when like: http://paste.lisp.org/display/111866#1
oh I see.
oh I guess it should be closer to
http://paste.lisp.org/display/111866#2
quidnunc
palacechan: That article that Astrobe linked to has some really nice examples of regexp-replace tricks using elisp expression. You should read it if that is what you primarily interested in.
palacechan
quidnunc, i will, i saved it...im not jsut interested in that, i want to in general be able to do nice stuff like that with elisp and emacs..he even mentions learning elisp is useful so im learning that first
dim
how to amend commit in magit already?
quidnunc
dim: C-c C-a
dim
yeah, just found
I did have to use the manual. A shame. :)
thx you very much nonetheless!
technomancy
(Action) makes a mental note to record the current working revision before pulling in the latest Emacs trunk.
paroneayea
(Action) can't seem to get advice to work at all, even copying and pasting examples :\
http://paste.lisp.org/display/111867
this should message test every time I split vertically now... right?
technomancy
anyone got a sha1 for an Emacs version from before magit started breaking?
paroneayea
because it isn't
technomancy
went back to june 9 and it's still busted; wondering how far back I need to go.
it was working mid-may
paroneayea
oh I'm not crazy!
it works when I start a new emacs instance
something's messed up
tax0n
hello world!
yg
sellouts == vim users.
e1f
\n
yg
e1f: \v
e1f
i was making a critique of tax0n's greeting
c3l
does most emacs users use the gui version? or why is it the one launched as default for "emacs" and emacs -nw for terminal version
mosno
c3l: i use GUI
c3l
so far thats 100% gui =) if you dont mind tellinng me, why?
im new to it and curious
and he went away
technomancy
c3l: for me it basically comes down to making it easier to copy/paste between apps
if you run it in a terminal you have to use the mouse to do that.
c3l: also before I discovered tmux it was hard to get full-color support in the terminal.
c3l
ah I see
rgr
you dont have to use the mouse. You can use the xclip program too.
I used to use it. But in the end gave up using emacs in a terminal in tmux as simply too many defaults needed key combos not supported.
jlf
,,...
fsbot
[In the distance, you hear a dog bark]
legumbre
,ping
fsbot
pong
JordiGH
Hm, I need Octave colours...
legumbre
#888888
rryouumaa
how hard is it to clean up the audio of a web-hosted video if it is a bit hard to make out the words? i'm on a mac atm, and so perhaps not feasible now, but i'm curious if it's easy enough that some people do it when they need to on say debian
JordiGH
legumbre: Hahaha.
legumbre: Perfect grey. :P
yg
JordiGH: Hello :)
JordiGH
yg: I'm just here for the lisp.
yg: Although yes, I do come here often.
yg
I asked this?
legumbre
yg: yes you did, some days ago.
JordiGH
I thought you were picking me up.
yg
legumbre: What?
legumbre
yg: we all remember.
yg
You people are evil.
e1f
http://www.ink-d.co.uk/artists/modern-toss/all/periodic-table-of-swearing
legumbre
(Action) is happy he gets to watch tommorrow's match with his dad! \o/
JordiGH
Is .uy playing?
legumbre
JordiGH: yeah! vs s. korea
yg
You people use emacs.
What does this mean!
legumbre: Korea can't play football, btw.
legumbre
yg: well, they made it among the 16, so I'm not so sure about that.
JordiGH
Did Best Korea get eliminated?
Or did they get pardoned?
Portugal was just cruel.
Those poor Best Koreans are gonna get their hands cut off.
legumbre
JordiGH: they were eliminated
ehm... from the worldcup.
_danb_
they did a good job back in 1966
JordiGH
So wait, Mexico has a chance of knocking out Argentina?
legumbre
JordiGH: and you will
JordiGH
Haha.
Doubt it :<
legumbre
(Action) is confident
JordiGH
Yeah, .uy and .mx rematch in the final, amirite?
legumbre
\o/
JordiGH
Oh, god I'm so nervous.
Argentina.. and if we win... Germany or England.
Oh, wow, there's been two own goals.
legumbre
in what, 100 total goals?
JordiGH
Still, own goals in the world cup... that's pretty embarrassing.
legumbre
7-0 is embarrassing
JordiGH
No, that's just dangerous.
legumbre
that shouldn't happen
JordiGH
I hope all of those players managed to get political asylum
legumbre
I'd seek political asylum in Madagascar
will all the cute talking animals
rryouumaa
talking, wow
legumbre
rryouumaa: amazing huh?
(Action) heads home
girzel
My iBook G4 is no longer capable of mac OSX, I'm thinking of installing a basic linux and using it for emacs only, I'd like to avoid X altogether and just use console. Does this sound feasible? Any recommendations for distros? I'm looking at arch
yg
girzel: www.funtoo.org
Source based, however.
pjb
girzel: emacs on X11 is really much better than on a console.
girzel: if only for the key chords.
rryouumaa
hyper is very useful
girzel
No key chords on a console?
glad I asked
rryouumaa
there are chords on console
girzel
what's the deal with hyper?
rryouumaa
?
girzel
rryouumaa: I mean, what's the difference between modifiers on the console and modifiers under X11? You seemed to be saying I'd lose hyper on a console-only setup.
pjb
That's what I believe, yes.
AFAIK, the console is just a terminal, and has the ASCII limitations of a terminal.
I may be wrong.
rryouumaa
yeah some keys just won't work on an xterm or console. nobody really remembers which
i think on a mac terminal, you won't even get meta working, but i'm not sure. you can always escape of cousre.
and colors are limited as is mouse
otherwise it works fine
fujin
on OSX, I have alt/option as meta. there's also cmd-key-happy (service) that switches Command to Meta (configurable) for particular applications.
just sayin'
girzel
losing nice colors and the mouse I expected, but no meta would obviously sink the ship
rryouumaa
well, fujin probabaly know what he's talking about
you have to just try it
girzel
I've got Command as Meta now, but I'm planning on getting rid of OS X altogether
rryouumaa
with linux you have a lot of terminials, probalby all with different capabilities
fujin
recently I've been considering the same, almost can't justify running Ubuntu on this brand new i7 MBP though :)
girzel
Yeah, I'll just give it a shot and find out. I figured arch would let me build incrementally, first just console and then X11 later, if necessary
fujin
pretty happy with iterm+console emacs from git head
fo full screen haxing
Sketch
which modifier keys supported on the console on PPC may be different than on x86
+are
girzel
mostly this machine is just dog-tired, graphical anything seems to be a strain
pjb
Besides, it may be easier to edit an ~/.Xmodmap file than the keymap needed to modify the mapping of a console keyboard.
Sketch
btw, i find leopard runs ok on my 1.25GHz G4 mini...though it doesn't see very heavy use
girzel
Sketch: G4 mini is PPC, yes?
Sketch
yes
girzel
dunno what's going on here, my blood pressure goes up just waiting for applications to switch. This isn't my main machine and the other's a linux, so I figured what the hell.
Sketch
ah
p_aykroyd
I installed ubuntu on my old mpb and although mostly everything worked great, I had to restart everytime it fell asleep and the battery life went from about 2 hours to 45 minutes.
Sketch
how much memory?
girzel
768
oh, sorry
Sketch
ah
i would think that would be ok, thouhg a G4 is never going to be speedy
but i wouldn't think it would be _too_ bad
p_aykroyd has a point about power management though, it may not work as well as OSX
« prev 1 2 3 4 5 next »