logs archiveIRC Archive / Freenode / #emacs / 2010 / January / 25 / 1
rmrf
hi, if I'm running emacs under normal user permission, then is there anyway that I can edit a file that need root permission?
ams
rmrf: /su::/etc/foo
fledermaus
,tramp
fsbot
TRAMP is, like, [0] an Emacs library, included in Emacs 22, that implements transparent remote file access over a number of protocols (ssh, sudo, rsync, ftp, ...) <http://emacswiki.org/wiki/TrampMode>, <http://savannah.nongnu.org/projects/tramp> ..[Type ,more]
rmrf
ok, thank you guys :D
kodein
tramp is pretty sweet
quotemstr
Fuck. Fuck. Fuck fu*k. Fuck fu*k fu*k. Fuck fu*k fu*k fu*k fu*k. Fuck fu*k fu*k fu*k fu*k fu*k fu*k fu*k.
kodein
hmm
rmrf
tramp works well, cool!
and, why this channel doesn't have a log bot?
         

quotemstr
rmrf: Bite me.
rmrf
quotemstr: haha, sorry, I'm not interested in you
JayM
i am new to emacs/elisp and want to know more about this syntax: `(,root . ,files) -- given root is a variable and files is a list, does it return a list consisting of root concatenated with each element of files?
and what can i google to find out more about this?
ams
JayM: you could read the manual that is included with emacs
quotemstr: sounds like the theme to two and a half men..
JayM: which you'd know aout if you had read the first thing emacs prints when you start it....
no twb
?
,seentwb
fsbot
Eisenhower!! Your mimeograph machine upsets my stomach!!
ams
,seen twb
fsbot
BIIIIIIIIIIIRNY! Have you .seen twb?
JayM
ams: i have been reading the manual. i just don't know what to search for in this particular case
ams
(elisp) Backquote
terible this lisp nomenclature... things are actually called sensible things
Twey
Heheh
JayM
thanks
Twey
Maybe it should be a swivel-spark
ams
JayM: please don't thank me when you are being lazy.
JayM
i appreciate your help
ams
but i don't appreciate helping lazy people
rgr
Any org-mode users, is the todo/keyword being cycled for you with C-c C-t? is not for me and I'm wondering if default bahaviour has changed but not the docs.
jdhky
rgr yeah what version?
rgr
head.
jdhky
works for me in 23.1.1
try C-h k C-c C-t
rgr
so yo udont get prompted for next state?
         

jdhky
no
is that bound to org-todo?
rgr
yes.
jdhky
weird, you might check that org-todo-keywords is not empty
rgr
its not.
stepnem
.seen twb
birny
twb was last seen quitting at 2010-01-22 07:22:13 GMT (2 days, 15 hours, 15 minutes, 53 seconds ago).
rgr
Thats why I'm looking now. Kist tried the fred,anne,lucy example from the docs too
s/kist/Just
JayM
ams: also alists and dotted pair notation, yes?
ams
JayM: care to state aquestion?
JayM
those are the two other concepts i needed to understand in order to interpret the statement i presented earlier
ams
read the manual.
JayM
i'm asking if that is correct
rgr
jdhky: did you assign hotkeys to your org states e.g TODO(t) ?
jdhky
no I just always use C-c C-t
rgr
yes, I get the state list when I hit it and cant then press (t) for examples. God dang this.
s/cant/can aargh
ams
JayM: read the manual.
JayM
i am just confirming this with you. anyway, it was nice chatting.
rgr
JayM: ignore ams. he's a confrontational arsehole most of the time. I think its a sickness.
Or the time of the month.
ams
bpalmer: .
or some op.
johnsu01: .
rgr
arr ... ;)
johnsu01
it's just emacs people, relax
jlf`
JayM: (let ((a 1) (b (list 2 3 4))) `(,a . ,b)) and (let ((a 1) (b (list 2 3 4))) `(,a ,@b)) both produce (1 2 3 4), but the latter form is more idiomatic
i.e. using ,@foo instead of . ,foo
ams
or,just read the manual, which explains all of this.
kinda why it was written to begin with
rgr
ams: It might surprise you but this is a help channel. Help or shut up eh?
JayM
jlf`: thanks, that helps :)
ams
rgr: the manual was written for exactly that.
rgr
Manuals dont tell you where to go directly and dont hold your hand. Some people like human interaction. Now I know you're not very good at it, but let the people who are help eh?
kodein
JayM: also ignore rgr. He is a petty troll most of the time. I dare not diagnose him, however.
ams
rgr: as for the confrontional as****e, you seem to have a far coarser tone than me right now. you might like to think about that.
rgr
ams: frankly I think its a shame that you are constantly on peoples backs. I dont know why you want to be like that. But its tiring.
ams
johnsu01: .
rgr: jesus loves you too, have a cookie.
johnsu01
(Action) shakes head
rgr
Actually I'm having a pizze ;)
johnsu01
whats the point of squabbling, let it go
ams
johnsu01: emacs is dead serious stuff man!
jlf`
johnsu01: i agree with rgr actually.. i think ams brings a lot of unhelpful, toxic rtfmism to #emacs
and on a consistent basis
rgr
I like ams actually. Just he sometimes doesnt know when to let it go.
nano-
I've enabled auto new line, and I like having { on new line after a function, but I don't like having { on a new line after enum or struct. I also have problem with array definitions where both } and the ; each come on newlines.
How do I fix these problems?
rgr
he also knows jack about C static variables ... ;)
I like "rtfm'ism" good word.
tuvwx
dict has gone crazy creating hundreds of buffers with 'No definitions found for "xxx"' where xxx is the one word i asked dict for. is this a known issue? any known fix?
JayM
good to know that it wasn't just my approach. thanks guys! (would type more, but switching to dvorak is a bi**h :P)
tuvwx
and, is there a way to kill all buffers matching a regular expression?
jlf`
JayM: you might be interested in ,,ielm if you're experimenting with elisp
fsbot
I heard ielm is [0] Interactive Emacs Lisp Mode
[1] M-x ielm RET
benny
tuvwx: ,,ibuffer
fsbot
[->] IbufferMode is, like, [0] at http://www.emacswiki.org/cgi-bin/wiki.pl?IbufferMode
[1] now included with emacs 22, and is an xemacs package
ams
rgr: please move slander elsewhere.
jlf`: you're doing the exact same thing as what you are accusing me of.
jlf`: so maybe you should start living as you preach before you get on the high horse.
JayM
jlf`: cool, thanks
jlf`
np
ams
JayM: (emacs) Lisp Interaction
also in the manual.
00:34 !!! consolers sent unsupported ctcp: FUCKOFFANDDIE
8wink
*
twillis
hey all, is org-babel included with the org-mode distributed with emacs23? or is this a "roll your own" kind of thing?
rorx
is there a way to specify the -d flag for cvs-checkout?
rgr
I just used it for my emacs init. fun.
twillis: ^^
is in the contrib dir
ams
rorx: (cvs-checkout MODULES DIR FLAGS &optional ROOT)
rgr
twillis: you really are better using org-mode from git though. changes rapidly.
rorx
ams: thanks
twillis
rgr: i built from source and where ~/local/share/emacs23/lisp there is an org dir but no contrib within
unicoder
is there anyway to make the following work as I expect?
(find-file "~/.*")
?
jlf`
rgr: o rly? any recent major changes?
ams
(Action) wishes people would stop thanking him when they are lazy.
unicoder: (find-file FILENAME &optional WILDCARDS)
unicoder
ah sweet
rgr
jlf`: not so recent as Carsten can't push ;)
bremner
(Action) thanks ams for being ams
ams
bremner: i can handle that. *hugs*
rgr
(Action) suppresses a titter too
ams
seriously people, are you this lazy that you cannot look up the docstring for a function?
twillis
yes
well not really
rgr
ams: surely it occurs even to you that some people dont know even that? Or that the doc string doesnt make sense to them?
ams
00:44 /ignore rgr
jlf`
yhbt, yhl, hand
twillis
some people are just learning enough lisp to be dangerous but not smart enough to red docs
ams
twillis: well, in that case please donate some money to the fsf.
rgr
Some people just like to ask. Its human nature.
twillis
i was told #emacs was friendly :P
benny
you were lied to
rgr
And then they get to have their hands held by warm cuddly FSF beards like ams. It reinforces my beliefs in the good of human nature .. ;)
jlf`
twillis: try it when ams is sleeping
twillis
gotcha
rgr
He sleeps?
webben
friendly irc channels !== not telling you to rtfm.
ams
jlf`: i don't sleep.
jlf`
that would explain the extreme crankiness
ams
not really cranky...
rgr
Told you. He has an alarm wired to his toe for when this #channel echoes a "?" ....
benny
ams is operated by 3 hateful admins
it's shift work
ams
benny: well, really it is 8 admins on 3 hour shifts
bremner
but only one beard
ams
anyway
lets hug, and cuddle.
rgr
yuck. I hope only one.
cluck
webben: actually that depends on tfm in question
rgr
Not until you comb the cake out of your beard.
webben
cluck: hmm perhaps
ams
in the case of emacs though, the manual is excellent, and you even got the docstrings, so there is really no excuse to not reading it.
cluck
webben: people don't exist to serve _you_, and no one here afaik is getting paid to help (same goes for most other chans and irc nets)
rgr
firstly they need to know the name of the function in question. nOObs forgte things like C-h k etc. Secondly the manual is fine when you know your way around it.
benny
I think the people operating ams get paid
they get some of the fsf money
ams
benny: didn't you know? 90% of the money fsf makes goes to running ams.
benny
it's a good business choice
webben
cluck: Sure ... Not sure why you're addressing me with that?
rgr
webben: he didnt understand your <> sign.
mfisher
haha, that'd be hilarious if ams really were just a collaboration of BOFHs
webben
oh
rgr
But if you both feel that way then hangng around in a #help channel is asking for your ulcers to be irritated.
unicoder
can you guys guess why this is going worng?
http://paste.lisp.org/display/93856
*wrong
webben
cluck: !== means "is not identical to"
jlf`
(Action) suspects ams is actually bram moolenaar, trying to drive people to vim
cluck
...
rgr
webben: he coul dhave RTFM'd .....
ams
jlf`: ssssh
unicoder: `wrong'?
rgr
lol
Twey
webben: Type mismatch ;)
cluck
rgr: another one that doesn't get sarcasm
unicoder
ams: when I do `eval-buffer` on that content, it doesn't do what I expect _at all_
benny
,repro
fsbot
tell us EXACTLY 1) what you typed; 2) what you saw; and 3) what you expected to see.
ams
unicoder: and you expect ....
rgr
this should be good in the context of the chat .....
unicoder
ams: I expect it to stay in $PWD, and open all those paths
rgr
(Action) reaches for his popcorn ...
ams
benny: please refrain from telling people to rtfm, rgr might get offended.
unicoder: well... no....
unicoder
but each call to find-file changes the $PWD to the dir of the files specified
e.g. (find-file "../icd/icd/*.hpp" 1) will change the dir to ../icd/icd
ams
unicoder: find-file opens the file, you get a buffer, where cwd will be where it was opened.
unicoder
and thus the future call to (find-file "../proj/code/*.c" 1) will break
ams
unicoder: correct.
intended, and according to spec.
unicoder
anyway to get it to do what I expect?
ams
sure, use full file names.
benny
ams: because you and love to share each other's ignore stories, I can tell you that rgr is the car of my rcirc-ignore-list
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 next »