logs archiveIRC Archive / Freenode / #emacs / 2010 / February / 6 / 1
ggole
Kim F. Storm: wrote bindat.el cua-base.el cua-gmrk.el cua-rect.el ido.el
keypad.el kmacro.el
But I imagine there was a macro feature before that
jlf
yeah, 2002 seems very late indeed
e1f
http://tastyblogsnack.com/2010/02/04/new-heinz-ketchup-packets/
ggole
Woah, I'm in there
All my bug fixes were trivial - guess they include everyone
jlf
so how does immortality feel?
ggole
Fuzzy
ngirard
Here's a musical interlude for you guys... at least for those who can play Flash:
http://www.youtube.com/watch?v=yjbpwlqp5Qw
These people are from Slovenia, they perform everything without any instrument... check it out :)
scottj
I think I remember seeing a function that would show the current buffer's file in dired (and go directly to that line). Anyone seen such a function?
ngirard
scottj: C-x d ?
         

bpalmer
ngirard: incidentally, http://youtube-global.blogspot.com/2010/01/introducing-youtube-html5-supported.html , for non-flash access
ngirard
great, thanks bpalmer
bpalmer
made the rounds of slashdot etc a while back.
legumbre
scottj: dired-jump
ngirard
did you watch bpalmer ?
bpalmer
listening to it at the moment
scottj
legumbre: thanks!
jlf
,legumbre++, didn't know about that one
fsbot
Hold the MAYO & pass the COSMIC AWARENESS...
jlf
(Action) awards an rms-point manually
bpalmer
ha, I only have dired-jump-back
legumbre
\o/
ggole
I have that bound to C-x D, but always forget I have it :(
bpalmer
but it seems somewhat similar: "If in a file, dired the current directory and move to file's line."
jlf
huh, C-x D is translated to C-x d here.. is it default behavior to attempt to look up a lowercase binding if the uppercase version is unbound?
bpalmer
believe so.
jlf
how dwimish
bpalmer
how dare a program do what I mean
jlf
(Action) wasn't complaining
ngirard
Oh no... once again I closed my *scratch* accidentally :-( I redefined i function, can I see its new definition ?
         

ggole
ngirard: C-x b *scratch* gets it back
(minus all of your hard work, of course)
ngirard
ggole: now, that's funny :-(
bpalmer
ngirard: M-: (disassemble 'foo) RET ?
ggole
(symbol-function 'foo) might work if you didn't compile it
tlyu
(pp (symbol-function 'foo)) ... what ggole said
ams
the us is a funny place
you can't say fu*k on the telly, but you can say frack
scottj
ngirard: liked that song, any more recommendations?
ams
hey
any more for calculating calories in emacs?
ngirard
bpalmer, ggole, tlyu : a huge thanks, I could recover the most part of my *scratch* buffer
ggole
ngirard: you might want to write lisp you wish to keep in a file-backed buffer in future
zieglerk
I've added the skeleton (?$ _ ?$) insert a closing $ after an opening dollar. This works in every mode -- except with auctex.
Still, auctex accepts the other skeletongs (), {}, [].
jlf
i'm surprised there's no option to force confirmation for killing a modified *scratch* buffer
ams
what is $ bound toin auctex?
jlf: why would there?
jlf: it is just a random buffer
legumbre
jlf: what would be an unmodified buffer?
ngirard
scottj: glad you liked. Check out http://www.youtube.com/watch?v=y-75XJSrixo . The videoclip isn't much interesting, but the guy has huge talent. His name is Pierre Akendengué, he's the most famous Gabonese composer & singer. He deserves to be more famous !
ams
people got all fisty when the splashscreen was the scratch buffer for a while
jlf
ams: because people sometimes unexpectedly have content they'd like to keep in *scratch* (as above) and inadvertently lose it
not advocating different default behavior, you understand
ams
jlf: ... don't keep important content in it.
zieglerk
ams: that's TeX-insert-dollar
ams
isomer: and (?
jlf
that's why i said 'unexpectedly'
ngirard
ggole: this happened to me far too often, really, i've lost so many things because of this
zieglerk
ams: Ah, probably I can change that in the auctex-settings?!
ams
zieglerk: you didn't answer my question.
jlf
legumbre: unmodified with respect to its default contents
ams
jlf: what is its default content?
if you killit, and create it agian, then what?
zieglerk
ams: You asked for the key-binding and I did C-h c $ and I got TeX-insert-dollar
ams
zieglerk: yesssssssssssss and after that?
jlf
ams: ;;; this is the scratch buffer etc.
scottj
ngirard: his country does too, I'd never heard of it before :) reminds me of amadou & mariam
ggole
Actually, the default scratch message can be customised. Mine is nil.
zieglerk
ams: Sorry for being a little helpless here, but is "TeX-insert-dollar" not the key-binding?
ams
jlf: yes, and if i kill it,and create a new buffer called *scratch*?
zieglerk: care to anwer my question?
jlf
ams: if you kill and recreate it should be repopulated with the same default content imo, and the same behavior should prevail
ams
jlf: why? what if i use foo? what if my default mode is fundamental mode for new buffers?
jlf: what is so special about *scratch*/
zieglerk: let me repate, what is ( bound to?
repeat
jlf
ams: i have no opinion about the buffer foo
ams
jlf: why? it is my scratch buffer
legumbre
let's just defadvice kill-buffer and move on
ams
writting SHIFT-8 s c r a t c h is kinda annoying
hence, foo, bar
z zz
ff
all good names
why is *scratch* more special than those?
jlf
ams: i think legumbre's suggestion is reasonable.. i was merely expressing surprise that there's not a standard way to avoid losing work in *scratch*
zieglerk
ams: Maybe, I have a misunderstanding what "key-binding" means. I thought C-h k key would just return that?!
ams
zieglerk: sighs
zieglerk: you must be dumb
zieglerk: you said what $ is bound too
zieglerk: but i also want to know what ( is bound too
zieglerk
ams: Sorry, I missed that.
ams
jlf: so, like, you've got a solution!
zieglerk: three times? liar.
jlf
*** [14:30] /ignore ams
hehe that's kind of fun
zieglerk
ams ams: skeleton-pair-insert-maybe
ams
zieglerk: there you go.
legumbre
ah interesting, there's kill-buffer-query-functions
ams
zieglerk: auctex rebinds ( to something else.
zieglerk
ams: So, auctex mode apparently binds $ to TeX-insert-maybe instead of the skeleton-pair-insert-maybe I defined for (, {, [ and $ in my .emacs
ams
zieglerk: you can prolly do something illy like (defalias auctex-function skeleton-pair-insert-maybe)
ggole
,ams-warning
fsbot
Don't worry. He's always like that.
ams
,forget ams-warning
fsbot
Forgot "ams-warning" which had exactly one entry.
ams
lets not put slanderous remarks int fsbot.
jlf
heh
ggole
ams: except you are always like that, to the embarrassment of everybody else in the channel
zieglerk
ams: why would that be silly? Shouldn't there be a way to turn that off in auctex right away?
ams
ggole: please move that into privmsg.
zieglerk: no clue, ask the auctex guys.
jlf
<ams> zieglerk: three times? liar., <ams> zieglerk: you must be dumb, are visible at this very moment
ams
i don't use auctex.
jlf: yes, truth hurts.
jlf: now move it into privmg.
zieglerk
ams: thanks. I'll go with your suggestion
ams
zieglerk: it should work...
zieglerk: you can probobly also reorder how things are loaded..
zieglerk: i.e. (require 'auctex),(skeleton crap)
zieglerk: that might wrk.
legumbre
where's consolers?
ams
legumbre: sending me ctcp messages telling me to fu*k off and die.
legumbre
haha
ams
oh, and to fucl off and die..
legumbre: seriously
17:08 !!! consolers sent unsupported ctcp: FUCKOFFANDDIE
legumbre
ams: seriously, haha
jlf
,rr
fsbot
(Action) blows jlf's brains all over #emacs... *BANG* ...reloading.
jlf
ouch!
ams
legumbre: i keep getting them once in a while
legumbre: i think the poor guy has a crush on me
bpalmer
ggole: not sure embarrassment is entirely the right term.
legumbre
ams: I can see that happening
ggole
bpalmer: maybe not, but it's close
ngirard
scode: I also appreciate the song "9000 days", part of the soundtrack of the movie "Invictus": http://www.youtube.com/watch?v=3J1Xov0dB5Q
mang
hi people! ive got a tricky one here.. im messing around with sentence-end. it now looks like "\(\.+\|!+\|\?+\)" so it matches eg "..." only once. works fine for forward-sentence. but for backward-sentence it matches every ".". how could i write it to behave with backward-sentence as with forward-sentence?
bpalmer
oh, how is invictus?
ams
guess if you bend over for the overlords, you're allow to spew out crap, otherwise it is a no no..
marklarr
Does anyone have recommendations for good prefix keys? I feel a little limited by C-x and C-c, and am looking to expand.
ams
marklarr: C-x and C-c are reserved by emac.
marklarr: C-c <SINGLE-CHAR> is reserved for the user
bpalmer
marklarr: C-c <letter> and F6-F9 are the only ones reserved for you.
ams
marklarr: S-.. is avaiable
bpalmer: bullsh*t, Super, Hyper, and Alt are also reserved for the user
marklarr
Some things steal nice C-c letter keys
brx
ams: but not available in certain environments.
marklarr
like org-mode
bpalmer
marklarr: C-c letter and not C-c C-letter ?
jlf
bpalmer: i think embarrassment is pretty close.. ams makes this a much less friendly place
ggole
They aren't supposed to
ams
marklarr: not single key.
marklarr
C-a a a is org-mode show agenda
ams
marklarr: C-a maybe, C-c <SINGLE-CHAR>
is not.
marklarr
ams: will check
bpalmer
jlf: I think it's poisonous to the channel. Something more repellent than simple embarrassment.
ams
(Action) snickers.
jlf
oh i definitely agree
marklarr
ams: C-c a runs the command org-agenda, which is an interactive compiled
Lisp function.
ams
it is posinous, and the op resorts to slander as well.
lovley.
marklarr: lovley, did you read? C-c!
ngirard
bpalmer: I found it was good. Freeman did a hard job playing Mandela, he carefully studied its tone & gesture ; but of course he doesn't look like him, so I did find it a little bit annoying... plus it's not 100% historically accurate, but overall it was i good movie, imho
jlf
timeouts can be effective
ams
marklarr: C-c A, C-c a, .... C-c Z, C-c z, are reserved.
marklarr: C-a is not C-c a
marklarr
ams: I didn't say C-a...
ams
marklarr: ah, sorry
marklarr: you are ofcourse correct there.
marklarr: then org-mode is buggy and breaks emacs conventions, can you report this?
marklarr
ams: I had no idea those were reserved. Would be happy to report
ngz
org-mode is not buggy, it only suggests to set it so in .emacs.
marklarr
ngz: it suggests to change the binding?
ams
marklarr: you can quote the holy manual
As a user, you can redefine any key, but it is usually best to stick to key sequences that consist of `C-c' followed by a letter (upper or lower case). These keys are "reserved for users," so they won't
...
conflict with any properly designed Emacs extension. The function keys
...
ngz: if org-mode hogs those keybindings, then it is buggy.
ngz
marklarr: it suggests to set org-agenda to C-c a. Look at your .emacs. The global keybinding is there.
marklarr
ngz: sure enough: (define-key global-map "\C-ca" 'org-agenda)
sorry :p
ams
marklarr: yep, then not fault of org-mode, but yours :)
marklarr
ams,ngz: thanks
brx
(I think ams-warning had a nice touch and was not at all "slanderous". some people might get the feeling that they are not welcome here based on his (infrequent?) insults. ams-warning simple assures them that this is not the case. I don't see what's wrong with it.)
ams
brx: it is slandours, and move it elsewhere.
bpalmer
jlf: yes. But communities in general don't deal well with behaviour that's long-term on the edge but not quite over a bright line, and #emacs is no exception.
ams
bpalmer: you too.
brx
ams: are you sure you are not xahlee? :) I unstand he used to write like this.
ams
for someone bi**hing so much about making this place so poisounus, you sure do a good job of making it a crap place.
« prev 1 2 3 4 5 6 7 8 9 next »