logs archiveIRC Archive / Freenode / #emacs / 2010 / January / 9 / 1
hardkrash
bug, or other issue
quotemstr
Sure you don't want # -*- mode: python; python-indent: 4 -*- ?
hardkrash
I use a different editor, but i wanted to be nice to the emacs users
quotemstr
Yes. Use python-indent: 4, and indent-tabs-mode: nil
hardkrash
i dont know, i use vim, si i want it to match the vim mode i use
quotemstr
Ew.
hardkrash
dude, to each their own
quotemstr
hardkrash: Oh, I respect your right to use vim, but I can still feel sorry for you. :-)
hardkrash
as i feel sorry for you
:-P
         

quotemstr
Anyway, that modeline should work fine in Emacs.
It's a pity emacs can't read vim modelines, or vice versa.
hardkrash
just to double check,...... # -*- mode: python; tab-width: 4; python-indent: 4; indent-tabs-mode: nil; -*-
quotemstr
Don't set tab-width.
hardkrash
ok so # -*- mode: python; python-indent: 4; indent-tabs-mode: nil; -*-
quotemstr: Thanks!
quotemstr
Yep.
hardkrash
now off to get textmate mode lines :-P
pbm
emacsclient write all (message)s to console, minibuffer and *Messages*, is there a way to write some message only to console and *Messages* and not to minibuffer?
tasslehoff
Anyone using cedet? I'm trying to get a completions-menu to pop up when there are completions after "." or "->" when writing c. Using semantic-complete-self-insert gives me the completions in a buffer, but I want a popup instead
zeev
KirinDave
Oh this is not good.
Somehow my paren match highlighting turned off and I have NO idea how to turn it back on?
Could someone tell me what I accidentally unset?
fledermaus
depends on which paren highlighting you were using.
KirinDave
I was in clojure mode.
fledermaus
that really doesn't tell me anything
KirinDave
So obviously this state of affairs is terrifying.
Well, when your point is on a paren it shows its mate.
That's what I'm referring to.
fledermaus
why don't you look at your ,eamcs and see what you had enabled?
KirinDave
I am using aquamacs and I suspect someone was goofing with my machine and may have hit a key combo.
And then it saved.
bob2
your dotfiles aren't in version control? =
)
fledermaus
bob2: aquamacs. all bets are off.
KirinDave
bob2: No, because Aquamacs makes that incredibly tedious.
I've been meaning to switch to a more mainline emacs now that it has a real mac port and not some shady carbon job.
bob2: But I do appreciate your implicit "fu*k you" there. Because obviously, if they werem I would have simply reverted. So your only goal there was to sleight me.
bob2
...
it was a polite, "hey, maybe you can do $foo so it doesn't happen again"
thanks for the assumption of assholity
         

fledermaus
KirinDave: he wasn't saying "fu*k you", don't be oversensitive.
KirinDave
bob2: It's IRC>
bob2
also, M-x apropos paren
skeeziks
(Action) just finished moving from the Carbon port to the standard GTK+X11 version so he could get Misc Fixed ;)
mfisher
KirinDave: I got the same question (from the channel, not from bob2) after asking if it was possible to regenerate my deleted .emacs from a running emacs.
KirinDave
Ahh, show-paren-mode got turned off. I guess I should have been able to guess that name.
bob2: Thank you for that guidance.
lithper1
i'm trying to add php-mode.el by adding a path to load-path and then doing a (require 'php-mode). However, it comes back with the following error: error: `c-lang-defconst' must be used in a file
however, if i evaluate (require 'php-mode) while in emacs, it loads fine.
that require only fails during startup
KirinDave
skeeziks: Is the GTK+X11 version okay on a mac? Seems like it could be a pain. I do rather like the solid windowing system integration Aquamacs offers.
skeeziks: I'd hate to lose things like good integration with the stock OS clipboard, etc.
skeeziks
KirinDave: Not a pain at all, really. Clipboard integration does work with the help of Apple's X11, though it's not as direct as using Command-C to copy.
KirinDave
skeeziks: Does the mainline carbon+cocoa port preserve that?
skeeziks: That's one of the major value adds of aquamacs for me.
lithper1
ah, ok seems to be an emacs23 issue. i found the solution.
skeeziks
KirinDave: I liked it for a while, and it was convenient for sure, but using the X11 version greatly simplifies my cross-platform life. If I only used Macs I may still be on Aquamacs. Also, I *really* wanted my Misc Fixed :)
subopt
In the gnus *Summary* buffer, how do i limit to all articles that are To, From or CC'ed to Alice, Bob or Charlie?
tessier
I have been wondering for ages: Why is it that sometimes, usually when I have a line with a longish path in it like /etc/puppet/modules/db, in a paragraph in an email does emacs not seem to properly fill the paragraph?
For exampe...
http://pastebin.ca/1743414
There is enough room there to put the path on the previous line.
jlf
,,...
fsbot
[In the distance, you hear a dog bark]
legumbre
,&
fsbot
in the distance, you see some tree bark.
antoszka
lol
DuClare
[In the distance, you hear a dog spark]
(Action) *zzzzap*
damd
,.
fsbot
whoops, Invalid read syntax: "."
jlf
fsbot
[google] http://www.emacswiki.org/alex/Matthias
http://www.emacswiki.org/alex/
leo2007
,term
fsbot
[Too many DB matches] [google] http://www.emacswiki.org/emacs/AnsiTerm
http://www.emacswiki.org/emacs/AnsiTermHints
ryoma
tessier: try filladapt
tessier: you sure it just doesn't go past where it would fill?
tessier
ryoma: Yep. Check it out in the editable textarea at the bottom of that paste. It fits easily.
leo2007
,filladapt
fsbot
I think FillAdapt is at http://www.emacswiki.org/cgi-bin/wiki.pl?FillAdapt
ryoma
tessier: wfm in org-mode with my own filladapt config :)
jlf
tessier: looks to me like your fill column is set to the place between "group of" in line two
have you tried different values in C-x f ?
tessier
jlf: Ah. Could be. But then how did "group of" extend past the fill column?
ryoma
it can do that
tessier
How do I find the current value of fill-column?
ryoma
sorry, my w3m is wrapping your lines
jlf
tessier: C-h v fill-column
tessier
70. What is a typical value?
ryoma
that's typical. i use 60 or so.
narrow columns are easier to read, but sometimes you have structured data
be aware of fill-column if you write docstrings
use a narrow one for those
tessier
Why?
ryoma
tessier: emacs-lisp-docstring-fill-column controls that. becuase if uyou release the code, others will often have very narrow fill columns and will not be able to read your docstrings without filling them themselves, which is bad for structured data in them
the default is 65, but it should be 55 or 60
people with large fonts and people on mobile devices
and people who just like to read narrow columns or split vertically
tessier
heh...I was just thinking "People with large fonts on mobile devices are reading docstrings?" but now I see you mean those as separate issues. :)
ryoma
(Action) seeks ideas from #emacs on why the html version of gmail gets stuck most of the time and you have to refresh then retry whatever it is you are doing
ams
ryoma: cause you suck.
quotemstr
ryoma: because the backend isn't designed for robustness.
ryoma: It's easier to scale when you don't have to always finish serving every request, apparently.
aidalgol
How do I navigate and cear the calc trail?
ryoma
quotemstr: hmm. but why does it require refreshing? (i meant reloading.) why would it serve a blank page? sometimes it times out ff, but other times just blank.
quotemstr
ryoma: I don't know for sure, but I suspect that if a machine hiccups, or if they encounter a database deadlock, they don't both retrying.
ryoma
ams: and here i thought you censored me long ago for being right about the difference between defun and defun* optional arguments
quotemstr
ryoma: I've read that they use the OOM killer to limit machine load, etc.
It sounds nasty.
ryoma
! oom killer!
junis
what is the easiest way to make the whole buffer the regionn
damd
C-x h
junis
when i try to set a face to a region in a read only buffer with M-o o some_face_name i get emacs telling me that it's a read-only buffer and no change happens.... why is that?...
bpalmer
because you're trying to make a change to a read-only buffer. (Yes, setting a face on a region counts as a change)
at any rate, if this is your mode, you may want to inhibit-read-only while you do it
junis
i see....
quotemstr
You don't want that.
You want c-save-buffer-state
bpalmer
I do not.
quotemstr
If you're setting text properties for fontification you do.
tomoj
I'm getting "url-retrieve-internal: Symbol's value as variable is void: url-request-method" when doing M-x package-list-packages. anyone seen this before?
bpalmer
quotemstr: There's no reason not to allow -change-functions to run, for example; they might care about face changes.
quotemstr: in some contexts, c-save-buffer-state makes sense, but the heart of the macro is what I suggested: (let ((inhibit-read-only t)) ...)
quotemstr
Yes.
daedra
hey, I don't seem to have a tags table
I am invoking M-. on car, and slime replies with "Visit tags table (default TAGS)" and a prompt. /home/daedra/TAGS does not exist
damd
yeah, you have to make one first... :P
bob2
you need to generate it
daedra
aha
damd
but i'm not sure you want to have 'car' in it
daedra
yea it is a fresh install
bob2
I'd bet slime has a better solution than tags, though
daedra
I do want car in it
if I can
tomoj
I think it can find the definition if the function is running in the slime session?
I mean, if the function is defined
daedra: what is M-. bound to?
daedra
tomoj: find tag
tomoj
that's wrong, it should be slime-edit-definition
daedra
oh
well I havn't changed anything from my install
tomoj
are you in slime mode?
daedra
I only installed it 10 minutes ago
I think so
how do I determine?
tomoj
does it say "Slime" in the modeline?
daedra
it says *inferior-lisp*
tomoj
that's not slime
daedra
although I ran M-x: slime
tomoj
I bet you need to add some contrib stuff
daedra: http://common-lisp.net/project/slime/doc/html/Loading-Contribs.html#Loading-Contribs
at least slime-repl
Guthur
how can i determine the current load-path
benny
you evaluate it, M-: load-path
Guthur
great, cheers
parolang`
TRAMP is pretty cool :)
redsonya
parolang`: only pretty cool not very or extremely cool
parolang`
Granted, only turquoise cool, not blue or violet.
Hey, your nick is redsonya :)
redsonya
Hey! how did you guess?
parolang`
I take it you really like the movie :)
redsonya
Never seen it.
parolang`
Is it a comic or something?
redsonya
But I picked up a novel once with redsonya as the character
parolang`
Alright, just wondering :)
redsonya
I liked the costume so I thought I would don it
for irc
parolang`
Is it revealing?
redsonya
Hmm, what was she wearing in the movie?
parolang`
Sorry...just having some fun with you :)
redsonya
bronze plate mini skirt?
parolang`: ditto
parolang`
Yeah...I forget. I think it's your typical heroiness garb.
redsonya
In real life I would not look good in that gear. I'm too short
parolang`
In real life, neither would I :)
redsonya
I can imagine!
parolang`
:)
I think the actress is like 6' or something.
redsonya
Didn't she end up marrying Sylvester Stallone or something?
Briggitte Neilson
parolang`
Yeah, that's beyond my knowledge.
Yeah.
redsonya
Just an echo in my memory
from reading trashy gossip magazines in doctor's offices
parolang`
yeah
bpalmer
yes. She was married to Stallone for 2 years.
http://www.imdb.com/name/nm0000557/bio
parolang`
Sometimes it's hard not to know that kind of stuff.
redsonya
ta bpalmer
parolang`
It's like when holmes and cruise had a baby. I was wondering...why do I know that they had a baby?
I don't even watch their movies.
bpalmer
Sherlock Holmes would make a terrible father.
parolang`
bpalmer: Why, because he's married to tom cruise? You hate gay people, hmm? :D
Hickok
He'd be a good parent --- Watson would make a good mother
rgr
A great father. Not only would he know his son was smoking, he would also know the brand of tobacco.
« prev 1 2 3 4 next »