logs archiveIRC Archive / Freenode / #emacs / 2009 / December / 20 / 1
ams
thing is. people should get through their heads that C is a memory manipulation language. strings are just foo\0 nothing else.
jordanb
rudybot: quote
rudybot
Let's patent troll.
ams
sighs
how can i force gcc to not use lib64/
bremner
err, on gnewsense? Ask the other user :)
DraX
<3
ams
bremner: on .. irrelevant.
jordanb
bremner: Haha
bremner
(Action) is puzzled that ams is running gcc on jordanb's age
         

jordanb
The other user is RMS, and I don't think he's still accepting email from ams.
ams
jordanb: interesting, seeing that richard mailed me just yesterday
(reply)
jordanb
After ams decided that Stallman is his "mentor" things got a little .. weird.
kodein
I know a guy or two who use gnewsense, tho
ams
jordanb: never considered that, so please refrain from spreading lies.
nimred
wich way to manage several mail counts for an only person using bbdb ?
inclement
Trying to make flymake work with LaTeX in emacs23. I've put ' (defun flymake-get-tex-args (file-name) (list "latex" (list "-file-line-error-style" file-name)))' in my .emacs as per the wiki, but when I try to run it I'm told that 'chktex could not be initialised'
Any ideas what hte problem is?
jordanb
rudybot: quote
rudybot
I love it how the ubuntu wankers all install automatix.
al23
Hi! Which character encoding is used by default in an automatically saved file? I have ~/#foobar.txt#. foobar.txt is UTF-8, #foobar.txt# is not.
jordanb
It should be.
What makes you think it isn't?
ams
grrrrrrrrrrrrrr
al23
jordanb: `cat #foobar.txt#`, with UTF-8 locale.
ziyv
why "...function in `tex-buf.el'." is not in the buffer of describe-function TeX-run-command?
jordanb
What do you see, and what do you expect to see?
ams
jordanb: can you hunt down the moron who came up with /lib64?
ziyv
i want to see "...function in `tex-buf.el'."
rads
anyone know why when I do `lein swank` I get "Could not find clojure.main. Make sure you have it in your classpath"?
woops, wrong channel
al23
The encoding is emacs-mule-unix, but I need utf-8.
How do I convert it to utf-8?
nimred
any pdf version of bbdb manual ?
         

ams
nimred: if it is written in texinfo, then you can make one.
hmph.
emacs got killed due to oom...
nimred
ams ok done thanks
boscop
normally ido should keep a list of recently visited files and suggest them if I type a buffer name that doesn't exist. but it doesn't seem to work but worked before. what could be the reason?
jordanb
rudybot: quote
rudybot
Let's revoke the GPL
ams
lua is a simple language..
C: if (value & 0xC)
if ((value - (math.floor(value/8/2)* 8 * 2+value%8)) + (value - (math.floor(val
ue/4/2)* 4 * 2+value%4)))
in lua
or!
((val1%2^8-val1%2^7)/2^7*(val2%2^8-val2%2^7)/2^7)*2^7 + ((val1%2^7-val1%2^6)/2^6*(val2%2^7-val2%2^6)/2^6)*2^6 + ((val1%2^6-val1%2^5)/2^5*(val2%2^6-val2%2^5)/2^5)*2^5 + ((val1%2^5-val1%2^4)/2^4*(val2%2^5-val2%2^4)/2^4)*2^4 + ((val1%2^4-val1%2^3)/2^3*(val2%2^4-val2%2^3)/2^3)*2^3 + ((val1%2^3-val1%2^2)/2^2*(val2%2^3-val2%2^2)/2^2)*2^2 + ((val1%2^2-val1%2^1)/2^1*(val2%2^2-val2%2^1)/2^1)*2^1 + (val1%2^1)*(val2%2^1)
jordanb
rudybot: quote
rudybot
LET'S HAVE UNPROTECTED MEMORY!
jordanb
heh
meanburrito920_
rudybot: quote
rudybot
meanburrito920_: We should get a tattoo of the arc logo.
soopos
How can you execute Python code under cursor similarly as Vim's ":<,>!python"?
kodein
under cursor?
rgr
py-execute-region, C-c |
"region"
its all in the python mode menu.
magcius
anyone in here use pymacs?
I'm getting an error: "list index out of range"
soopos
What is the easiest way of removing a column which indicates linenumbers at the beginning of each line?
rgr: Thank you!
rgr
you mean delete a column?
C-x r d
quidnunc
soopos: keyboard macro if the column width varies over lines
skorpan
even regex replace could do the trick
soopos
skorpan: My problem is the beginning space at "^ ?[0-9]*", since it does not remove the beginning space for some reason.
* it should match " 1 .../ 2 .../ ..... /11...
quidnunc
soopos: Are you sure it is a space and not a tab?
soopos: Try ^\s-?[0-9]*
soopos: Also regexp-builder
cthuluh
Hi guys, I wanna know whether one here had succes using *emacs-chess* on window$
timcharp`
hi scary frightening cthuluh
cthuluh
I've got a friend who is blind, and it is his only way to play chess
I know, I have no experience about windows...
timcharp`
,,cthuluh
fsbot
Two LITTLE black dots and one BIG black dot...nice 'n' FLUFFY!!
nca
cthuluh: you've a blind friend too ? ;)
cthuluh
prick !
nca: ask by yourself :P
nca
cthuluh: it's nice, go on :)
cthuluh
(sorry for my english which is scary too...)
soopos
quidnunc: Thank you!
fledermaus
zzz
soopos
How can you then remove the selection under regex-builder?
quotemstr
Anyone here use distcc?
Any experience using the Apple compiler?
quidnunc
soopos: I think it is C-c C-w. It will be in C-h m in any case
clang?
antoszka
Is it possible to make emacs display trailing spaces on lines in a different colour (analogous to vim's: set listchars=trail:<some_char>)?
ams
,whitespace-mode
fsbot
try: ShowWhitespaceMode WhitespaceMode
antoszka
(I'm extremely attached to the different colour bit.)
ams
,df whitespace-mode
fsbot
whitespace-mode is an interactive compiled Lisp function in
`whitespace.el'.
(whitespace-mode &optional ARG)
Toggle whitespace minor mode visualization ("ws" on modeline).
If ARG is null, toggle whitespace visualization.
If ARG is a number greater than zero, turn on visualization; ..[Type ,more]
antoszka
,more
fsbot
otherwise, turn off visualization.
Only useful with a windowing system.
See also `whitespace-style', `whitespace-newline' and
`whitespace-display-mappings'.
ams
how about having a function that strips trailing new lines?
quidnunc
antoszka: (setq show-trailing-whitespace t)
ams
far easier than hunting them down.
antoszka
ams: That's another thing.
quidnunc
,delete-trailing-whitespace
fsbot
trailing is, like, M-x delete-trailing-whitespace
antoszka
ams: But that's simple.
ams
excuses.
antoszka
thx
soopos
How can you reset your current edits and go back to the last save? - I made many changes so it would be very time-consuming to press C-x u many times.
quotemstr
M-x revert-bufer
buffer, even.
soopos
quotemstr: Thank you!
fsmunoz
soopos: not directly related, but you can presfix a call to C-x u to undo "n" times. Like C-u 20 C-x u RET
quotemstr
fsmunoz: I've never had a reason to do that.
fsmunoz: How are you supposed to know how many changes to undo?
fsmunoz
quotemstr: well, sometimes I have an estimate
which brings me closer, and then I simply do C-x u
soopos
fsmunoz: Thank you for pointing that out!
fsmunoz
yw
ams
i'm bored.
soopos
What is "to look-up a word written-before" in Emacs, similar as Vim's C-n?
ams
soopos: read the manual.
timcharp`
I love Emacs !
ams
i love breasts.
timcharp`
soopos: M-/ is the default binding to complete words in all buffers
offby1
Which is more dead -- IPv6, or Perl6? Discuss
ams
offby1: you are more dead.
timcarper
offby1: wasn't aware IPv6 was dead, so Perl6
,,Perl6
fsbot
perl6 -- [0] http://www.ozonehouse.com/mark/blog/code/PeriodicTable.pdf
[1] http://otierney.net/images/perl6.gif
timcarper
I mean... with a home page like this, how couldn't you be?
http://www.perl6.org/
Hi, my name is Camelia. I'm the spokesbug for Perl 6, the spunky little sister of Perl 5. Like her world-famous big sister, Perl 6 intends to carry forward the high ideals of the Perl community.
OK... who hired Hello Kittie to do Perl PR ?
lol
ams
how about perl6 vs. arc?
timcarper
,,arc
fsbot
arc -- [0] a dialect of lisp promoted by Paul Graham to unsuspecting newbies <http://arclanguage.org>, <http://www.paulgraham.com/arc.html>.
[1] tutorial: http://ycombinator.com/arc/tut.txt,
[2] Unicode Considered Harmful
timcarper
pass
ams
timcarper: it is supposed to be the 100 year language!
In exploratory programming, it's as important to avoid premature
specification as premature optimization.
WTF does that mean?1
timcarper
ams: thinking ahead of time is the root of all evil
I would derive
ams
oh, thinking ahead of time is not bad at all...
one grand example is free software...
without licenses like the GPL things would be terrible..
rms looked into the future, and saw danger comming, and wrote a license that would make sure that it would not come
timcarper
ok... I'm being facetious. I suppose by "premature" they are indicating that thinking ahead-of-time is good, but not until you get to the point that you have enough vision to see where a good chart to course would be
kensanata
I think I like the perl6 homepage.
Funky!
timcarper
kensanata: I do to, it is pretty fun
but... I mean, you gotta admit, it looks like Hello Kittie
^ie^y
kensanata
timcarper: Then again, I did Pink Bliss for Emacs...
ams
almost as if i want to start X to watch that
timcarper
well, if my wife ever switches to Emacs, I'll be sure to let her in on the Pink Bliss theme :)
ams
who wants to invade #perl6 and eat butterflies?
timcarper
(kensanata)
mmmm
kensanata
timcarper: :)
ams
Elf is a Perl 6 implementation project ...
bpalmer`
kensanata: url?
ams
cant they pick names that aren't taken?
kensanata
bpalmer`: What for?
bpalmer`
perl6 homepage
kensanata
bremner
whodathunkit
bpalmer`
that looks suspiciously friendly
timcarper
although... given that she still does her word-processing in Photoshop, I suppose her switching to Emacs is a long shot
bpalmer`
can't be officia.
*official
kensanata
bpalmer`: Exactly. So unlike Perl, hahahaha.
bpalmer`
when did the butterfly kill the camel?
kensanata
Perl 6 needs the equivalent of Dormicum to regain mindshare, I think.
ams
dormicum?
kensanata
ams: Very addictive drug used as a pain killer.
ams
oh, you mean midazolam!
and it is used for depression, not as painkillers afaik
anyway
kensanata
Well, my wife had it a few times during chemotherapy as a kid.
ams
kensanata: nod.
kensanata
I faintly remember it also turning up in a blackmail scenario in One Flew Over The Cuckoo's Nest or whatever it was called.
Basically I got the idea that it's easy to frame doctors by claiming they order more of it than they pass on to patients.
ams
kensanata: it tends (afaik, not a doctor) to be used for anexity, and muscle relaxant before operating and such...
bpalmer`
kensanata: unfortunately (in the US at least), all the incentives on doctors are to undertreat pain.
kensanata
bpalmer`: Yuck.
ams: Could be. She had leucemia and got stuck with huge needles into her spine... Ugh.
ams
kensanata: sorry to hear.
« prev 1 2 3 4 next »