logs archiveIRC Archive / Freenode / #emacs / 2010 / April / 30 / 1
technomancy
seangrove: M-x toplevel perhaps?
else you've got some out-of-control hook/eval-after-load
seangrove
technomancy: Thanks, that did it :)
Didn't know about that command
leo2007
any osx users here?
yonkeltron
leo2007: no.
jlf
there was one a couple of weeks ago iirc
cvandusen
,anyone
fsbot
Please do not ask if anyone uses, knows, is good with, can help you with <some program or library>. Instead, ask your real question and someone will answer if they can help.
Arelius
osx users? impossible?
TTilus
i have now patched http://github.com/terotil/cucumber.el/blob/master/feature-mode.el with ability to load feature-keywords-per-language from actual cuke translation file, now i only need to go about actually finding the file
         

dim
leo2007: yes?
leo2007
anyone uses xquartz?
yonkeltron
leo2007: doubtful.
Arelius
leo2007: again:
,anyone
fsbot
Please do not ask if anyone uses, knows, is good with, can help you with <some program or library>. Instead, ask your real question and someone will answer if they can help.
TTilus
id like it to try find i18n.yml (from gherkin) or languages.yml (from cucumber) gem sources
dsr
i use osx
TTilus
then try to use the included (in the same directory than feature-mode.el i18n.yml
dsr
but use the cocoa/nextstep emacs
sybariten
is it complicated to get the two-pane model of file manager?
yonkeltron
dsr: is it good?
TTilus
and finally fall back to hardcoded english localization
sybariten
want to copy a file easily
dsr
yonkeltron: good as in?.. it does everything i do on Linux
i use dired and programming in c/c++/obj-C
Arelius
leo2007: You'd get better answers if you really asked your question, or explained why that is the question.
sybariten
or, let me rephrase the questiion : will i have to install extra stuff, with a v23 emacs?
TTilus
how do i open a (resource) file from the same directory where the .el containing the function, which opens the file, resides
(was that complicated enough)
yonkeltron
TTilus: have you tried logarithms?
TTilus
yonkeltron: [No match]
leo2007
ok. I just heard about xquartz and I want to find out how it is different from the one in osx.
         

yonkeltron
TTilus: Ah, so does this Fino-Urgic family include, say, Klingon?
Arelius
How is there not an xkcd emacs mode
leo2007: from X in osx?
leo2007
yeah
yonkeltron
Arelius: M-x butterfly
Arelius: though, we could write an xkcd function which could be like yow
Arelius
XQuartz also known as X11.app ships on the OS X installer cd.
yonkeltron
,yow
fsbot
Make me look like LINDA RONSTADT again!!
yonkeltron
,yow
fsbot
My haircut is totally traditional!
yonkeltron
,yow
fsbot
I call it a "SARDINE ON WHEAT"!
yonkeltron
,yow
fsbot
Then, it's off to RED CHINA!!
Arelius
yonkeltron: I was thinking of one that'd download a comic and display it as a pixmap
yonkeltron
Arelius: oh. yeah. that'd be cool.
Arelius: alternatively, display it using aalib
TTilus
yonkeltron: "Fino-Urgic", lol
Arelius
Speaking of which, why do we still not have Cairo bindings in emacs
Ahh yes, aalib
TTilus
yonkeltron: dunno about the family tree of klingon
yonkeltron: (the language)
yonkeltron
TTilus: Yeah, my latest work is on ranking people from best to worst.
TTilus
yonkeltron: ...but do you know how to open a file which is in the same dir than the .el where the opening function is
yonkeltron
TTilus: You see, the deconstruction is inextricable from not only the text, but also the self.
TTilus: you mean, if you have a file called panda.el
TTilus: in a directory called bamboo
TTilus: you want to know how to get a function in panda.el to load curry.el which is also in the directory bamboo?
TTilus
..and candy.yml in bamboo too
and panda wants candy
lisppaste
ashawley annotated #98559 "set-key-to-buffer" at http://paste.lisp.org/display/98559#1
jlf
TTilus: (file-name-directory (buffer-file-name))
TTilus
yonkeltron: not "load" as in (require 'curry) but as in (insert-file-contents "curry.el")
jlf: uuu! thanks alot!
jlf
np
yonkeltron
yeah
TTilus
jlf: uh-oh, that wasnt what i needed :(
poincare101
I heard in quite a few places that emacs has a small core lisp interpreter and a little code that sets up the window and stuff and the rest is written in lisp, but when I look at GNU Emacs's C code, it's over 400,000 LOC. Um, did I miss something?
jlf
gigo
poincare101
?
jlf
poincare101: that was to TTilus
technomancy
poincare101: C is really verbose
TTilus
jlf: im tuning http://github.com/terotil/cucumber.el/blob/master/feature-mode.el and i want to include gherkin i18n.yml file and load it in a function in feature-mode.el like (insert-file-contents (concat (grab-path-to-this-file) "i18n.el")))
poincare101
technomancy: I realize that, but when normal people say small (even in C) they mean under 5000 LOC...
dim
I think the C core is small in features and responsibilities
and keep in mind Emacs is *highly* portable
that doesn't really cut lines of code in genereal
poincare101
so, there goes my little dream of modifying the emacs internals....
yonkeltron
poincare101: to do what, though?
poincare101
yonkeltron: i haven't really decided :P
yonkeltron
poincare101: what do you want to make it do?
poincare101: oh. well.
poincare101: yow.c is gone, i think. so you can bring that back if you want
,yow
fsbot
Are BOTH T.V.S on??
yonkeltron
,yow
fsbot
Is this an out-take from the ``BRADY BUNCH''?
yonkeltron
,yow
fsbot
This PORCUPINE knows his ZIPCODE.. And he has ``VISA''!!
TTilus
poincare101: "small" refers more to elisp as a language and core responsibilities, not really to the amount of emacs c code
jlf
rudybot: are you at all concerned that yonkeltron may run down fsbot's batteries?
rudybot
jlf: GNU Emacs is a "batteries included" distribution.
jlf
fair point
cvandusen
rudybot: but the batteries will run down
rudybot
cvandusen: Batteries Not Included?
cvandusen
all I know is a lie
TTilus
what is elisp counterpart of ruby __FILE__?
yonkeltron
rudybot: i'm really getting the hang of rails, you see.
rudybot
yonkeltron: not standard in rails, no
yonkeltron
rudybot: what time is it?
rudybot
yonkeltron: Any Mew user able to explain me why I get Imap connexion lost each time I try to C-uZ my gmail imap folders?
yonkeltron
rudybot: you know, i think Thomas Jefferson also spelled connection with an 'x'
rudybot
yonkeltron: Oh, this is just clever. Noticed in a recent comp.lang.scheme post that Siskind calls the successor to Stalin "Stalingrad." Apparently it's meant as an automatic differentiator, spelled Stalin
dim
TTilus: what's __FILE__?
jlf
(Action) commends offby1 for rudybot's recent enhancements
TTilus
dim: http://stackoverflow.com/questions/224379/what-does-file-mean-in-ruby
yonkeltron
haha
TTilus
rudybot: :D
rudybot
TTilus: eh? Try "rudybot: help".
cvandusen
The top rated answer was incorrect?
jlf
that's not even a rubyism
cvandusen
jlf: __FILE__?
jlf
yeah
TTilus
more like perlism
afaik
jlf
cpp
cvandusen
php
TTilus
jlf: true, forgot about that
cvandusen
it's multi-paradigmatic
TTilus
php and ruby got it from perl
and im still interested in similar (to cpp/perl/php/ruby __FILE__) functionality in elisp
cvandusen
,,dv default-directory
fsbot
Local in buffer #emacs;
Name of default directory of current buffer. Should end with slash.
To interactively change the default directory, use command `cd'.
micah
how do I get a particular mode loaded when I open a particular file?
damd
you add the file extension to auto-mode-alist
micah
damd: and if it doesn't have an extension?
damd
that's a variable called something with "magic"
can't recall the name right now
jlf
auto-mode-alist needn't specify an extension
damd
well, regular expression then
jlf
e.g. ("^foo$" . foo-mode)
cvandusen
magic-mode-alist is the magic var
damd
why doesn't that show up when i do apropos-variable for "magic"?
jlf
you have to believe
damd
haha
cvandusen
Apparently, I don't believe in adaptive because apropos doesn't know about it.
jlf
,a adaptive
fsbot
6 matches. (adaptive-fill-first-line-regexp adaptive-fill-function adaptive-fill-mode adaptive-fill-regexp fill-match-adaptive-prefix process-adaptive-read-buffering)
cvandusen
I believe!
I also believe that it's nxhtml that is causing my runaway adaptive-fill-regexp problem.
malsyned`
When I turn flyspell on using (flyspell-mode 1) or (turn-on-flyspell) in a buffer that already has text in it, that text doesn't get spell-checked. Am I doing the wrong thing to turn flyspell on or is that intended behavior and I should just do flyspell-buffer as well?
indio
It does not spell check then entire buffer when you turn it on.
malsyned` ^^^
malsyned`
indio: OK. I'll just add flyspell-buffer to my text-mode-hook as well then.
indio: thanks
indio
np
shabble
malsyned`: as a warning, it can be pretty damn slow for big files
malsyned`
shabble: I don't typically edit big text files. Thanks for the heads-up though. I never used flyspell on Windows because it noticeably slowed down every keypress.
shabble
I end up writing a lot of 10k word+ docs in latex, and occasionally running flyspell-buffer to pick up stuff can take >30s
damd
i'm so glad i never have to write stuff like that anymore
yonkeltron
shabble: break those docs up!
shabble
yeah, I should
yonkeltron
shabble: plus that way you can kick them into git or something, right?
shabble
but...lazy!
yonkeltron
shabble: it's so worth it
shabble: i actually have a couple of Rakefile examples laying around for triggering rubber
dunno if you've ever used it
shabble
rubber?
fsbot
I think rubber is an automated system for building LaTeX documents .. + other entries
bpalmer
"triggering rubber" ?
shabble
,rubber
fsbot
rubber is, like, [0] an automated system for building LaTeX documents
[1] http://rubber.sourceforge.net/, ..[Type ,more]
yonkeltron
yeah
shabble
(Action) investigates
yonkeltron
it's cool beans
not perfect, though.
shabble
sounds pretty good, I've attempted makefiles in teh past, but usually something breaks
boscop
is there a longlines-mode with wrap-indicator on the right side?
shabble
and I have to rerun everthing again
yonkeltron
shabble: i use rake, actually
shabble: also, have you seen my project here? http://github.com/yonkeltron/etask
shabble: it's a rake port into emacs
etask
malsyned`
boscop: longlines-mode has been superceded by visual-line-mode. But your question is still a good one.
shabble
yonkeltron: hmm, no I hadn't
I've got rake installed, could just use it under M-x compile?
yonkeltron
shabble: i don't think so.
boscop
malsyned`, is it easy to change it to display the indicator?
yonkeltron
shabble: do you use rake?
shabble
only for ruby things that come with them :)
yonkeltron
shabble: ah. ok, then.
shabble: i use it pretty heavily.
but i should really port my sh*t into etask, i guess
and prob package some common tasks
malsyned`
boscop: I have managed to get them, lemme see if I can get something repeatable for you.
shabble
yonkeltron: I use sh, perl, Make, in that order :)
bpalmer
(Action) tries out tig
yonkeltron
tig?
bpalmer
"Tig is a git repository browser that additionally can act as a pager for output from various git commands."
http://jonas.nitro.dk/tig/
malsyned`
boscop: If I start a fresh emacs (skipping all my config) and run the command "toggle-word-wrap" in a buffer, I get word wrapping with indicators in the margin.
jlf
hmph, i thought he was welding
« prev 1 2 3 4 5 6 7 8 9 10 11 next »