logs archiveIRC Archive / Freenode / #emacs / 2010 / May / 1 / 1
rgr
dim: and if you read an email from one client you still can read it on another?
dim
oh yes
all 4 at the same time if so I wish
rgr
this is driving me nuts. something has gone wrong here.
dim
I have 4 offlineimap, 1 of them I use about once per quarter, 2 of them daily, and the iPhone
rgr
if I specify "-a" for get mail it gets the whole lot each time. If -n then only new. But when i read from the android phone directly from google imap, I still want my getmail to retrieve that same email.
dim
getmail? I only use offlineimap, filtering on the server (Zimbra)
on the other servers I've yet to setup the server side filtering (sieve)
rgr
yes, I think I will to get getmail out of the loop.
offby1
rudybot: crush your enemies
rudybot
*offby1: To crush your enemies, see them driven before you, and hear the lamentations of their irc bots!
         

offby1
(Action) nods absently
jlf
rudybot: are you done with my air supply greatest hits cd?
rudybot
jlf: So, for example, a procedure that grabs the greatest two numbers from a list will use more memory with the values version if the "best-of-two" procedure that handles the three element case is inlined.
cvandusen
I'm guessing not.
jlf
he can be evasive
legumbre_
rgr: what phone did you get?
rgr
plumped for the motorola milestone in the end for the real keyboard.
legumbre
nice
rgr
from what I read they have a better upgrade policy than htc or samsung so should get an over the air upgrade to android 2.1 soon too.
legumbre
heh, I heard it was the other way around.
but maybe it was the droid, not the milestone
rgr
its all confusing imo.
legumbre
very
rgr
and I know a friend with a samsung and they said up to 1.6 will be it on the phone he has had for the last few months only.
rryouumaa
is it possible at all to make the logo key work like a regular, bindable key? also, is it possible to make a regular key work as hyper?
(in my case, i want to make help work like hyper, and logo work like f1. i am on a mac, where logo works like the mac command key unless emacs captures it.)
legumbre
(Action) is using logo for 'z'
rryouumaa
legumbre: how did you bind it?
it is a modifier key by default on a mac
legumbre
ah, I just xmodmapped it
rryouumaa: no idea about mac :(
mfisher
rryouumaa: do you mean for just emacs or system-wide?
because there's System Preferences -> Keyboard -> Modifier Keys...
rryouumaa
mfisher: having a very difficult time doing it system-wide. all mac remapping programs seem to be limited to a few keys. (why? i have no idea.) but emacs is what i care about most.
mfisher: i can't turn logo off totally because i need command sometimes.
mfisher
that lets me use my PC keyboard and make Alt be Cmd, Start be Opt, and Caps Lock be Ctrl
         

rryouumaa
hmm, my control and alt are perfect. i wouldn't mind making caps lock be control and logo be a regular key, but i doubt preferences would allow that.
(Action) doesn't understand why the mac makes some things impossible. is it attitude?
fledermaus
it's better that way, st jobs says so.
technomancy
rryouumaa: stockholm syndrome.
mfisher
and with emacs (I'm using emacs-app-devel from macports), I don't think I had to do anything; Cmd (pc Alt) = Meta, but logo works as Meta too
this is OK for me because I have to use logo for meta on the emacs I ssh to, so my muscle memory works both ways
and I plead guilty to having stockholm syndrome, like technomancy said.
rryouumaa
just tried making logo do nothing. that doesn't work because emacs doesn't recognize it.
woodworks
(Action) just wishes he had muscles to memorize
cvandusen
Rather than ask anyone, I will tell anyone that is using nxhtml that cc-styles.el is causing your adaptive-fill-regexp to grow too big.
nilg
in wanderlust, how to add the "Send Mail" of Gmail?
rryouumaa
why would a drwxr-xr-x directory cause "insert-directory: Listing directory failed but `access-file' worked"?
sohail
is there a simple way to replace each occurrence of a string with the concatenation of itself and the order it was found in? for example, a a a a a -> (magic-here) -> a1 a2 a3 a4 a5
legumbre
sohail: M-: (setq pos 0) RET M-x query-replace-regexp a RET a\,(incf pos) RET ???
fsbot
Yes
legumbre
or something
sohail
hm, let me try that
legumbre: awesome, it works
I thought thereshould be a way to eval in regexp :D
legumbre
great
Nonpython
What command tells me the byte count of the cursor position?
legumbre
maybe M-: (position-bytes (point))
jlf
#emacs should award badges like stackoverflow
technomancy
jlf: fsbot does that
jlf++
,jlf++
fsbot
Noted, technomancy. One lispy-point for jlf!
Nonpython
legumbre++
,legumbre++
fsbot
Noted, Nonpython. One karma-point for legumbre!
legumbre
technomancy: can we see jlf's score?
Nonpython
,jlf?
fsbot
[In the distance, you see jlf typing " ,...", or maybe ",...."]
jlf
,karma jlf
fsbot
1 ..(integer)
jlf
\o/
Nonpython
,karma legumbre
legumbre
,karma legumbre
fsbot
1 ..(integer)
legumbre
heh
Nonpython
,karma Nonpython
fsbot
6 ..(integer)
jlf
,jlf--
fsbot
Noted, jlf. One lispy-point for jlf!
legumbre
o_O
Nonpython
YAY! I HAZ TEH MOST!
Nonpython++
,Nonpython++
fsbot
Noted, Nonpython. One wiki-point for Nonpython!
Nonpython
,karma Nonpython
fsbot
0 ..(integer)
Nonpython
,karma Nonpython
fsbot
5 ..(integer)
Nonpython
,karma Nonpython
fsbot
9 ..(integer)
Nonpython
,karma Nonpython
fsbot
3 ..(integer)
Nonpython
,karma Nonpython
fsbot
8 ..(integer)
Nonpython
,karma Nonpython
fsbot
1 ..(integer)
Nonpython
It is random. :(
,karma Nonpython
fsbot
0 ..(integer)
Nonpython
,karma Nonpython
fsbot
7 ..(integer)
Nonpython
,karma Nonpython
fsbot
2 ..(integer)
Nonpython
,karma Nonpython
fsbot
3 ..(integer)
Nonpython
,karma Nonpython
fsbot
6 ..(integer)
jlf
(Action) shushes Nonpython
jlindsay
Please stop that
Nonpython
(Action) screams "KARMA IS RANDOMNESS!"
jlf
,ff karma
fsbot
Nooo! Symbol's function definition is void: karma
quotemstr
Indeed.
That's almost as annoying as the time I played through half of dunnet with fsbot.
jlf
,(require 'erbkarma)
fsbot
erbkarma
jlf
,ff karma
fsbot
:( Symbol's function definition is void: karma
jlf
(Action) eyes fsbot
technomancy
(Action) can totally imagine a drunken quotemstr doing that.
benny
sohail: I am not happy with the solution you got, therefor: M-x query-regexp-replace RET foobar RET \&\,(format "%.2d" (1+ \#)) RET
jlf
anyone have a recipe to get org mode to export to (confluence) wiki markup?
legumbre
,benny++
fsbot
Noted, legumbre. One lispy-point for benny!
legumbre
(Action) is just lazy
benny
now we're chasing karma? we need to keep this real man!
sohail
benny: what is \#
is that what I think it is
benny
yes
sohail
nice
why don't I /join #emacs more often
benny
the format was just because I personally find that more useful in case I ever sort
legumbre
benny: we'll chase karme until we get badges
karma even
jlf
badges? badges?
etc.
benny
a snake a snaaaaaaaake
leo2007
does dired provide a function to test whether there's marked files in a dired buffer?
nvm
benny
what is the answer?
fsbot
answer is, like, 42
legumbre
dired-get-marked-files
oh sorry, you nvm'ed
leo2007
benny: the answer is no. have to use re-search-forward instead.
legumbre: that is incorrect answer.
benny
depends... for dired the file where point is marked because that's where the next action will be done on
leo2007
you mean, current file is always treated as marked?
benny
only if nothing else is marked
leo2007
alright.
which is correct English? 'there's sub-directories' or 'there're sub-directories'
dthomas
The latter I believe.
benny
nope
both suck! we need more alternatives to choose from!
dthomas
Actually, is "there're" a recognized English contraction?
quidnunc
no
"There are sub-directories" is correct although the incorrect "there is" is often heard informally.
leo2007
forget about the contraction, which one is more common? I have seen them used/
quidnunc: thanks.
thanks to all
quotemstr
leo2007: there are sub-directories.
leo2007: they're is rare IME.
leo2007
ok thanks
quotemstr: bbc seems like it ;)
quotemstr
leo2007: They also use "lorry" and "spanner". That should show you the kind of people you're looking up to.
leo2007
I have been using those words quite regularly. what's wrong with them?
quotemstr
I'm joking about British versus American English.
Never mind. :-)
jlf
there're is perfectly cromulent
leo2007
the other day I tried to borrow spanner from a french, he was at lost.
bpalmer
don't you cromulentize me
quotemstr
Bah, all of you just use a baldly-pronounced mismash of corrupted German and French.
jlf
let's leave my hair out of it
leo2007
anyway, I have done writing a general emms-find-file.
bpalmer
don't you leave that mash unadorned.
Let's train a dragon to be a maitre'd
Let's sing at weddings
leo2007
my current emacs uses ~230M real mem
"9 days, 13 hours, 35 minutes, 17 seconds"
quotemstr
Do you suppose it's acceptable for a lisp interpreter to crash and burn if it encounters self-modifying code?
technomancy
quotemstr: sure, mutation should be expressed in terms of recursion, not literal modification.
you do have TCO, right?
(Action) eyes quotemstr sharply
sshelagh
I know if *I* encountered self-modifying code *I* would have a breakdown
quotemstr
No TCO --- there's no way to do it efficiency in a metacircular interpreter.
sshelagh
but I'm not a very robust interpreter
technomancy
not even with CPS?
quotemstr
technomancy: The code isn't anywhere close to CPS; it doesn't support continuations and never will.
technomancy
sure, it may not make sense for your interpreter; just challenging your "no way to do TCO" claim
quotemstr
technomancy: Well, when the host language doesn't have TCO...
technomancy
basically I am passing on the crap that people gave me when I wrote a scheme interpreter that lacked TCO.
quotemstr
Actually, gcc will do TCO under some circumstances, right?
technomancy
that is what's happening here
quotemstr
I now have TCO.
(Assuming gcc optimizes the sibling call correctly, that is.)
erikc
quotemstr: as long as the call is within a translation unit
(gcc can do tco)
« prev 1 2 3 4 5 next »