logs archiveIRC Archive / Freenode / #emacs / 2010 / February / 19 / 1
fledermaus
C-u 0 C-k
jlf
or M-0 C-k
cvandusen
don't M-0 C-k me
jlf
,cvandusen++
fsbot
Noted, jlf. One lispy-point for cvandusen!
bremner
you C-0 C-k
jlf
oh, put a S-0 C-k in it
cvandusen
bremner: I noticed that, but this is a family channel!
bremner
well, safe-for-work depends on the workplace, I say!
         

sepult
,sic
fsbot
[Too many DB matches] [google] http://www.emacswiki.org/emacs/EmacsReflector
http://www.emacswiki.org/emacs/GrandUnifiedDebugger
Intensity
When I attempt to send mail in gnus using smtpmail, gnus silently doesn't send the mail. It keeps the buffer as "unsaved", moves the cursor to the top, and then just does nothing. Then when I attempt to send again (after an undo), I'm asked for my gpg passphrase again and again. Setting debug-on-error doesn't trap into the debugger because apparently there "is no error".
This is so frustrating. I had to try to send about fifteen times in a row before the mail was actually accepted.
anxt
lol that was funny, i just told this coworker how i could write asimple perl script to post to a blog what blocked domain was accessed from what office
or wasn't
didn't expect him to squirm
not that i would completely violate ppls privacy like that
jlf
what, he doesn't know about ssh -D?
anxt
gosh he doesn't even know about telnet
:)
is that for tunneling?
technomancy
I heard about telnet once from my grandpa.
anxt
telnet is awesome from localhost
err for
jlf
and embedded devices
terminal servers
etc
technomancy
and for when you don't have slime installed yet
anxt
this erc is OK
sorta different from xchat
i really need a figlet script, irc is no fun without figlets
my first emacs lisp project
jlf
,yow
fsbot
Is it FUN to be a MIDGET?
bob2
Intensity: *Messages*
Intensity: and/or turn on smtp debugging
ngirard
Hi folks. Something is wrong with my configuration. emacs --debug-init doesn't show anything, emacs just starts, loads stuff and files from my previous session, and at some stage becomes unresponsive (100% cpu)
What can I do ?
bob2
ctrl-g?
ngirard
Hi bob2 . Yes, M-g stops whatever
it does, but
bob2
ctrl-g
ngirard
it doesn't give any clue about what wen t wrong
bob2
,,tdoe
         

fsbot
bob2, tdoe is, like, [0] type M-x toggle-debug-on-error RET, reproduce the problem, then lisppaste the contents of the backtrace buffer.
[1] NOTE: you dont *have* to lisppaste, just contemplating the backtrace will often give you enlightenment
rgr
except he says there is no error
bob2
oops, toggle-debug-on-quit
then ctrl-g should give you a backtrace
ngirard
well I can setq toggle-debug-on-error
on the beginning of my config
bob2
-quit
ngirard
i'll just try this now; Thanks guys for your assistance
Added (setq toggle-debug-on-quit t) on top of ~/.emacs
Restarted it
hit C-g
and... nothing
jlf
ngirard: -q?
ngirard
no message, no debug trace
sorry jlf ?
bob2
did it hang?
did ctrl-g stop the hang?
ngirard
yes it did
yes
jlf
ngirard: ,,-q
fsbot
-q is if you start emacs with "emacs -q" and the problem goes away, it's YOUR FAULT; check your .emacs. If "emacs -q" has problems and "emacs -Q" does not, it's caused by your distro or local admin.
bob2
oh, sorry
ngirard
hrm okay let's try
bob2
(toggle-debug-on-quit t)
tis a function
ngirard
oh, let's try again. Thanks !
jlf
ngirard: ,,strace could be informative as well
fsbot
Reply hazy, ask again later.
jlf
man strace
specbot
Sorry, I couldn't find anything for strace.
jlf
,strace is see http://en.wikipedia.org/wiki/Strace
fsbot
created.
ngirard
Aha. Wow. TeX-fold-expand-spec("* {1}" 69929 70198)
wtf ? But at least I can go on and solve this now, i guess
thanks for helping !
Solved. When reopening scrreprt.cls , something made TeX-fold-buffer from auctex to screw up. Thanks again !
quotemstr
Should I use attribute caching my loopback NFS mount?
lisppaste
alama pasted "unexpected control characters being printed" at http://paste.lisp.org/display/95221
alama
if you're running emacs 23.1, try evaluating that simple defun, and then interactively call (all-different 10) [for example] -- notice the control characters?
fledermaus
alama: why do you think they're unexpected?
alama: (insert " | " i)
,df insert
fsbot
insert is a built-in function in `C source code'.
(insert &rest ARGS)
Insert the arguments, either strings or characters, at point.
Point and before-insertion markers move forward to end up
after the inserted text.
Any other markers at the point of insertion remain before the text. ..[Type ,more]
alama
fledermaus: d'oh
the second argument to INSERT isn't supposed to be there
silly mistake
fledermaus
(Action) nods sagely
gko
Hello, is there a function to get the frame width of a frame which has been modified with text-scale-mode ?
jlf
gko: ,,df frame-width ?
fsbot
frame-width is a compiled Lisp function in `frame.el'.
(frame-width &optional FRAME)
Return number of columns available for display on FRAME.
If FRAME is omitted, describe the currently selected frame.
ryomanolonger
if you know something is in the history, it might be nice to somehow be able to choose it using ido. anybody know of something similar to that?
jlf
ryomanolonger: M-x C-r ?
fledermaus
(Action) sleeps
ryomanolonger
jlf: doesn't seem to work for "m-x org-agenda s"
gko
jlf: frame-width => not OK, because it takes what frame-parameters returned. text-scale-mode changes the face...
jlf
gko: sorry, dunno then
gko
jlf: no problem.
jlf
ryomanolonger: M-x C-r org C-r C-r etc. doesn't work?
Intensity
bob2: Nothing appears in *Messages*, and when I experience the problem, a SMTP is never even initiated. It's completely unpredictable whether or not a given attempt to send the message will work. Sometimes it will work the first try, and other times it will work only after 20 successive attempts. Somehow emacs/gnus is instantly deciding whether to proceed, and the fact that the previous one didn't succeed for some reason means that I'm asked
ryomanolonger
jlf: try m-x org-agenda s RET, then try c-r
doesn't work for me, at least
konr
How can I make ERC not display anything at the modeline?
google, nevermind
quotemstr
I just realized something.
No system that I know of has an API call to get a fu*king DNS resolver.
Y
You can look up *hostnames*, sure.
But if you want to fetch, say, a TXT record, you're sh*t out of luck unless you use your own resolving library and find your own nameserver (maybe starting with the roots).
pjb
Both nslookup and dig allow you to fetch any DNS record you want.
int fd=popen("nslookup -query=TXT your.domain.com") is quite an API, I'd say.
bob2
that's no more an API than awk'ing /etc/resolv.conf is
pjb
And I've not even looked at any DNS library!
quotemstr
bob2 is right.
medgno
yeah. By that logic, bc is a math library, and grep is a regex library
quotemstr
Yes, yes, I know the reason is that the resolver API doesn't expose a DNS server because hostnames aren't necessarily resolved via DNS.
pjb
Given the existance of dig and nslookup, the probability that such a library doesn't exist is close to 0, and in the case no such a library exist, the work involved in writing one is close to 0 too!
quotemstr
But there should be a *separate* DNS library call.
pjb: Consider Windows. No API there either.
*No system* AFAIK has that functionality.
medgno
quotemstr: not even managed environments like Java or .NET?
pjb
http://www.findinglisp.com/papers/case_study_java_lisp_dns.html shows that the Common Lisp DNS message decoding library implements decoding of TXT records.
quotemstr: "system" is not necessarily "operating system". There are other classes of systems :-)
medgno
pjb: but being fair, I think it is somewhat surprising how uncommon support for the full DNS spec is
pjb
Granted, the Lisp library mentionned in that case study doesn't implement WKS record type.
medgno
I mean, searching, I found libraries for C/C++, Java, Python,...
pjb
I've not looked DNS closely, but sometimes, the API is orthogonal to the payload, that is, you can get any kind of payload, and you can easily decode it at the application level, the library implementing only the hard parts of the protocol.
Sometimes, it is done for performance reason, avoiding some gratuituous copying on the part of the library.
Perhaps that's the case of the DNS libraries?
derrida
is it possible to turn off font anti-aliasing in the gui?
quotemstr
,xft
fsbot
quotemstr: I think xft is [0] X FreeType
[1] http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs,
[2] http://www.informatik.uni-freiburg.de/~neubauer/xft-xemacs/,
[3] to test for xft support in the current frame, evaluate (memq 'xft (frame-parameter nil 'font-backend))
derrida
ty
well, things are dramatically better but my keen eyes still detect antialiasing even with: Emacs.font: DejaVu Sans Mono-10:autohinting=true:antialias=false:P
e1f
(Action) pokes derrida in the eyes. how's the aa fonts now?
(Action) dconstructs derrida's eyeballs
derrida
:P
quotemstr
e1f: Your literary jokes are lost on most.
derrida
but, not all :D
e1f
quotemstr: you underestimate the iq of this channel
derrida
http://omploader.org/vM2xsZg
medgno
derrida: and even subpixel-AAed
derrida
and the menu-bar keeps resurfacing lol thought i had put that bad boy away :P
quotemstr
e1f: Well, it's not the American public.
derrida
medgno: yeah, hurts my eyes :(
quotemstr
derrida: Use xmag.
derrida
:P
toolbar rather, meubar doesnt bother me :P
quotemstr: as of 23.1, according to the wiki, Xft is by default included. Can I disable Xft and specify a bitmap font?
quotemstr
Not with Xft, IIRC.
But you can build your own emails.
derrida
ok, nice, that's what i really meant, whether or not non-Xft was still an option
quotemstr
derrida: You can also disable antialiasing using ~/.fonts.conf.
derrida
quotemstr: hm, maybe it's not catching the calls from ~/.Xdefaults?
i'll look into .fonts.conf
i dont have one of those yet
SkydiveM`
Trying out ERC, finally
sshirokov
(Action) high-fives
jlf`
anyone using emacs' dbus support successfully under osx?
SkydiveM`
I'm not, no
twb
Does dbus even work on OS X?
e1f
'logicomix' is pretty amazing (just started reading) highly recommended
the bio of paul dirac didn't come though, amazon is still ordering it
jlf`
twb: yeah it does
hypnosis
http://codepad.org/W2ks3dfn << that is my .emacs -- I'm trying to fix it up so I don't have to backspace four times to delete a tab.
Like, if I enter a tab and need to remove it, I need to remove four backspaces =/
I just want it to be identified as a single character.
sword
Ah, ams ban
hypnosis
as opposed to four characters.
e1f
,tabs
fsbot
e1f, tabs -- [0] check indent-tabs-mode
[1] Also ask me about whitespace,
[2] Also ask me about notabs,
[3] Try C-q TAB to force a literal tab,
[4] M-x (un)tabify,
[5] see `tab-stop-list' and `tab-width',
[6] M-x edit-tab-stops, ..[Type ,more]
jlf`
hypnosis: ,,tabsareevil
fsbot
I think tabsareevil is see http://emacswiki.org/wiki/TabsAreEvil
hypnosis
ok
twb
Why does /etc/services think XMPP runs over both TCP *and* UDP?
sword
I believe IANA usually reserves both ports to avoid "which IP are you talking about" questions
twb
Despite that the internet is more than just TCP and UDP... :-/
Stupid IANA
« prev 1 2 3 4 5 6 7 8 next »