logs archiveIRC Archive / Freenode / #emacs / 2009 / December / 2 / 1
quotemstr
Ah, artificial meat.
skorpan`
i hate it when i mix up #haskell and #emacs
quotemstr
Can you just imagine scaled-up production? Huge lumps of flesh thrashing in vats of nutrient broth as they're repeatedly shocked by electrodes...
jlf
mmmm... nutrient broth....
quotemstr
Rooms full of experimental cell cultures. Cages with animals mutated animals that never should have been born, living out their horrible days in dismal isolation...
PETA.
Horrible.
tromey
there's a great scene about that in the Merchants of Venus. or maybe the sequel
quotemstr
I like Margaret Atwood's conception (in Oryx and Crake) of a chicken that's just a digestive tract surrounded by muscle.
skorpan`
mmmm delicious
quotemstr
"Those are chickens," said Crake. "Chicken parts. Just the breasts, on this one. They've got ones that specialize in drumsticks too, twelve to a growth unit."
         

skorpan`
http://www.technovelgy.com/ct/content.asp?Bnum=1559
seriously though, that does sound delicious
quotemstr
Yum.
isomer
quotemstr: uhm, that's all chickens are, really
bbeecher
hey, the elisp manual claims that rings support roating, but I can't find the function to do so - anyone know what it's called?
bpalmer`
what rings are you talking about?
watermind
hi guys, my emacs says it cannot load xfonts :(
http://pastebin.com/d6f1d3f23
any idea how to fix this?
(file-error "Cannot open load file" "xfonts")
bbeecher
bpalmer`: (make-ring) rings - like the datatype
watermind
pastebin contains the full output with debug on
bbeecher
bpalmer`: is there different kinds? I thought kill/mark/whatever rings just used the same base type
bpalmer`
use ring-plus1
and no; unless something has changed in emacs, kill-ring is a list, not a "real" ring.
bbeecher
bpalmer`: that'll work, although I was hoping I could get rid of the extra bookkeeping by roating... oh well, I'll use that. Thanks!
hober
rings auto-rotate as you insert items
e.g.
(let ((r (make-ring 4))) (dotimes (i 10) (ring-insert r i)) r) => (2 4 . [8 9 6 7])
the idea is that you don't "do" the rotating yourself
jlf
that means they can descend safely to earth in case they lose power
bpalmer`
,df ring-insert
fsbot
ring-insert is a compiled Lisp function in `ring.el'.
(ring-insert RING ITEM)
Insert onto ring RING the item ITEM, as the newest (last) item.
If the ring is full, dump the oldest item to make room.
bpalmer`
the last line suggests otherwise.
or, hmm, perhaps I misunderstand what you meant.
hober
(rings have a fixed size
unlike the kill-ring)
bbeecher
hober: aha - I see. I was looking to use them more like a deque... Really all I want is a list of bools, so I guess I 'll just use a bool vector and deal with keeping track of where I am
quotemstr
DCC SEND x 0 0 0
hober
bbeecher: see ,,tq
         

fsbot
I think tq is tq.el, a utility to maintain a transaction queue
hober
which might be what you want, or might be an example of how to build what you want
bbeecher
hober: might be an example... I don't need anything this complex - I'm really just trying to write a copy of life :)
hober
,,life
fsbot
I think life is [0] brutal
[1] deadly,
[2] a bi**h,
[3] a bi**h and then you die
bbeecher
this is really awesome though - I had no idea that something like this was part of emacs
hober
heh. bbeecher: (find-library "life")
tensorpudding
conway's game of life is in emacs?
bbeecher
hober: haha yeah yeah, I know - I'm just cutting my teeth with elisp though
hober
fsbot: life is also life.el, Conway's Game of Life
fsbot
Added entry to the term "life"
bbeecher
hober: + I don't really like that one and mine will be better :)
hober
nice
bbeecher
,life
fsbot
life is, like, [0] brutal
[1] deadly,
[2] a bi**h,
[3] a bi**h and then you die,
[4] life.el, Conway's Game of Life
bbeecher
how did you add that phrase to fsbot? is "x is also" a keyword to give it?
hober
bbeecher: "foo is bar" for the first one, "foo is also baz" for subsequent ones
bbeecher
very cool, I'm going to have to read the source I think
watermind
is anyone using openSUSE? and if so could you provide me xfonts.el?
I don't have it on my system :S
my emacs fonts don't look anti-aliased
unlike my xemacs ones
any tips on making them nicer?
DraX
are you running 23?
watermind
yes
they look really nice on startup
DraX
is there a set-defualt-font in your init.el ?
watermind
DraX: I don't think I even have an init.el just .emacs
fonts look nice on the startup buffer
DraX
watermind: run emacs -q
watermind
ok
nopedia
emacs -Q
watermind
done
DraX
watermind: how do the fonts look?
watermind
same
just skipped the startup buffer
If I could just used the font that is used on that buffer I'd be happy :S
DraX
it should be the same font in all buffers unless the mode in the buffer is doing something weird..
watermind
for instance even in the startup buffer where it says:
"To quit a partially entered command, type Control-g."
all looks great except "Control-g"
which is using a different font
DraX
wtf
jlf
,xyzzy
fsbot
Nothing happens
watermind
which is similar/same to the one used in a new buffer
jlf
,plugh
fsbot
My FAVORITE group is "QUESTION MARK & THE MYSTERIANS"...
hober
"Control-g" is supposed to be in a different font on the splash screen...
watermind
yes
that font looks bad
the others look nice
and the font used when I'm editing a buffer looks bad like that one
http://www.mat.uc.pt/~jadrian/buffer.png
http://www.mat.uc.pt/~jadrian/startup.png
DraX: that shows how it looks :S
DraX
weird, you can try doing (set-default-font "fontname") to an xft font name
quotemstr
Anyone else watching Lyndon B. Johnso^W^W^WObama's escalation of the war in Afghanistan tonight?
watermind
DraX: any font you recommend?
DraX
watermind: Bitstream Vera Sans Mono is one you're likely to have
jlf
quotemstr: why do you hate america?
DraX
quotemstr: didn't he already do that before?
watermind
DraX: so... M-x (set-default-font "Bitstream Vera Sans Mono")
?
DraX
just type that sexp and hit C-x C-e
tensorpudding
dejavu sans mono is better
quotemstr
DraX: He's adding 30,000 troops.
DraX
(Action) uses inconsolata
quotemstr: lovely
tensorpudding
(Action) uses anonymous pro
DraX
quotemstr: will we be bring back the draft soon too?
jlf
plus contractors!
quotemstr
jlf: You have your talking points mixed up. *Everyone* hates America these days.
jlf: You mean mercenaries?
jlf
yeah, them
watermind
DraX: (error "Font `Bitstream Vera Sans Mono' is not defined")
etc etc
quotemstr
jlf: Damn euphemism treadmill.
jlf
it is a post-9/11 world, after all
DraX
maybe try adding -8
on the end
watermind
http://pastebin.com/m5e2787ce
the full error when I try to set bitstream vera
quotemstr
jlf: Well, it helps that the US's currency is the global way of measuring oil.
jlf
for the moment, yes
quotemstr
jlf: And that for some reason, people are still clamoring to buy US bonds.
watermind
(error "Font `Bitstream Vera Sans Mono-8' is not defined")
quotemstr
jlf: It's insane. Interest rates for US debt is still at record lows (meaning the government can borrow cheaply), despite record amounts of borrowing.
watermind
DraX: I'm looking at the list of available fonts, no bitstream vera there :S
tensorpudding
it's not always on there by default
watermind
ok
I selected deja vi
deja vu mono
looking better :)))
quotemstr
,dina
fsbot
From memory, dina is a free programming font found at http://www.donationcoder.com/Software/Jibz/Dina/index.html. It's great for Emacs.
watermind
what is the usual way to use greek letters in emacs?
MisterN
watermind: use unicode?
watermind
MisterN: yes but how...
MisterN: what's the usual way to input it
Overdrive
,selectinputmethod
fsbot
Overdrive: I heard SelectInputMethod is (info "(emacs)Select Input Method")
watermind
MisterN: are digraphs available
Overdrive
watermind: M-x select-input-method
set-input-method*
watermind
Overdrive: doesn't recognise the command
Overdrive
watermind: M-x set-input-method RET and choose greek or just press TAB and see all options
MisterN
M-: (info "(emacs)Select Input Method") RET
watermind
Overdrive: how can I check my current input method so that I can return to it afterwords?
Overdrive
watermind: i think it was current-input-method or something like that
MisterN
M-: ftw
Overdrive
current-input-mode
Function: Return information about the way Emacs currently reads keyboard input.
oops :-)
current-input-method
Variable: The current input method for multilingual text.
watermind
Overdrive: got not such thing :S
Overdrive: no M-x cur ...
Overdrive
watermind: it is a variable, not a function
so you should check the value of a variable C-h v
watermind
Overdrive: so how do I check its value?
sorry emacs illiterate here
:S
Overdrive: thanks
Overdrive
no problem
tensorpudding
the manual will do you good
watermind
the current value is nil
Overdrive
watermind: C-h v, C-h d, C-h f, C-h a, C-h t, C-h h, C-h w
watermind
thanks :)
Overdrive
and C-h i, all these keystrokes are really interesting, describe-variable, describe-function, where-is, apropos, info, help, tutorial etc... as emacs is autodocumented... it will be very useful for the future
some of them give you where is some command, others for what is some variable, others describe some function that yo don't know, others show you which function is associated to which keystroke and viceversa, etc...
i forgot C-h k for describe-key
tensorpudding
there are lots of useful help functions
consolers
good rahul left. i hope he's gone back to the j2ee world for good now
e1f
(Action) has been meaning to read orxy and crake
rahul is doing java? i thought he was a hardcore lisper
Overdrive
who is rahul?
twb
e1f: your typical hardcore lisper is already a hardcore $foo-er for multiple $foo
e1f
http://www.theregister.co.uk/2009/12/02/google_hiring_practrices/
perhaps, but iirc, he's working on some major airline rservation lisp project
twb
Haha, Kindle deleted Orwell's stuff? Until 2007, his works were in the public domain in .au!
tensorpudding
they only deleted one particular one i think
(ebook, that is)
twb
That's the main reason I read Orwell's article on cigarettes vs. books.
e1f
1984 was deleted
you're only finding about it now? it was big news
tensorpudding
they didn't have the rights to distribute it but did anyway, which was pretty lame
e1f
they were also sued by a student
and he won
« prev 1 2 3 4 5 6 next »