logs archiveIRC Archive / Freenode / #emacs / 2009 / December / 9 / 1
ams
rgr: YES!
belak
How do I get info about a certain variable?
e1f
c-h v
belak
Thanks
ngirard_
Is it possible to have 2 independent info buffers N
sorry
Is it possible to have 2 independent info buffers ?
skorpan
i know i always hit something in *info* which gives me another info buffer
by accident that is, i hate it
ams
ngirard_: yes, rename it.
skorpan: M-n
skorpan: which clones the current buffer..
very useful.
skorpan
yes, that's it
so why didn't you suggest M-n to ngirard_?
ams
i did.
         

skorpan
O_o
ngirard_
ams, do you mean M-n == rename buffer N
?
ams
no
ngirard_
ams, how can I rename *info* into *info2* ?
damn
M-x rename-buffer
ams
ngirard_: M-n
ngirard_
ams: okay, I got it. Very useful indeed, thanks very much
bbeecher
is there a built in flatten function in elisp?
ams
flatten function?
skorpan
[[1,2,3], [4,5,6]] ==> [1,2,3,4,5,6]?
keramida
nah
bbeecher
'(a b c (d e)) -> (a b c d e)
skorpan: yeah
skorpan
bbeecher: then concat
no uh
that's for strings
ams
no
rgr
gah. I'm beginning to think that laTex is the like Emperors New Clothes.
ams
,(concat '(123) '(345))
fsbot
{Y
ams
fsbot: you are cute.
fsbot
err..you is already something else.. Use 'is also'..
Currently: INNOCENT! .. + other entries
Nafai
bbeecher: I've used eshell-flatten-list from eshell in the past for that
skorpan
,(concat "hello" "there")
         

fsbot
hellothere
bbeecher
Nafai: ha, thats clever
skorpan
it "flattens" strings in a sense ;P
bbeecher
I already have a flatten function that I made as a exercise, but I'd rather use a built in if one exisist
buuuuut I'll just that. Thanks all!
keramida
bbeecher: `flatten' is often used as an exercise, and it *is* useful as a teaching aid to help Lispers understand how cons cells work
But it seems that it is not *very* useful for many other things, so nobody has bothered to add it :)
neosoothsayer
,yow
fsbot
..I'll make you an ASHTRAY!!
jlf
rudybot: quote
rudybot
jlf: Let's recommend stupid stuff to unicode and see what sticks/
DraX
the sad part is that works
jtoft
does anyone know how to collapse functions/brackets while editing php?
legumbre
,(mapcon 'car '((1 2 3) (4 5 6)))
fsbot
(1 2 3 4 5 6) ..(cons)
legumbre
,yow
fsbot
I own seven-eighths of all the artists in downtown Burbank!
neosoothsayer
,yow
fsbot
Fold, fold, FOLD!! FOLDING many items!!
legumbre
cluck: have you tried the ecl stumpwm you were talking about yesterday?
Nafai
keramida: Why would you say that flattening lists isn't useful?
ams
Nafai: it isn'tsomething you do oftne.
jordanb
It happens by deafult in perl. ^_^
keramida
Nafai: it's probably a combination of (1) not being used very often by Lispers, (2) being quite easy to write and (3) everyone having around the source from the exercise they did in Lisp 1-0-1 lessons
I'm not saying it's not useful *at* *all*. Just not very often :)
Nafai
I used it in this one case because I was doing a mapcar over a list of things that return a list and I really just need one flat list
jordanb
http://www.facebook.com/arizonagirl202 <-- Haha
technomancy
zomg; jordanb's secret identity is finally revealed!
keramida
vanity search in facebook
that's a new one
jordanb
It's the top link for my vanity search on google. D:
At least she's cute.
keramida
you have popular facebook profile
(Action) ducks
'a popular', dammit keyboard
jordanb
rudybot: quote
rudybot
I blame marsupials.
jordanb
rudybot: quote
rudybot
Let's use WIndows ME.
jordanb
rudybot: quote
rudybot
LETS SEED AN UBUNTU BITTORRENT USING MY DSL LINE!!!!
jordanb
I'd better join twitter before that chick from Kansas does.
keramida
hahaha
there is already a http://twitter.com/jordanb
jordanb
:<
rudybot: quote
rudybot
I'll spam you.
keramida
rudybot: fortune
rudybot
keramida: eh? Try "rudybot: help".
keramida
,fortune
fsbot
You're not my type. For that matter, you're not even my species!!!
paul424
is there someone nice, who could help me wiht installing haskell + emacs
keramida
ok I'm officially confused about the commands supported by each bot
,haskell-mode
fsbot
hmm, HaskellMode is at http://www.emacswiki.org/cgi-bin/wiki.pl?HaskellMode
keramida
paul424: try the wiki tips for installing haskell-mode
I haven't used it, by IIRC it has been written by Stephan Monnier, who is a rather active Emacs developer.
paul424
hmm last time I looked at it, it was poorly supported ... hmm hey this mode offers onoly syntax highlihgting , does it merge with haskell commandline ?
ish
Whats the equivalent xresource to -fn?
jlf
Emacs*font iirc
ish
yeah, thats what I thought.. gives different results tho.
jlf
did you merge the new .Xdefaults?
ish
yeah.
it does have affect, just not the same.
jlf
it produces different results with -Q ?
ish
oh.. actually no.
jlf
,-q
fsbot
hmm, -q is if you start emacs with "emacs -q" and the problem goes away, it's YOUR FAULT; check your .emacs. If "emacs -q" has problems and "emacs -Q" does not, it's caused by your distro or local admin.
ish
using fixed, and defintely not getting fixed when I have Emacs*font: fixed
jlf
i think the font precedence is something like .Xdefaults < specified in .emacs < specified with -fn
i'm sure i'll be quickly corrected if i'm wrong...
fledermaus
.emacs is evaluated after .Xdefaults, so that doesn't seem right
twb
.Xdefaults isn't evaluated by Emacs at all.
The X resource database is checked by Emacs
(urxvt is an aberrant out-of-spec counterexample.)
jlf
fledermaus: my list was intended to convey that the font would be the one specified by .Xdefaults, unless overridden by .emacs, unless overridden by -fn
twb
I think .emacs takes precedence over -fn
jordanb
rudybot: quote
rudybot
Let's lose 12 billion dollars per year.
jordanb
That sounds so quaint nowdays.
jlf
twb: that seems to conflict with his statement that he sees different results with -Q, no?
twb
If he uses -Q, then .emacs isn't loaded
jlf
precisely
twb
I'm rapidly losing interest in this thread
I need to teach one of my customers to generate a keypair. Where's a recommended HOWTO that will hold his hand while he does this?
johnw
for ssh?
keramida
ssh keypair?
twb
Yeah, for ssh
johnw
oh, that's way easier than X.509
jlf
man ssh-keygen
specbot
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/ssh-keygen.1.html
twb
jlf: that's plan B
keramida
It's probably as easy as running:
mkdir -p ~/.ssh
chmod 0700 ~/.ssh
ssh-keygen -t rsa -f ~/.ssh/myname_rsa
[ Follow the prompts ]
ssh-keygen -t dsa -f ~/.ssh/myname_dsa
[ Follow the prompts a second & last time ]
Now *installing* the public part of these keys on remote hosts, is a bit trickier, but it shouldn't be hard either.
quodlibetor
is there a good per-file way to set a font?
Something like # -*- font: Monospace-13 -*-?
or a good place to look for how to?
peter``
exit
jlf
(Action) wonders how many people still use dialup
twb
jlf: I use it to access some secure sites
Because they aren't allowed to have an internet connection
quodlibetor: can't be done
quodlibetor
twb: really? that's mildly irritating
twb
quodlibetor: the font family is a property of a face, and faces are shared between buffers
quodlibetor
twb: you don't happen to know the function name for SHIFT-BUTTON1-increase-font-size, do you?
twb
Try (global-set-key (kbd "C-+") (lambda () (interactive) (set-face-attribute 'default nil :height (+ 10 (face-attribute 'default :height)))))
quodlibetor
Thanks, that works, although the menu-method seems to make it buffer-local, wheras that one only affects buffers that are still set to the default
twb
quodlibetor: then try C-h k <click on the menu item>
quodlibetor
hm, that gives me the function for the menu
I think I can probably find it from there
and your function is more than good enough
thanks very much
jordanb
rudybot: quote
rudybot
Let's lose a war.
jordanb
LET"S LOSE TWO WARS!
keramida
Let's instigate seven wars and buy adequate amounts of popcorn!
Bonus points if most of them are religious wars or at least some of them involve vim/nvi users
johnw
what's nvi?
fsbot
I think nvi is a lightweight vi distribution (cf ,vim) .. + other entries
jordanb
the Sudanese chairman of the group of 132 developing countries known as G77 plus China, spelt out exactly why the poor countries he represents were so incensed.
"One of these things doesn't belong here."
"One of these things just isn't the same."
rudybot: quote
rudybot
Let's have an obsession with asian stuff.
cluck
i have an obsession with asian chicks, does that count?
jordanb
Me too.
They're totally submissive and up for anything, even really gross stuff.
OR SO THE INTERNET LEADS ME TO BELIEVE!
caoliver
Heh!
I wonder just what portion of material on the Intertubes is bogus these days.
obneq
@caoliver 60%
deerpig
jordanb: submissive? Thai girls like to tell their husbands, that if they cheat on them, they will cut off your di*k and feed it to the ducks...
jordanb
http://russnelson.com/ <--- AWESOME WEB PAGE! A++++
deerpig: Are you saying the internet is full of lies!??!
deerpig
jordanb: and not many hungry ducks....
developernotes
has anyone implemented autocomplete for inputing bookmark names?
twb
caoliver: per Sturgeon's, at least 90%
jordanb
rudybot: quote
rudybot
Let's make the battery explode.
jordanb
rudybot: quote
rudybot
I blame the scandians.
jordanb
rudybot: quote
rudybot
We should make an IPv5 that's not insanely stupid.
jordanb
rudybot: quote
rudybot
Let's be an angry drunk.
jordanb
rudybot: quote
rudybot
Let's have a race (condition).
ngirard_
if a is t, is b evaluated in (or a b) ?
twb
ngirard_: elisp's OR and AND are lazy
ngirard_
twb: cool ! thanks
« prev 1 2 3 4 5 6 next »