logs archiveIRC Archive / Freenode / #emacs / 2010 / April / 17 / 1
TauPan
hmm, my silly search for highlighting the closing paren has lead me to highlight-parentheses-mode, which is pretty neat
timcharper
Does anybody here have any idea how to make it so slime does not pop open a new window when an error occurs during evaluation?
Seriously, I have been looking really hard through the code, I can't use edebug in slime.el because it fails for some strange, unexplainable reason.
I have traced it down to where the buffer gets allocated in sldb-get-buffer, but I still don't have any idea where the buffer is focused.
jlf
timcharper: dunno offhand, but have you looked around customize-group slime ?
timcharper
jlf: yes, thoroughly.
I have even experimented with some of the variables that don't show up in customization groups
It's driving me absolutely insane
:)
Oh wait, I found it!
http://github.com/technomancy/slime/blob/master/slime.el#L5565
malsyned`
Is it possible to get Emacs to scroll line-by-line instead of half-page at a time when I next-line at the bottom or previous-line at the top?
squiddo_
malsyned`: (setq scroll-step 1)
schemer999
how can i disable the prompt about active processes existing when i go to shut down emacs?
jlf
malsyned`: actually see ,,dv scroll-conservatively
fsbot
*Scroll up to this many lines, to bring point back on screen.
If point moves off-screen, redisplay will scroll by up to
`scroll-conservatively' lines in order to bring point just barely
onto the screen again. If that cannot be done, then redisplay
recenters point as usual. ..[Type ,more]
         

schemer999
ah, found it.
malsyned`
squiddo_, jlf: maybe this is a bug, but if I scroll up by holding <up>, the display will periodically re-center instead of scrolling by one line.
jlf
malsyned`: what did you change
malsyned`
jlf: First I set scroll-step to 1. That problem manifested. Then I also set scroll-conservatively to a non-zero value (5) and it didn't go away. Can't tell really if it got better.
jemarch
I am so depressed... :(
night.
squiddo_
malsyned`: yeah - I haven't figued that one out yet...
jlf
malsyned`: read the documentation for scroll-step
malsyned`
jlf: ah. setting scroll-step to 0 and scroll-conservatively to 1 seems to work.
nope, spoke too soon.
dunno if this is relavent, but I'm on w32.
bozhidar
there was a great article about smooth scrolling on emacs-fu
I'll find a link
malsyned`
bozhidar: thanks
jlf
he just needs to read the documentation
damn i sound like ams
bozhidar
http://emacs-fu.blogspot.com/2009/12/scrolling.html
malsyned`
jlf: I have read the docs, although it is a while ago. I wrestled with this for a while. then I gave up, but now I'm un-giving-up.
bozhidar
jlf: well we're here to help, aren't we :)
jlf
malsyned`: being pointed to a specific docstring in response to a question is a clue that you should read it again
from C-h v scroll-step: "If you want scrolling to always be a line at a time, you should set `scroll-conservatively' to a large value rather than set this to 1."
malsyned`
jlf: right. and I read that. And I tried it. And it causes scrolling to be smooth almost all the time. But if I hold <up> then once every, say, 30 lines, scrolling jumps half a screen instead of one line at a time.
jlf
i haven't seen that, but i use C-v/M-v or C-s/C-r for moving longer distances
malsyned`
sometimes it'll go a hundred or more lines doing exactly what I want it to do. Sometimes it'll jump twice in 30 lines.
jlf
hmm, scroll-conservatively says, "If point moves off-screen, redisplay will scroll by up to `scroll-conservatively' lines in order to bring point just barely onto the screen again. If that cannot be done, then redisplay recenters point as usual." ... it's not obvious to me under what circumstances that couldn't be done.
jordanb
rudybot: quote
         

rudybot
I blame presbyterians
malsyned`
jlf: right. very strange. oh well, I'm out of time for it today. thanks for your help. I'll dig deeper later.
bozhidar
,praise
fsbot
Or like darkness on a bottomless ocean spread with clashing billows
jordanb
rudybot: quote
fsbot
and overcast with clouds: darkness upon darkness. If he stretches out
his hand he can scarcely see it. Indeed the man from whom EMACS
withholds His light shall find no light at all.
rudybot
Let's get obesssed with a computer company.
jordanb
fsbot prints five lines in the time rudybot prints one
rudybot: eval (+ 1 0)
jlf
malsyned`: you might try setting scroll-margin to a small number, which might prevent the mysterious "if that cannot be done" condition
rudybot
jordanb: your sandbox is ready
jordanb: ; Value: 1
jlf
jordanb: and try not to pee in it this time
jordanb
I'm pretty shure rudybot's sandboxes come pre-loaded with cat poop.
sure
rudybot: quote
rudybot
I'll give you trance and all that cause it was just a silly fad anyway.
jordanb
Iceland is proving once again that it can fu*k up Eurpoe.
Han
I'd rather get fu*ked up by a vulcano than by a non-regulated banker.
licoresse
ha!, yeah
jlf
you'd rather burn to death than lose money?
jordanb
Can't you stop a volcano by tossing in a virgin?
(Action) volunteers ams.
dmhouse__
jordanb: same's true of a hedge fund
woodworks
i think i screwed something up in emacs, when I try and open a new file with C-x C-f, or menu option, it will only try to open an existing file not let me create a new file for editing.... any ideas?
if I type in a new name, it responds with file not found
dmhouse
woodworks: does it work when you try to open that file in emacs -q?
woodworks
i'm trying to create a new file from scratch
i can open existing files fine
dmhouse
Oh sorry. And does that work in emacs -q?
woodworks: also, what does M-: (confirm-nonexistent-file-or-buffer) RET print?
woodworks
meta - colon says eval:
dmhouse
Yes, then type (confirm-nonexistent-file-or-buffer) and hit RET
woodworks
after completion
ober
hmm trying to hunt down what in my config causes a complete hang in console mode when loading a ruby file. emacs eats 99% cpu. anway to trace where the cpu time is being spent?
woodworks
perhaps let: End of file during parsing is in front of "after completion"
on two seperate lines
dmhouse
Okay, never mind the M-: stuff
Try this instead: C-h v confirm-nonexistent-file-or-buffer
Tell me what the second line of the help buffer that pops up says
jordanb
Never trust air that you can't see.
woodworks
dmhouse: its value is after-completion
jordanb
rudybot: quote
rudybot
We should have ESR come back and discuss that point.
dmhouse
woodworks: okay fine
woodworks: do the same for C-h v read-file-name-function
woodworks
dmhouse: its value is nil
dmhouse
Okay
woodworks: do C-x C-f C-h v read-file-name-function. (In other words do what you just did but do C-x C-f first.)
woodworks
gives undefined, when i type C-x C-f it tries to find a file, giving me c:\emacs\bin first and then waiting for me to type in a file name dmhouse
C-h triggers the undefined
dmhouse
woodworks: do you find any of this behaviour if you launch Emacs like "emacs -q"?
woodworks
dmhouse: i'll try
dmhouse: same stuff, won't let me create new file, tries only to open existing files
wait, tried w/ C-x C-f and it worked,
the menu didn't first time...
or the second time, selecting "visit new file"
dmhouse: what does the -q option do when I start emacs from command line?
dmhouse
woodworks: ignores your .emacs file
woodworks
ah...
dmhouse
What is the exact error you get?
jordanb
rudybot: quote
rudybot
Let's swap without a temporary.
woodworks
when I try and "visit a new file", a dialog box opens with find file, type in auto.el (for an example) the error message says auto.el File not found. Please verify the correct file name was given.
so you're thinking my .emacs file is messed up? I had stuff from 22.3 and now is 23.1
ober
(dolist (hook (list 'emacs-lisp-mode-hook 'ruby-mode-hook)) (add-hook hook 'hideshowvis-enable))
evil
dmhouse
woodworks: If it sitll doesn't work in emacs -q it can't be to do with your .emacs file
woodworks
ok, seems to load fine without errors
dmhouse
woodworks: what loads fine without errors?
woodworks
my .emacs file at startup
dmhouse
Yes, but it may have some funny config to make this behaviour happen
What version of Emacs are you running?
woodworks
23.1 compiled binary on windows xp (yeah, i know windoze)
bleakgadfly
In darkness or in light, emacs will guide you through, woodworks
shabble
find-file shows a dialog box?
that sounds horrible
woodworks
i guess this is the darkness part bleakgadfly
dmhouse
shabble: when you open it through the menu, yes
bleakgadfly
Indeed, woodworks
dmhouse
shabble: by which I mean menu-bar-mode
shabble
dmhouse: haha, mine just hits an exception in ido-read-file-name :D
I'm tempted to write minefield-mode to screw with other people trying to use my session.
jordanb
rudybot: quote
rudybot
Let's go to DeVry and get an exciting tech career started.
jlf
university of phoenix 4 eva!!!
jordanb
There are ways to call zone such that its transformations are permanent.
quidnunc
How do I delete a message in my gnus nndraft:drafts folder?
dmhouse
shabble: this is really peculiar. I can't even find that error message anywhere in my Emacs
bpalmer
quidnunc: try expiring it
shabble
dmhouse: are you using ido?
bpalmer
quidnunc: (that is, E)
dmhouse
shabble: me? Why? (And no.)
quidnunc
bpalmer: That marks it, how do I actually do the expiry (marking didn't solve anything when I previously tried it).
shabble
dmhouse: I think we're getting confused here. Were you talking to woodworks re: his error message?
woodworks
dmhouse: gotta run, called to dinner by my better half -- thanks for your help, i'll try again later and also try to investigate the .emacs file
bpalmer
quidnunc: gnus-summary-expire-articles-now ( B M-C-e )
dmhouse
shabble: I was indede
quidnunc
bpalmer: Thanks, that did it.
That message was driving me nuts.
ober
hmm anyway to set the apple key to work as a meta?
e1f
yes
hober
(setq ns-alternate-modifier 'super ns-command-modifier 'meta)
ober
thanks hober
aspirated me
hober
you can also set `ns-function-modifier' and `ns-control-modifier'
heh
rryouumaa
aspirated?
ober
h'ober
hober
rryouumaa: the difference in the initial sound between "ober" and "hober"
ober
what the french can't do with words like hotel
bpalmer
what the french can't do with their hands.
rryouumaa
oic
jlf
ober: if he's naturally aspirated, are you injected?
rryouumaa
"i wish you a penis" = "i wish you happiness"
offby1
(Action) stares blankly
ober
jlf: heh
pefcect
30 days of testing textmate and I am not sure what the 50$ is for.
technomancy
ober: it's for the author of textmate. now he can retire.
or rather, continue in his retirement.
jlf
ober: it's like "checkmate".. you lose
but with text
technomancy
nicely done
wgreenhouse
I don't know anything about textmate other than that it's disingenuously compared to Emacs a lot. give me some bullet points
jlf
,textmate
fsbot
hmm, Textmate is [0] a non-Free editor that has some nice features, but is locked into OS X <http://emacswiki.org/wiki/TextMate>
[1] see also emacs-nav,
[2] http://ozmm.org/posts/textmate_minor_mode.html,
[3] see also yasnippet
wgreenhouse
what are the allegedly nice features?
noisesmith
""""""""" <- bullet points
wgreenhouse
thx noisesmith
shabble
do you have htem in a larger calibre?
jlf
wgreenhouse: snippets, find file in project are a couple major ones
noisesmith
shabble: sorry, I don't think so, try changing your font?
jlf
,rr
fsbot
jlf is one lucky punk... *CLICK*
noisesmith
,rr
fsbot
(Action) points the gnu and noisesmith trembles... *CLICK*
noisesmith
(Action) exhales a sigh of relief
wgreenhouse
jlf: ah, okay. but it's shareware and, I gather from the retirement references, poorly maintained?
jlf
i guess.. never used it myself
from what i gather, 2.0 has been imminent for several years
technomancy
it's got a project drawer that a lot of mac users seem to get excited about
understandable since mac users are generally not very concerned with making good use of screen real estate
e1f
for the apple loathers: http://www.loper-os.org/?p=132
offby1
a co-worker uses textmate all the time, and seems to like it. From what I can see, it's useful.
e1f
it has emacs keybindings
what's not to like
technomancy
I used it for about five minutes pairing with someone at my last gig
drove me nuts since it let you move the cursor past the end of the line
« prev 1 2 3 4 5 6 7 8 9 10 next »