logs archiveIRC Archive / Freenode / #emacs / 2010 / March / 2 / 2
enthymene
or does that not depend on oracle having a shell
anxt
of course it would need a shell
my bad
the sudeo gets you root so you can su to another user
enthymene
yeah
hrm, sudo -u oracle bash works
JordiGH
Why doesn't sudo -u work?
Oh, it does.
enthymene
although it naively tries to use my own .bashrc instead of oracle's
so maybe I can do this through tramp
konr
how usable is emacs-w3m?
anxt
it renders pr0n
what more is needed?
konr
in ascii?
JordiGH
konr: No, in images.
         

konr
javascript thumbnails, of course!
enthymene
so more usable than lynx, eh?
konr
yes! It looks very nice
I just wish it had some sort of content coloring
twb
emacs-w3m can't render inline images on the tty, only in X.
Plain w3m can render inline images in xterm and on the fbcon
JordiGH
So what awesome tools are there for managing buffers?
twb
JordiGH: keyboards
enthymene
hehe
fingers, woot!
JordiGH
Sometimes I don't feel the Emacs cheer in my congegration.
enthymene
heh. What kind of managing do you want to do with these buffers?
JordiGH
better grouping, mostly.
enthymene
hrm, nothing that I know of
I group my buffers by having them in different emacs instances in different workspaces
greboides
,elscreen
fsbot
Missing redirect. fsbot is now on fire. (Try , dl)
JordiGH
,dl
fsbot
:( Format: , describe-literally TERM [FROM] [TO]
greboides
,dl elscreen
fsbot
I think elscreen is redirect EmacsLispScreen
JordiGH
,firefighter
fsbot
Q:Are we not men?
A:We are Vaxen.
greboides
,emacslispscreen
         

fsbot
Doh! End of file during parsing
konr
elscreen doesn't "group" buffers, it just allows different buffer cycling orders
personally, I just keep one emacs instance for work stuff and other for diary/finances/irc/etc
JordiGH
More than on Emacs?
one
That's a strange idea.
konr
well, it sorta emulates having one emacs instance with two "workspaces"
cluck
lol: http://www.the-source.com/open-source-at-microsoft/
took them long enough
enthymene
JordiGH: I have an instance (in term) running on almost all 9 of my XMonad workspaces.
I expect that number to grow when I enable gridselect
anyway, time to leave work
pingwin[emacs]
is there a way to "save" my window configuration? As in how i have it split up and which file is loaded into which split?
JordiGH
,session
fsbot
[->] SessionManagement is, like, [0] at http://www.emacswiki.org/cgi-bin/wiki.pl?SessionManagement
[1] http://emacs-session.sourceforge.net,
[2] desktop.el,
[3] http://emacs-session.sourceforge.net/related.html
pingwin[emacs]
well i've got desktop setup to use, but it only seems to track which buffers I have loaded
cluck
,winner
fsbot
[->] hmm, WinnerMode is [0] at http://www.emacswiki.org/cgi-bin/wiki.pl?WinnerMode
[1] can revert previous or next window layout.
Boney
twb: You about?
twb
Hmm?
Boney
hi.
So like you know, we have a compiler.
and as you can imagine, we have a runtime.
we can build dynamic libraries.
twb
Go on.
Boney
oh, there's a standard library and the boehm garbage collector too.
and users can build their own dynamic libraries.
Occasionally I do something in the runtime that breaks ABI compatibility.
twb
Boney: get to the point
Boney
I should increment the first component in the so version number of the runtime.
and set the last number to 0.
But since the standard library gets compiled against the runtime's header files it also changes.
twb
This is sounding more and more like a question for #debian-mentors of #d-devel (both on OFTC).
Boney
how do I say that "this standard library works with this ABI"
so that the user doesn't accidently link the standard library with the wrong version of the runtime when their own program loads.
twb
What the Ocaml and Haskell groups do is compute a hash for each library. Dunno if that's relevant -- I think they both still only do static linking.
Boney
I'm pretty sure haskell is static linking only.
twb
What I did for Common Lisp fasls was to put the fasls in a subdir named after the checksum of the binary (e.g. "md5sum /usr/bin/sbcl")
Haskell supports dynamic linking on Linux/x86 and Linux/x86-64, but Debian doesn't use it.
FSVO Haskell = GHC
Boney
This is akin to g++ changing the way symbols are globbed that means that libfoo.so-3.0.0 and libfo.so-3.0.0 compiled with different g++'s are not the same.
ah,
what's a fasls?
twb
Boney: I dunno, man
A fasl is a compiled ("FASt Loading") object, a bit like an .o or an .so.
Boney
Ok. thanks for your help. I'll ask debian folks.
JordiGH
I can't decide which horribly complicated API I want to figure out today.
twb
JordiGH: HAL
JordiGH
twb: Maybe not that complicated.
twb: I was thinking VTK...
tsp
Is there an emacsclient that will just tell whatever emacs I have running to load my file without bringing it up on the tty, or am I misunderstanding how it works and it already does that?
in case I have another one running already
hazyarc
tsp: "emacsclient <file>" does that for me
tsp
Oh, it does.
mooglenorph
Is there a way to use emacs to discover what encoding a text file is in?
twb
tsp: emacsclient -e '(load "foo")' is how I'd do it.
tsp
emacsclient file seems to do it here, I just started emacs in one window and client in another and it seemed to work
twb
Oh, you mean "load my file" as in open it? I thought you meant "load" as in "evaluate the elisp code in my file"
tsp
I didn't think it would
twb
mooglenorph: you can't reliably guess a file's encoding.
mooglenorph: you can examine buffer-file-coding-system to find out what Emacs *thinks* the file's coding is.
mooglenorph
twb: how do I examine a variable like that?
twb
put your cursor at the end of it in your IRC buffer and hit C-x C-e
Oh, you aren't using Emacs for IRC yet. M-:, then
bremner
or C-h v
mooglenorph
twb: thanks
Ah, it thinks it is iso-latin-1-unix... which would possibly account for my utf-8 expecting xml parser choking.
twb
mooglenorph: if you have a doctype, Emacs should get the coding from it
A DTD, I mean
mooglenorph
Ah... thanks
defn
how do i pull the latest read only source with bzr
i feel like an idiot for not being able to figure this out on my own but i cannot figur eit out
figure it out*
bob2
bzr pull
snogglethorpe
ah
i think i found out who to blame for STudLy CaPS!
it was the xerox alto keyboard!
bremner
Steve Jobs?
snogglethorpe
didn't have an underscore...
this is from some wikipedia page: "Due to a peculiarity of the Alto's keyboard, Mesa's original character set did not include the underscore, so programmers were forced to use CamelCase for compound identifiers --- a practice which was incorporated in PARC's standard programming style."
bremner
LUCKILY LISP DOESN'T HAVE ANY WEIRD CAPITALIZATION ISSUES
snogglethorpe
hm, here's another nugget from that page: "The United States Department of Defense approached Xerox to use Mesa for its "IronMan" programming language, but Xerox declined due to conflicting goals. Xerox PARC employees argued that MESA was a proprietary advantage that made Xerox software engineers more productive than engineers at other companies."
d'oh
!
defn
bob2: what is the branch?
bzr pull http://bzr.savannah.gnu.org/r/emacs/trunk ?
bob2
?
oh
bzr branch url
snogglethorpe
what's that "/r/" for anyway?
defn
dude i have no idea -- im getting this straight from savannah
http://savannah.gnu.org/bzr/?group=emacs
snogglethorpe
ugh oh well, some braindamage
defn
i cant use branch with http://bzr.savannah.gnu.org/r/emacs i just get: bzr: ERROR: Unknown branch format: 'Bazaar Branch Format 7 (needs bzr 1.6)\n'
snogglethorpe
defn: i guess you gotta get a newer bzr
bzr changes its repository format every 5-6 days
defn
god damnit. fu*king people at work man. they dont have emacs on this dev server, they have an old ass bzr
(Action) sighs
parolang
The government really does have an iron man project :)
defn
is there a copy of the latest emacs src in git or cvs?
snogglethorpe
,git
fsbot
snogglethorpe: git -- [0] a dVCS, notable for its speed: <http://git.or.cz/>, <http://emacswiki.org/wiki/Git> and #git
[1] see magit,
[2] a LISP derivative (S. J. Turnbull),
[3] emacs available under git: git://repo.or.cz/emacs.git
defn
oh god no. fu*k. i can't even get to the outside world to check this out.
(Action) slams his head into a brick wall
snogglethorpe
defn: you can use the http version of the git repo... less efficient, but often works through firewalls
e.g.: http://repo.or.cz/r/emacs.git
(hm, there's _another_ "/r/"... )
("readonly"?)
bob2
repository, I'd think
defn
snogglethorpe: thanks for that man -- that worked thank god
snogglethorpe
it's what i pull from at work too :/
defn
it's awfully annoying that a dev box with git on it wouldnt have outside access to git, have no emacs, etc.
am i out of line to believe that?
snogglethorpe
of course not
if you have a semi-reasonable admin, you can just gripe to him of course
defn
getting anything done here is a headache
snogglethorpe
(if at a big company, you won't have a semi-reasonable admin of course)
defn
i need a new job
here's what will happen: i will email, not receive a response, email a week later, receive a response "i will look into it", email a week later for an update, "will get to it this afternoon", then 3 days later it will (maybe) happen
snogglethorpe
here as far as I can figure, the "network admin" peoples' sole function is to preserve their own power
defn
sounds exactly right
snogglethorpe
and they're completely unfamiliar with (and extremely suspicious of) anything not from MS
defn
im not on this development team but i wrote some code in an afternoon at home and im like "hey i wrote some code and i want to add it to the internal site"
it took 3 months, manager approval processes, blah blah blah, to get me an account on a box to submit a fu*king glorified hex to ascii converter
and here's the best part, my changes are not even my own changes, they're have another dev merge my changes into HIS repo, and then he is committing
so i wont even receive credit for it
like i said, i need a new job
snogglethorpe
can't use WIFI here unless you run a propietary and non-standard windows app on your machine
defn
cisco vpn?
snogglethorpe
dunno
the wifi system apparently uses some sort of non-standard encryption system
defn
snogglethorpe: why do you work in such a place? i dont have a degree so im relegated to this kind of punishment until i have a resume to speak of
but for anyone with a degree in CS or a related field to put up with such bullsh*t is crazy to me
snogglethorpe
i think almost all big companies are like this
JayM
i have this: http://gist.github.com/319095 in my .emacs to set meta to command, which works fine when i start emacs normally, but when using emacs daemon i have to execute this code manually to switch meta from option/alt. after i've executed the code manually, this problem disappears for future instances...
snogglethorpe
it's just institutional brain-damage that comes with size
defn
warren buffet wouldnt stand for this
snogglethorpe
he wouldn't know about it
the bigger the organization, the easier it is to hide thigns
defn
i should email the CEO who i've never met in my life
JayM
all of my other customizations seem to get loaded properly. is there something else that's loaded after my customizations?
defn
and tell him some of the stories about trying to get things done
e1f
you have nothing to lose
defn
im not feeling too good about this git clone http://repo.or.cz/r/emacs.git -- been stuck on which contains c1c2a4b096f1dfff01d01d710d36a3735aea6f1b
for nearly 9 minutes
snogglethorpe
but remember that the sketchy middle-managers that are between you and the CEO are very good at lying, and schmoozing, even if they're not good at most other things
defn: do you have an explicit http proxy?
defn
snogglethorpe: not that im aware of
snogglethorpe
defn: youmight do "http_proxy=http://myproxy.com:8080 git clone ..."
hm
sometimes the browser sets it up automatically
defn
i got like 6 "Getting index for..." "getting alternates list for..." etc. messages
snogglethorpe
hm
« prev 1 2 3 4 5 6 7 8 9 10 11 next »