logs archiveIRC Archive / Freenode / #emacs / 2010 / January / 31 / 1
Ober2
,,supermex
fsbot
Ober2, Is that all there is to it?
Ober2
,smex
fsbot
smex is, like, a M-x enhancement for Emacs. Built on top of IDO, it provides a convenient interface to your recently and most frequently used commands. And to all the other commands, too -- see http://www.emacswiki.org/emacs/Smex
Fudge
are there any audio demos of emacs
kodein
what, like audio only?
cluck
Fudge: try the ,,screencast
fsbot
[->] EmacsScreencasts -- at http://www.emacswiki.org/cgi-bin/wiki.pl?EmacsScreencasts
cluck
other than that i don't think there are (at least famous) audio guides
now that i think of it, try looking around emacspeak's site, if they exist they're most likely there
         

chrisdone
anyone know of a library to aid the process of highlighting lines in a buffer?
I'm thinking of pilfering the highlight-current-line.el code, but if there's a lib for doing many lines, like for compile errors/warnings, and stuff like that, that would be niec
cluck
chrisdone: look in the elisp manual at the section on writing major/minor modes, iirc fontification is exemplified there too
Han
nice!
augustl
can I disable the scroll wheel in emacs?
doesn't work very well with my apple magic mouse ;)
kodein
sure, unbind <mouse-4> and <mouse-5>
augustl
kodein: tnx!
Ober
hmmm clojure
cluck
yes, because lisp isn't slow enough. let's run it on top the jvm!
(Action) ducks
kodein
someone should make a jvm in clojure, then run clojure on top of that
we'd be approaching turtles all the way down pretty soon afterwards.
chrisdone
I don't think I understand how anonymous functions work in elisp. I have (let ((a ..)) (add-hook-to-something (lambda () (do-something a)))) and when the anonymous function gets called I get: "Symbol's value as variable is void: a". does emacs support closures?
quotemstr
chrisdone: lexical-let.
chrisdone: Read about "dynamic scope" versus "static scope".
chrisdone: And curse RMS a little each time you write "lexical-let" for choosing dynamic scope for Emacs.
fledermaus
quotemstr: sure, if you don't understand emacs at all
quotemstr
fledermaus: I reject that argument.
fledermaus
you kind of have to have dynamic scope, or you can't make an editor like emacs.
quotemstr
fledermaus: You can do everything you need via Common Lisp's semantics, which allow dynamic scope for variables specially marked via defvar.
fledermaus
quotemstr: you're fre to deny reality as much as you want
quotemstr: you seem to be saying elisp shouldn't have dynamic scope
quotemstr
fledermaus: I'm saying lexical scope should be the default.
fledermaus
you're saying it now
you didn't say it to start with
quotemstr
fledermaus: And given the choice of one model or the other, static scope is clearly superior.
fledermaus
except you can't design an editor like emacs with only lexical scope.
         

quotemstr
fledermaus: You can pass via function parameters what you'd otherwise transmit via rebinding dynamically-scoped variables.
fledermaus
I agree that lexical cope should have been there form the start
quotemstr: that's _incredibly_ unwieldy.
and basically doesn't scale.
but anyway, I'm going to sleep.
chrisdone
ok. I surmrised it might not have lexical scope by default but immediately dismissed the idea out of horror. oh well, lexical-let it is!
e1f
padma lakshimi is a pc
"Padma Lakshmi, the gorgeous host of Bravo's "Top Chef," is due to give birth soon, and she has never named the man who impregnated her. But Page Six hears the father is Adam Dell. Dell, 40, the tech-savvy younger brother of billionaire computer maker Michael Dell"
tsk tsk
quotemstr
Eh, she's moderately attractive.
chrisdone
"PC"?
e1f
but compared to salman rushdie?!
who she was married to for some time
quotemstr
Different scales.
e1f
chrisdone: as opposed to a mac
quotemstr
A man's attractiveness has more to do with his height, demeanor, and respect among his peers than with his visage.
chrisdone
isn't padma a person?
e1f
,g get a mac ads
fsbot
[google] http://www.apple.com/getamac/
http://en.wikipedia.org/wiki/Get_a_Mac
e1f
have you been away from the internet recently?
chrisdone
"Which Mac are you?" I get it
quotemstr
e1f: Yes.
e1f
not which mac... it's the mac/pc duality postulated by umberto eco
quotemstr
e1f: Our culture is now *completely* reliant on advertising executives.
e1f
and that's a good thing, otherwise how else would we know what's good and what's evil
chrisdone
not really familiar with that notion. *being* a personal computer or a macintosh (isn't that contradictory?)
heh. I've got rogue overlays that I can't delete because I used LET instead of LEXICAL-LET. great
e1f
that there's a wikipedia entry on the notion should tell you its pervasiveness as a meme
quotemstr
chrisdone: He means (in a roundabout fashion that encourages "viral" marketing) that she must have traits that correspond to those of typical PC users because Dell's executive impregnated her .
chrisdone: Yes, that makes as much sense to me as it does to you.
e1f: There's also a Wikipedia article that's a list of fictional ducks.
http://en.wikipedia.org/wiki/List_of_fictional_ducks
e1f
yes, and your point is?
quotemstr
The existence of a Wikipedia article isn't a ticket to social currency.
e1f
oh i meant to ask you if people in buffalo are prone to wearing buffalo check shirts
quotemstr
I've never seen one.
e1f
or if it's just a fashion thing
quotemstr
What is this? 1990 all over again?
e1f
i thought so
well, fashions do cycle due to a lack of imagination
quotemstr
More like a limited solution space.
chrisdone
Apple marketting confuses the hell out of me. at work I'll say "what's that on your PC?" and if the PC happens to be a Macintosh PC they look all confused. and then I get confused, and then remember the marketting.
e1f
soon i expect we;ll be earing bouffont wigs and carrying snuff boxes
quotemstr
e1f: Funny, I was just reading this: http://www.nytimes.com/2010/01/31/business/31altria.html?hp
e1f
oh that's tomorrow's paper. it hasn't been delivered yet
so i will postpone reading it
quotemstr
You can get the TImes York Times delivered?
e1f
yeah
quotemstr
Not in Buffalo.
Bastards.
e1f
in toronto and suburbs
not in buffalo? that is surprising. i didn't realize buffalo was the third world
quotemstr
(Action) glares.
e1f
i hope that glare was directed in the direction of manhattan
gaaaaaaaaa!
quotemstr
Interesting.
snogglethorpe
quotemstr: you might have the IHT in your area instead
quotemstr
I'm in *New York*. Why would I have the IHT?
snogglethorpe
quotemstr: cause that's not realllly new york
quotemstr
Woo!
I just checked, and they have it now.
snogglethorpe
(when I lived in Boston, they had both NYT and IHT delivered)
quotemstr
Maybe the NYT company finally read that email I sent.
rgr
anyone using offlineimap - wouldnt the ~/Maildir/new on one dovecot server sync to the same place on the local one? Is not appearing in my Maildir/new BUT gnus is picking it up somehow.
jbms
rgr: you are syncing a remote dovecot server via imap to a local maildir?
or to a local dovecot via imap?
I have used offlineimap but I found it wasn't sufficiently robust to be usable
and also it depends on its metadata to do the right thing
if you delete its metadata, and then resync, it will duplicate all of your messages
rgr
from remote imap to locat imap. local maildir was simply too slow.
s/locat/local
Seems to work ok now.
jbms
(the correct thing would be to compute a content hash of the messages in order to match up messages without metadata)
rgr
I got confused because of my gnus client side splitting.
shyam
,dv thing-at-point-short-url-regexp
fsbot
A regular expression probably matching a URL without an access scheme.
Hostname matching is stricter in this case than for
``thing-at-point-url-regexp''.
Defined in `/usr/share/emacs/23.1/lisp/thingatpt.elc'.
shyam
thing-at-point-short-url-regexp
,thing-at-point-short-url-regexp
fsbot
shyam
"[-A-Za-z0-9.]+[^]\n \"'<>[^`{}]*[^]\n \"'<>[^`{}.,;]+"
thats the value i see here..
what would [^] mean there?
quotemstr
Negation
[^c] matches any character except c.
[^xyz] matches any character that is not x, y, or z.
moofsy
(setq-default tab-width 4) doesn't seem to apply to python-mode. Does anyone know how to make this mode follow the global rules?
quotemstr
tab width is not indentation.
It's the width of a tab.
,apropos python.*indent
fsbot
12 matches. (python-calculate-indentation python-guess-indent python-honour-comment-indentation python-indent python-indent-index python-indent-line python-indent-line-1 python-indent-list python-indent-list-length python-indent-region python-indent-string-contents python-indentation-levels)
quotemstr
,dv python-indent
fsbot
Number of columns for a unit of indentation in Python mode.
See also `M-x python-guess-indent'
You can customize this variable.
Defined in `/usr/share/emacs/23.1/lisp/progmodes/python.elc'.
shyam
quotemstr: but i was thinking what character [^] is negating..
quotemstr
`{} apparently
shyam
or thats equivalent to . ?
Mathuin
Hey there, I'm an XEmacs user looking for help with setting up DejaVu fonts. The xft stuff doesn't seem to work the way I'd expect it. Anyone have a minute?
ams
install emacs instead
shyam
i mean is there 4 negations on that? then what whould the first and third be negating.. [^], [^`{}], [^],[^`{}.,;] ?
Mathuin
ams: an interesting suggestion, but not one I'm going to take at first. Anything else?
ams
Mathuin: xemacs isn't really being maintained anymore.
jbms
Mathuin: I don't really know much about font setup or xemacs for that matter, unfortunately
ams
and in either case..
,anyone
fsbot
I heard anyone is Please do not ask if anyone uses, knows, is good with, can help you
jbms
ams: He did ask his question...
ams
not really
"The xft stuff doesn't seem to work the way I'd expect it." is completely descriptive... no?
Mathuin
I am familiar with using the old-school 14-element font specifications.
-blah-blah-*-*-*-* style fonts work fine.
jbms
I believe you use a syntax something like "Font Name 17"
yonkeltron
are my chats readable?
jbms
yonkeltron: yes
yonkeltron
jbms: excellent. thank you. connected with SSL now
which is a good thing
shyam
Mathuin: i donno how it is for xemacs, but M-x set-default-font lets you do that on emacs, it has tab completion to help you set the font string..
Mathuin
'fc-list | grep "DejaVu Sans Mono" lists the bold, oblique, bold oblique and book (normal, I'm thinking) versions.
shyam: Alas, no match.
shyam
set-frame-font?
ams
yonkeltron: uhm, not really.
yonkeltron: the only guaranteed part to be encrypted is between you and the server, not from the server onwards.
Mathuin
shyam: nope.
ams
switch to emacs. telling you.
Mathuin
yonkeltron: if you and another person both use SSL and correspond via private messages, it would seem to be secure from a network perspective.
ams
well, no. since communication goes through the ircd.
mwnn
Hi, In my .emacs file i would like to check if another instance of emacs-server is running before starting a new one
Mathuin
ams: I've been an XEmacs user for a long, long time. I'm generally pleased with it, I'd rather not switch at this point.
ams
which are all basically untrusted
Mathuin
ams: even if you're on the same server?
ams
Mathuin: yes
Mathuin: hence why DCC was created
jbms
DCC doesn't use SSL
Mathuin
ams: I generally stopped using IRC except for the occasional attempt at tech support back in 1990, so I missed a lot.
ams
protocol wise, there is no difference between a `privmsg' and a `channel' message
they look exactly the same
jbms
obviously IRC isn't a good medium to discuss sensitive things
ams
Mathuin: what is there to miss? it hasnt changed.
yeah
jbms
but SSL will be sufficient for your local network admin at work to spy on your conversation or something
err to not spy
yonkeltron
just to monitor
ams
shurg, network admins have better things to do
yonkeltron
maybe where you work
jbms
:)
Mathuin
most of the netadmins I have known consider their users boring. :-)
ams
specially alot better things to do than spy on a teenager yapping about how his gf dumped him or something equally boring
jbms
sure, nonetheless it is true that all traffic should be encrypted as much as possible
ams
not really
it creates a false sense of security, just like this whole ssl thing
jbms
why make information available to more people than it needs to be
?
only if you don't understand what it is doing
ams
yeah, and 99.9% of all users have no fu*king clue what they are doing
jbms
with messaging, the encryption should clearly be end-to-end rather than client to server
ams
so point remains.
« prev 1 2 3 4 5 next »