logs archiveIRC Archive / Freenode / #emacs / 2009 / December / 5 / 1
rullie
hi folks, how do i uncomment a region commented with comment-box ?
shabble
comment-dwim with it selected works for me.
rullie
mm...
that's not working for me
shabble
hmm, mine seems to be defadviced with 'rct-hack', but I have no idea when/where that happens.
probalby stole it from someone elses setup
no, that shouldn't affect things
crowbar
Anyone know a reason why Wanderlust would be asking me for a password twice when I start it and access my IMAP account?
inclement
I've just installed cedet and ecb-mode, and they're both excellent. The only problem is that they drastically increase loading time - with '(load-file "~/elisp/cedet/common/cedet.el")' in my .emacs, opening time increases from much less than 1s to at least 10s (as it goes through all of the cedet loads), and then using M-x ecb-activate takes another minute or so
Is something wrong here...this seems an awfully long time
Everything seems to work okay once it's actually loaded
consolers
cedet is now included in CVS emacs so loading time is now rolled into standard emacs distro
your angst will help the hardware industry and the h/w s/w nexus
thank you for your feedback
inclement
Hmm...it's emacs 22 on a server that isn't mine, but I might try and use a CVS version if it's going to drastically decrease those times. Is it likely to?
shabble
inclement: have you compiled the cedet sources?
         

inclement
I don't think so. Is this likely to help?
(Sorry if this is a silly question. I don't know much about this stuff :( )
consolers
yeah compiling will help some
(i usually dont bother myself, i use an older gnus, and never compiled it, i just deal with the 1-2 extra seconds of startup)
but i think your problem is when cedet does its startup, not with emacs loading stuff
monotux
what is the easiest way of telling where emacs looks for it's .emacs on Windows XP?
consolers
compiling makes for faster loading , but speed gains in compiled code are next to nil
monotux
I have a working (and subversion:ed) emacs-conf, but I can't make it work on windows :/
inclement
I wouldn't mind 1-2 seconds, I'd probably just try to get the hang of emacsclient. Anything's worthwhile to decrease the current appalling lag though
Thanks
consolers
monotex, it looks at C-x C-f ~/.emacs
rullie
monotux: C-x C-f ~/ tab tab
consolers
monotex see C-h v user-init-file
monotux
consolers: oh, thanks!
consolers
monotex easiest way is to just C-x C-f ~/.emacs and put a (load "/path/to/my/own/emacs.el") in there
monotux
the thing is, that I put a file in the directory I got from the user-init-file (I looked it up like you wrote) that adds the path to my emacs-conf and the directories, but when I launch emacs, it doesn't seem to care
I will upload that file somewhere
http://dpaste.com/129266/
I usually link the emacs.d-directory in the file above to ~/.emacs.d/ , but that seems to be a bit hard on windows
or, I don't understand how to do it, anyways (:
consolers
easiest way is to C-x C-f ~/.emacs in an emacs -Q
monotux
hm, not sure how to start emacs with -Q
consolers
(not much point debugging other failures)
links dont work
monotux
woho, I found a emacs.exe and started it with -Q
consolers
(as you expect them anyway)
monotux
emacs -Q -> C-h v user-init-file is nil
:/
consolers
monotux the only suggestion i offer is to C-x C-f ~/.emacs and put in a line which loads your real file with a full path
and where all paths are normal paths. no links
monotux
mkey
thanks!
         

consolers
thats the easiest way to solve the problem
monotux
I'm not sure what I've done and what I haven't, I need to get the terminology right
consolers
the only other alternative is to waste time in idiosyncracies
monotux
hehe
optimizer
why is emacs so popular even though dynamicallys coped elisp is hard to code in? do other extension languages suck that much?
quotemstr
optimizer: elisp is popular because emacs is popular.
optimizer: The reason emacs is popular has little to do with its extension language.
optimizer
is emacs popular like why windows is popular?
quotemstr
optimizer: You mean, is Emacs popular because the FSF engaged in anticompetitive practices with large computer vendors, unpaid independent coders for operating systems, and deliberately jiggered with file formats to promote vendor lock-in while GNU programmers quivered under the fear of high-velocity projectile-chairs hurled by an angry and muscular Richard M. Stallman?
optimizer: No.
#emacs, what's a good fanless desktop machine?
optimizer
Developers Developer Developers
tromey
elisp isn't really that hard to use
the scoping doesn't really get in the way much
dim
elisp is fun and easy I'd even say
quotemstr
tromey: And the byte-compiler whines if you actually use dynamic scoping without declaring that you are.
nics
Hi guys, isn't c-common-mode-hook called by c++-mode?
optimizer
how do you even get lexical scope in elisp?
is there a good elisp tutorial somewhere?
fsmunoz
optimizer: there is a branch that implements it
dim
optimizer: the included documentation is fine
quotemstr
optimizer: ,,df lexical-let
fsbot
lexical-let is a Lisp macro in `cl-macs.el'.
(lexical-let VARLIST BODY)
Like `let', but lexically scoped.
The main visible difference is that lambdas inside BODY will create
lexical closures as in Common Lisp.
quotemstr
Most of the time you don't need lexical-let though.
Holy cow
http://www.newegg.com/Product/Product.aspx?Item=N82E16835887001&Tpk=fanless
Now *that's* a heatsink.
monotux
oh, I finally got it working
I actually created a HOME-variable system-wide, and it seems to do the trick
jlf
i'm waiting for somebody to couple a tiny stirling engine to cpu's for auxiliary power generation
consolers
all popularity in consumer markets is related to deals with the devil
quotemstr
jlf: Won't work.
jlf: The temperature gradient is too low.
AIUI, you need hundreds of degrees of difference to do any useful work.
consolers
just to run desktop apps
like gnome
nothing useful
sorry to labour the point
shabble
wasn't there some plan to generate power from thermal differentials in shallow/deep sea-water?
that's not a huge differential, although I guess there's enough energy there that you can afford to be inefficient
aha, http://en.wikipedia.org/wiki/Ocean_thermal_energy_conversion
jlf
quotemstr: well, it depends where the threshold for usefulness is
shabble
there was some recent science on quantum dots for direct thermoelectric conversion with decent efficiency
belak
Alright, in org-mode, why wouldn't it be adding a timestamp when I mark a task as completed?
shabble
,dv org-log-done
fsbot
not documented as a variable.
shabble
,(require 'org)
fsbot
org
shabble
,dv org-log-done
fsbot
Information to record when a task moves to the DONE state.
Possible values are:
nil Don't add anything, just change the keyword
time Add a time stamp to the task
note Prompt a closing note and add it with template `org-log-note-headings' ..[Type ,more]
belak
Oh, that's neat
Thanks
shabble
np
belak
Looks like I misspelled it in my .emacs >_<
quotemstr
Okay, so that stuff works by introducing seawater into a vacuum, where it can boil at lower temperature.
The steam then drives the turbine.
You don't expend a huge amount of energy maintaining the vacuum though?
belak
shabble: how can I do that in emacs? check the variables?
ker-afk
belak: C-h v variable-name RET
ltsampros
quotemstr: the vacuum is created one time. you seal the container and it's maintaned again
keramida
I think I may have broken my 'a' key by using screen too much
jlf
it's very expensive to maintain a vacuum
quotemstr
ltsampros: But you're introducing seawater into the vacuum so that it boils.
jlf
the belts are forever breaking
quotemstr
ltsampros: So it's not sealed.
belak
keramida: thanks
keramida
ltsampros: when seawater enters the vacuum the first time, it is' no longer a vacuum
xpw
So do I have to install a bunch of GNOME libraries in order to use XFT Emacs?
keramida
Extracting all of it from the vacuum to restore vaccuum-ness might cost a bit
ltsampros
keramida: yes it's filled with water.
quotemstr
Clearly my fluid mechanics fu is weak.
ltsampros
probably it's a little bit more complicated than that.
cbmuser
hei, this might sound stupid, but how do I *enable* the splash screen when it's disabled?
I'm on Fedora 12 and can't see my beloved GNU :/
on Debian it's enabled by default
ltsampros
chech variable inihibit-spash-screen
xpw
cbmuser: Do you know how to use the .emacs file?
quotemstr
That's really bizarre.
Consider ~0Ì1 EÌ©F/. (' GPÌ 'P3*N© /̯1 .(1Ì '2 5A-G '.7'1 H E3/H/ (H/F 3'Ì*G'Ì '.('1Ì H ',*E'9Ì FÌ3*
The shape of the letters changes as I move point through the text.
consolers
dont change here. i use iso-8859-1
fsmunoz
TO ARMS!
consolers
WFM
jlf
looks like squiggles here
quotemstr
jlf: It's Farsi, you insensitive clod.
Persian.
keramida
Not readable with Consolas, but cool!
jlf
are you claiming that it does not look like squiggles sir?
tensorpudding
it is kinda squiggly looking
MisterN
quotemstr: i asked an iranian to translate this
and... i can just say: WTF
quotemstr
MisterN: It's a fragment from a larger translation. We're working on internationalizing haystacknetwork.com and trying to figure out some RTL text layout issues.
Crazy people and their non-Latin languages.
scottj
What are the columns called that display the line wrapping sign?
jlf
fringe
fsmunoz
I just discovered `( )
And now I'm misusing it, like using "cat" and $() in shell out of laziness.
lisppaste
xAFFE pasted "wrong signature" at http://paste.lisp.org/display/91619
keramida
fsmunoz: 'cat | grep' is a long time favorite
fsmunoz
hehe
keramida
...of mine, damn <ret>
xAFFE
Hi folks, I'm toying a bit with emacs and dbus and sending a knotify message works fine so far. After this, I want to call org.kde.KNotify.closeNofication(int id), but when I call the method I get this: http://paste.lisp.org/display/91619. I think this is, because emacs gives a wrong type to dbus? how can I tell emacs to make sure it is integer?
shabble
now, where was that 'useless use of cat' award again?
although it tends to happen when you build up teh pipeline in stages
fsmunoz
xAFFE: I'm not sure the problem is with the type
The dbus bindings do the conversion
You can even specify the type
Take a look at http://www.emacswiki.org/emacs/rcircDbusNotification for possible ideas.
xAFFE
fsmunoz: ah thanks, I needed to specify :int32, now it works
fsmunoz
yw
I would be more helpful but my mind has a very small FIFO and I have almost forgot everything about the dbus bindings by now :P
ect`
Dear all, I use etags to create TAGS for my C++ code like this: 'find . \( -name "*.h" -o -name "*.cpp" -o -name "*.c" \) -print0|xargs -0 etags --append'. But I fount that it can't help me to find the correct place when then different class's methods have the same name. For example, I M-x . 'MWidget::paintEvent()', the TAGS always take me to 'PhotoWidget::paintEvent()'. I use 'M-x ,', it works nothing. Why?
shabble
fsmunoz: needs more LRU policy :)
fsmunoz
tell me about it
xAFFE
this is my function so far for emms notification via knotify: http://paste.lisp.org/display/91621 any comments? I'm very new to elisp so there can be much stuff be wrong :)
ect``
Dear all, I use etags to create TAGS for my C++ code like
this: 'find . \( -name "*.h" -o -name "*.cpp" -o -name
"*.c" \) -print0|xargs -0 etags --append'. But I fount
that it can't help me to find the correct place when then
different class's methods have the same name. For
example, I M-x . 'MWidget::paintEvent()', the TAGS always
take me to 'PhotoWidget::paintEvent()'. I use 'M-x ,', it
works nothing. Why? (sorry for offline)
oh, my god! so sorry
fsmunoz
xAFFE: What's the run-at-time invocation supposed to do?
xAFFE
fsmunoz: close the notification after 5s, knotify does not do this on his own
fsmunoz
Oh, ok. It should though, there is a "timeout" option in the dbus call.
I've done something symilar with Rhytmbox
shabble
ect``: I can't remember if etags is the good one, but iirc some of the tags generators have trouble iwth that sort of thing.
fsmunoz
Actually, let me see if it world
works
ngirard
Guys, i'm debugging some stuff and I need to replace every occurence of \n with k\n where k is a counter (so that I can retrieve this damn superfluous \n in that damn code)
shabble
does the TAGS file contain entries for both if you open and search it manually?
ngirard
How to do this ?
I mean, at the end I should see 1\n......2\n.....3\n in the code
shabble
ngirard: keyboard macro, maybe?
it's got support for incrementing counters in there, iirc
ngirard
shabble: unfortunately i've never used them :-(
shabble
neither have I, really :)
xAFFE
fsmunoz: hmm, the timeout is only the time, dbus-call-method will wait for a return value
shabble
think of it as a perfect learning opportunity :)
ngirard
shabble: yeah, at 3am, sure :-/
lets' go !
« prev 1 2 3 4 5 6 next »