logs archiveIRC Archive / Freenode / #emacs / 2010 / February / 17 / 1
JordiGH
Man...
POSIX is but a distant dream.
Reality is: all unices suck, and they all suck in different ways.
legumbre
all but macosx
(Action) ducks
tlyu
JordiGH: POSIX means they suck slightly more consistently than they used to
quotemstr
Goddammit, why is OSX leaking so much memory?
http://codepad.org/ypY7EpXR
tlyu
macosx is Mach in a eunuch's clothing
JordiGH
legumbre: Nope, that one sucks more, especially when it mixes BSD, GNU, and Fruit conventions all at once.
legumbre: Don't take it from me, take it from quotemstr ^^
legumbre
hehe
quotemstr
How can you leak six megabytes of exceptions!?
technomancy
quotemstr: eioio does something like that
         

doublep
hi. does bzr emacs give frequent indentation errors in c-like modes (c++, java) for anyone else?
stepnem
doublep: there have been some related bug reports recently AFAIK
doublep
stepnem: found it, bug 5570
stepnem: thanks
quotemstr
Testcase for the gcc leak: http://codepad.org/GuAsGvIu
jlf
is there an ediff command to diff a modified buffer with its associated file, which has changed since it was originally visited?
tromey
quotemstr: on mac? or linux?
quotemstr
Mac.
Submitting to gcc bugzilla now.
tromey
afaict that doesn't leak for me
stepnem
jlf: you mean like diff-buffer-with-file?
tromey
apple has their own gcc fork
quotemstr
tromey: No, this is with gcc 4.5 from macports.
tromey
ah
aartist2
org-mode question: How I can convert children into a table-column?
quotemstr
Specifically, gcc version 4.5.0 20100211 (experimental) (GCC)
aartist2
pwd
jlf
stepnem: yeah
quotemstr
tromey: Newer gdbs are much better with C++, by the way.
jlf
but ediff
tromey
we're making c++ improvements every week :)
stepnem
jlf: yeah, hm, dunno...
         

e1f
http://www.wired.com/epicenter/2010/02/the-wired-ipad-app-a-video-demonstration/
quotemstr
tromey: Now if I could use a valgrind newer than carefully-tweaked checkfrom a few months ago, that'd be great. :-D
Err, wrong testcase.
I meant this one: http://codepad.org/GuAsGvIu
ikaruz
exit
jlf
nothing happens
stepnem
,flame ikaruz 26
fsbot
ikaruz: There were 2 people on a boat: /hop and /quit. /hop got off, who's still on the boat?
ikaruz
\/quit
;D
aartist2
In org-mode How I can have auto-sequence for row-numbers?
damd
you mean a column on every row which is incremented by 1 all the time?
aartist2
damd: Yeh
damd
don't know :P
stepnem
hah
,org
fsbot
[->] I think org-mode is [0] Org-mode is a mode for keeping notes, maintaining ToDo lists, and doing project planning with a fast and effective plain-text system
[1] new official site: http://orgmode.org/,
[2] #org-mode,
[3] http://www.emacswiki.org/cgi-bin/wiki/OrgMode, ..[Type ,more]
stepnem
aartist2: you might try #org-mode
aartist2
damd: so if I apply the sort on any column, the numbering should still be there from 1 to whatever,,
fsbot
Try: flame-howto quickstart TLD
aartist2
stepnem: thanks
stepnem: no such channel
stepnem: sorry
stepnem
oh, really?
jlf
aartist2: if you don't find anything better, you can use keyboard macros with replace-regexp to replace ([0-9]+) with \,(1+ \#1)
er, \([0-9]+\)
stepnem
there seems to be an #org channel, with one user on it :P
damd
i think there was some sort of trick you could use with keyboard macros to have a "counter"... something to do with F4 or something.
stepnem
yeah, there is
isomer
you can step a register in a macro
or you can use CUA column mode. C-RET, then select the columns, then M-n
aartist2
stepnem: I found org-mode channel.
stepnem
aartist2: ah, OK, so #org-mode is valid, right?
aartist2
stepnem: yeh, no active user, currently.
stepnem: but there are many users on channel.
stepnem
aartist2: alright
aartist2
jlf: that expression doesn't work.
jlf
aartist2: the \,(...elisp form...) syntax was introduced in 23
aartist2
jlf: ah, I am still using 22.x
isomer: your technique work nicely, but it doesn't auto-number after other operations such as sorting columns
jlilly
is there a way to say "On load, if I don't have all packages in <manifest> download them via ELPA" ?
damd
there was some discussion about that on emacs-devel i recall
like an "online" (require)
needless to say rms didn't like it
technomancy
jlilly: there's something like that in starter-kit-elpa.el
jlilly
cool. thx. I'll take a look.
technomancy
but I think it'd be a decent addition to package.el
jlilly
my current system completely avoids elpa, but its starting to be onerous (looks at swank-clojure)
technomancy
don't fight it ... it's the future
yonkeltron
package.el is the balls
jlilly
that's what I hear. dirty future. </curmudgeon>
trav
I'm trying to add a keyword to a major-mode for indentation and highlighting purposes. The keyword is part of a syntax extension to the programming language. Can someone point me to the Right Way to do this?
fledermaus
depends on the mode
indentation and highlighting are not generally linked.
trav
fledermaus: it's tuareg-mode for ocaml
sure... i'm wondering more about patching on both
fledermaus
highlighting is handled by font-lock-add-keywords et al
indentation is dealt with entirely by the mode in question
trav
do i have to edit the mode and recompile it? or can I load an addendum mode somehow if the relevant syntax extension is being used?
fledermaus
.oO( recompile? )
trav
.el -> .elc isn't a byte-code compile?
fledermaus
you can alter any given part of a language major mode at any time
trav
(Action) hasn't messed with elisp much
fledermaus
you don't need to recompile anything
unless it's performance critical
which is unlikely.
you can just replace the definition of a byte compiled function with an uncompiled lisp form, it's not problematic
as to the details, I don't know, I've never looked at tuareg mode
technomancy
unless it's a defvar =\
fledermaus
technomancy: hmm?
sure you can
trav
oh, ok, so I'd write an elisp file and load it in my .emacs? this file would redefine the relevant bits of tuareg mode to add the keyword?
fledermaus
M-x eval-defun in the defvar
technomancy
yeah, but you can't just re-run the code and make it work
fledermaus
job done
for a defvar, you wouldn't normally want it to
since that would break almost every piece of running code if the variab;e's value had been changed
technomancy
most of the time when I'm hacking a piece of elisp it's annoying to have to keep track of all the defvars I modified and go re-eval them since my M-x eval-buffer missed them
that's all
fledermaus
so stick (makunbound 'SYMBOL) in the file before the defvar
while you are hacking.
it's not rocket surgery.
anyway, sleep.
technomancy
how am I supposed to remember it with a name like that?
=)
trav
ooo perhaps define-derived-mode is what i want?
stepnem
depends on the extent of your changes I guess
trav
I want to make the mode treat "lwt" like "let"
seems pretty simple to me
perhaps with a different coloring
to be able to tell them apart
stepnem
well I have no idea about tuareg either, so I'm not sure what precisely treating something like "let" would mean here
jlf
,rocketsurgery
fsbot
I think rocketsurgery is http://www.youtube.com/watch?v=THNPmhBl-8I
stepnem
,flame marioxcc 0
fsbot
marioxcc: you nincompoop!
marioxcc
stepnem: what is you'r problem?
trav
stepnem: basically, let has some indent rules and a syntax coloring... i don't know where/what is involved in its parsing
stepnem
marioxcc: I find your nick changes twenty times a day somewhat uninteresting
marioxcc
stepnem: then ignore it!
stepnem
marioxcc: it's generally considered good form not to abuse nick changes to spamming all the people in the channel with something like your away status
marioxcc
stepnem: I don't want to be unnice, but is not my problem if some people don't know how to use the /ignore command
technomancy
stepnem: dude... it's not rocket surgery
(setq erc-hide-list '("JOIN" "PART" "QUIT" "NICK"))
or M-x rcirc-omit-mode if you swing that way
stepnem
marioxcc: OK
marioxcc
thanks by your understanding
jlf
technomancy: that's kind of a blunt instrument
stepnem
well, it's not really understanding
technomancy
jlf: yeah, the erc version sucks
jlf: the rcirc one is really good though
jlf
(Action) also finds frequent nick changes annoying but doesn't want to ignore all of them
technomancy
it only ignores idlers
jlf
that does sound better
technomancy
that's my #1 gripe with erc
I keep trying to bait erc fans into porting that functionality to erc, but it hasn't worked yet.
tlyu
do people like any emacs IRC clients other than rcirc or erc?
legumbre
we all love erc
*all* of us
stepnem
tlyu: some accomplished emacsers use circe, for instance
shabble
M-x telnet? :)
tlyu
shabble: or irssi under terminal-emulator?
technomancy
tlyu: mostly people who started IRCing from Emacs from before erc/rcirc were merged probably
shabble
tlyu: interesting. I wonder if I can connect to my remote irssi screen from an ansi-term
stepnem
trav: I don't know either, as it can be quite specific to a particular mode; you have to find out reading the mode's source
shabble
hmm, my bash prompt does weird things in ansi-term. Colour escapes are getting half-parsed, half mangled.
marioxcc
plese, who can tellme how to enable all disabled commands lifetime?
not only in current session
stepnem
marioxcc: put those enabling forms into your init file
jlf
marioxcc: (put 'narrow-to-region 'disabled nil) etc.
shabble
marioxcc: (setq disabled-command-function nil) in ~/.emacs?
marioxcc
oh, yes
thanks
quotemstr
Yay.
A bona fide gcc bug.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43099
tlyu
marioxcc: you can probably do something using mapatoms...
marioxcc
the shabble's solution worked fine, but thanks anyway
tlyu
(mapatoms #'(lambda (x) (if (get x 'disabled) (put x 'disabled nil)))) ; was what i used
marioxcc
semms good too
tlyu
not quite sure why i did that instead of setting disabled-command-function or disabled-command-hook. maybe i didn't know about it or it wasn't available in some older release.
marioxcc
i'm quite unexperienced in emacs lisp, i don't know
jlf
,,...
fsbot
[In the distance, you hear a dog bark]
legumbre
,rr
fsbot
(Action) raises the gnu to legumbre's head and legumbre trembles as the *CLICK* sounds.
legumbre
sigh& back to java I guess
aartist2
Is it possible to create sounds in emacs, based on what I type?
fro0g
just read out loud what you type
qDot_
There's OSC emacs functions, so you could pipe it over to your favorite OSC compatible sound program and go nuts.
aartist2
fro0g: I didn't mean text-to-speech. I mean sound-files. For example for page-up/down different sound.
qDot_
(Action) uses SuperCollider via emacs too, which is also creating sounds based on what he types. :3
aartist2
, SuperCollider
fsbot
I think SuperCollider is [0] a great real-time audio synthesis programming language with an Emacs interface.
[1] at http://supercollider.sf.net/
aartist2
qDot_: how does it work? what do you have to install?
qDot_
aartist2: Well, you have to install Supercollider, but I think it's a little more than what you're looking for, probably.
SC is a language specifically for creating audio, it just happens to have an emacs interface.
aartist2
bpalmer: you don't maintain that page on Perlmonks, where you had graph in your homepage?
bpalmer
hmm. doesn't sound familiar; may have been another.
« prev 1 2 3 4 5 6 7 8 9 next »