logs archiveIRC Archive / Freenode / #emacs / 2010 / June / 12 / 1
hircus
ashawley: ah, made a small mistake -- 'search' is not available by default on openSUSE either. so Fedora 13 i686 is the odd one out. curious, but not as bad as my initial worry (that something is wrong in Fedora x86_64 compared to all other distros)
ashawley
hircus: I recall Fedora has a site-start.el
perhaps its including some uncompiled mode that require-s cl.el
asn
Gents, can someone help me set a windmove-left to M-<left> in a terminal mode emacs ?
The comments here: http://nex-3.com/posts/45-efficient-window-switching-in-emacs
say that using C-q and then a key combo will give me literal character strings which I can use to define a new M-<left> that will work in terminal mode as well
but C-q and M-left seems to just give ^[
hircus
ashawley: sure. but the puzzling thing is that I get two different behaviors on two Fedora systems -- one i686 (that loads 'cl) and one x86_64 (that does not). adjusting all my third-party Emacs packages to match to see if it's one of them
JordiGH
Alright, setup an appointment with the Tax Bureau, ostensibly for "fiscal guidance".
hircus
JordiGH: good luck
JordiGH
Thanks.
ashawley
hircus: Well, your RPM builds aren't /exactly/ the same.
bitlies
thanks, #emacs, the faq and at the top answered my question :)
         

ashawley
(version= "23.2-1" "23.2-4") => nil
hircus
ashawley: true, that. but I tried with 23.2-1 first, and only upgraded to 23.2-4 to see if it fixes the problem
ashawley
ahh
hircus
still, I guess this is one of those harmless irritants that we've spent too much time on already :p. I learned some Elisp functions so it's not all wasted, in any case :)
cvanduse`
just reduced a ~20 minute task to a keyboard macro and finished in ~10 seconds.
,praise
fsbot
40:67 It was He who created you from dust, making you a little germ,
and then a clot of blood. He brings you infants into the world; you
reach manhood, then decline into old age (though some of you quit
editland young), so that you may complete your appointed term and grow
in wisdom.
quotemstr
"If you're calling the Message­Box function, then you don't directly control the styles of the top-level window. But there's a weird back-channel way to specify that you want the message box dialog to have the WS_EX_LAYOUT­RTL extended style: Begin the lpText string with two U+200F characters."
(Action) explodes.
JordiGH
Is that MSFT code?
ARE YOU ALREADY BREAKING YOUR NDA?
quotemstr
JordiGH: That's from Raymond Chen's blog. :-P
JordiGH
Oh.
quotemstr
And if I do break my NDA, it's going to be done through several proxies and Tor. :-)
tromey
that is awesome
JordiGH
quotemstr: so is he saying you have to buffer overflow?
quotemstr
JordiGH: No; the two control characters count as ordinary parts of the string, except that they're treated specially by the MessageBox code.
Something like if(StringBeginsWith(msg, rtl_marker_hack)) { msg += strlen(rtl_marker_hack); flags |= WS_EX_LAYOUTRTL; }
JordiGH
Hm.
marioxcc
¿what color-theme are you using, if any?
quotemstr
Though this being Windows code, I'm sure they managed to actually shoehorn TCHAR, MultiByteToWideChar, and a seven-letter Hungarian prefix in there.
JordiGH
Why did you accept a job with code you hate?
quotemstr
JordiGH: I can make it suck less.
JordiGH
Ah, to be young and in love..
         

technomancy
(Action) suspects monies.
quotemstr
JordiGH: Also, they're paying me enough to get over my hatred of the style.
Pay me this much, and I'll sing, dance, and scream from the top of a skyscraper "I love StudlyCaps!"
JordiGH
So how much to perform perverse sexual acts on you?
quotemstr
More than you can afford.
JordiGH
Would your wife let me sleep with you for a million dollars?
quotemstr
JordiGH: While I'm flattered, the answer is "no".
JordiGH
Two million,
quotemstr
No.
JordiGH
Okay, you beat the house.
There isn't anybody who's worth more than two million to have sex with.
marioxcc
¿how do this relates to GNU Emacs or another emacsen?
lol
JordiGH
lol
quotemstr
JordiGH: If you have to pay for sex, you're missing the point.
JordiGH
marioxcc: This channel gets highly offtopic, and I like it that way.
quotemstr
marioxcc: GNU Emacs is life.
marioxcc
haha
JordiGH
This is also true.
quotemstr
marioxcc: Thus, any aspect of life is relevant to GNU Emacs insofaras it is part of the greater whole.
JordiGH
quotemstr: Some people buy love.
marioxcc
quotemstr: ;)
quotemstr
JordiGH: Those people purchase the illusion of love.
JordiGH
quotemstr: Ahdno, man... I just don't know. Now that I'm contemplating marriage, I'm starting to think that love without any money is very difficult indeed.
ysph
marioxcc: i'm using the default blazing white color non-theme
marioxcc
ysph: ok :)
quotemstr
JordiGH: I suppose I'm just a romantic.
JordiGH: A certain degree of stability is necessary for a healthy relationship, but it's not alone sufficient.
http://blogs.msdn.com/b/oldnewthing/archive/2010/06/11/10023275.aspx
"Worrying about inflation and mounting government debt when the unemployment rate is at 10%, capacity utilization at 72%, and the U.S. government can borrow for 30 years at a real interest rate of 1.86% per year is like worrying about getting your furniture wet when your house is on fire."
marioxcc
hi people
e1f
you've been working there less than a week and you're already posting ms links?
marioxcc
i found imenu is
sorting the functions
alphabetically
benny
you never worked at apple and you constantly post apple links
:-P
marioxcc
how i can disable this behavious?
quotemstr
e1f: I've been reading that blog for years.
marienz: ,,dv imenu-sort-function
fsbot
The function to use for sorting the index mouse-menu.
Affects only the mouse index menu.
Set this to nil if you don't want any sorting (faster).
The items in the menu are then presented in the order they were found
in the buffer.
Set it to `imenu--sort-by-name' if you want alphabetic sorting. ..[Type ,more]
marioxcc
i don't want alphabetic
i wnat not to be sorted
quotemstr
Set this to nil if you don't want any sorting (faster).
ysph
i wonder what is the difference between nil and imenu--sort-by-position
quotemstr
ysph: sort-by-position appears to sort by buffer position; nil appears to do no sorting and return entries in whatever order the imenu generation function returns them.
ysph: But those are usually the same order.
ziarkaen
When I'm running SLIME and exit emacs, it complains that I'm killing a process. How can I safely exit?
technomancy
ziarkaen: (setq slime-kill-without-query-p t)
ziarkaen
Thanks.
marioxcc
ziarkaen: whether to kill slime is safe or not
depends on what is slime doing
ie: if you are doing heavy HD I/O
more likely, it isn't safe
ziarkaen
No I'm usually writing hello-world, etc. :)
marioxcc
then it must be safe
jordanb
http://xkcdexplained.com/post/688181902/phobia <-- Proof that I suck
Some of the most *brilliant* sarcasm I have ever read.
technomancy
jordanb: perhaps you would appreciate this: http://www.topatoco.com/merchant.mvc?Screen=PROD&Store_Code=TO&Product_Code=WON-SARCASM&Category_Code=WON
JordiGH
jordanb: Do you miss the red spiders?
I sometimes do.
This one is still kinda honest: http://spikedmath.com/
ysph
what's a good binding for visiting the URL at point?
JordiGH
What's the best ice cream flavour?
ysph
ok, can you do better than C-x w TAB?
turbofail
define "better"
ysph
easier to remember, less keystrokes, more ergonomic, etc.
legumbre
ohh
turbofail
is there something wrong with just C-x w?
legumbre
(Action) just noticed M-? is unbound
JordiGH
I still need better keys for GUD commands too.
turbofail
anyway you can define whatever you want as long as you don't care about whatever was already bound there
JordiGH
I seem to be the only person who uses GUD.
ysph
it was already set up as a prefix, but maybe i don't care so much about hi-lock-find-patterns
turbofail
i use gud
i end up clicking a lot
JordiGH
Omg
Javagirl hunts and pecks.
:-(
turbofail: Yeah, I turn on tool-bar-mode for GUD. :-(
turbofail
wtf is javagirl?
JordiGH
turbofail: Cute girl at work.
turbofail
ah
AimHere
My boss hunts and pecks with ONE finger. Not even two. The second finger is poised over that left shift key, just in case.
legumbre
Javagirl or, javaGirl? amirite?
ysph
i settled on C-x w w
woodworks
my dad used 3 fingers on the right hand and 2 on the left and managed 105 wpm timed
jordanb
My dad used six fingers on his right hand.
turbofail
that sixth one might not have been a finger
and he may not have been typing
woodworks
yeah and my dog uses his nose
turbofail: is that where laptops come from?
turbofail
apparently
JordiGH
woodworks: Does your dad use Emacs?
woodworks: And Javagirl doesn't type that quickly from what I can see.
woodworks
my dad has since passed away, he never heard of emacs nor linux
JordiGH
I do think Emacs for non-touch-typists must be intolerable.
technomancy
(Action) thinks typing must be intolerable for non-touch-typists
quotemstr
Note: do not attempt to use a wood saw on large styrofoam objects.
The granules go *everywhere*.
pjb
quotemstr: yes, for styrofoam, the best is the hot wire.
technomancy: non-touch-typing is easy to practice. 1- get a keyboard with marks. 2- use only one finger. 3- read the letter on the keyboard before typing. I know, for us it's easier, we know where to read it. So for more realist practice, use a dvorak keyboard if you're qwerty or a qwerty keyboard if you're dvorak.
quotemstr
The only thing more annoying than a wall of text is
random paragraph breaks that
don't appear to occur for any reason.
pssw0rt
anyone how to indent unindent python code ???
fsbot
Highly likely.
quotemstr
pssw0rt: C-c <
pssw0rt
thx quotemstr
jeje you know how to comment and uncomment python code
quotemstr
M-;
,df comment-dwim
fsbot
comment-dwim is an interactive compiled Lisp function in
`newcomment.el'.
It is bound to M-;.
(comment-dwim ARG)
Call the comment command you want (Do What I Mean).
If the region is active and `transient-mark-mode' is on, call
`comment-region' (unless it only consists of comments, in which ..[Type ,more]
offby1_
rudybot: cold duck time
rudybot
offby1_: duck and foie gras for lunch today
pssw0rt
how do you do M-:, when i press Meta appear in the console mode M-x
ob
hey, anyone here uses semantic with all the noise and whistles? I'm using emacs-23.2 (new feature is that they included semantic) and I turned all the bells and whistles on and now I'm getting tons of errors like "Error: (wrong-type-argument symbolp #<overlay from 5866 to 5870 in foo.c>). Any ideas how to debug this? (setq debug-on-error t) doesn't seem to work ;(
and by bells-and-whistles I mean this: (setq semantic-default-submodes (quote (global-semantic-highlight-func-mode global-semantic-decoration-mode global-semantic-stickyfunc-mode global-semantic-idle-completions-mode global-semantic-idle-scheduler-mode global-semanticdb-minor-mode global-semantic-idle-summary-mode global-semantic-mru-bookmark-mode)))
in my .emacs
and then (add-hook 'c-mode-common-hook (lambda () (semantic-mode 1)))
pjb
pssw0rt: AFAIK, this requires strong AI.
pssw0rt: perhaps you could use the occasion to switch to a fully parenthesized language? May I propose Common Lisp?
turbofail
no, you may not
pssw0rt
i like the python code
quotemstr
:(
fsv (the Jurassic Park interface) doesn't compile for me.
JordiGH
I think I tried compiling it a while ago too.
There's other 3rd filesystm browsers packaged in Debian, though.
rryouumaa
fsbot has a personality
JordiGH
Is that true??
fsbot
No
rryouumaa
ok, i stand corrected
i'd think it'd be better to mousify dired than use an external fs browser
JordiGH
mousify?
Emacs deprecates mice.
rryouumaa
i imprecate them but explicate their use thus: i need them
i often cannot use kb at all, so need mouse for basic things like switching buffers, scrolling, and, ideally, googling for selected things and pasting to replace region etc.
heresy, i know
basically either kb-only or mouse-only, never both
rbarraud
duh? you can haz mouse in dired
rryouumaa
rbarraud: maybe, i just meant make it more so, if desired
rbarraud
more mousy?
rryouumaa
more like whatever you want
but i don't need mouse for dired, but do want to create a more muggle-like context menu for most modes, with copy paste cut google
except paste/yank and cut/kill
JordiGH
rryouumaa: Wow.
I don't use a mouse for any of those.
« prev 1 2 3 4 5 6 7 next »