logs archiveIRC Archive / Freenode / #emacs / 2010 / March / 19 / 1
runae
hello i want to save the session entirely with the windows with their size. is that possible? i am interested more in the window setup because i have a large screen...
johnw
runae: I think desktop.el can do that
pjb
runae: have you had a look at desktop-save ? Perhaps it saves the frames and windows too.
runae
pjv desktop-save does not do that
johnw is desktop.el the same?
pjb
Yes.
dpro
hi
pjb
Otherwise, you may write it yourself easily. See frame-list, window-list, etc.
dpro
looking for a solution to integrate voip into my emacs "office" frame I was wondering if any elisp existed that integrates with whatever protocol those gnome'ish sytem tray functionality offering software is using ...
lukhas
could you be more specific?
         

dpro
I mean calling (concat "ekiga -c " "something") is easy, but I'd rather have incoming call popups not popping up ...
lukhas
hmm
dpro
lukhas: I couldn't find any cli sip client that "just works" so I thought hell use ekiga albeit try to make it less intrusive
lukhas
I remember trying "ophphone", years ago
hylje
o-php-hone
lukhas
but nowadays I've got a hardphone, so no pop-ups :)
dpro
lukhas: it's almost definitely user-lameness but I couldn't even get it to log into my voip account
lukhas
that's called "security" in the VoIP world
so you want Ekiga to handle the calls, but no pop-ups? how can you tell if you're being called then?
dpro
lukhas: it's not at all urgent, I just thought it would be nice to have
lukhas
Emacs can certainly notify you of something, either via DBUS events or by something in the mode-line
but you'd have to have another programe notify Emacs that something is happening, since it's not (yet) a SIP client
s/programe/program/ damn Frenchism
dpro
lukhas: I don't use gnome but I imagined some protocol where it notifies a system-tray icon to do blinky-blinky stuff
lukhas
oh
dpro
lukhas: I get it :)
bremner_
dpro: look at dbus support for emacs23
lukhas
cant Ekiga do the blinky-blinky without the poppy-poppy? :)
dpro
lukhas: impaired by my own native language I tend to use "programm""
lukhas
hehe
dpro
lukhas: but I won't see it, I run a basic xmonad, emacs in fullscreen no scrollbars, no menus
lukhas
oh
dpro
lukhas: nevermind, no one calls me anyway - ever, except on my cell ;)
         

lukhas
:)
I don't know Ekiga, maybe you can configure it to call a script on each incoming call
dpro
lukhas: + ekiga doesn't play nicely with jackd anyway and since I have supercollider running /all/ the time it usually doesn't even get hold of the soundcard unless I use the external one for studio work
lukhas
this way, you could call emacsclient and run whatever you want inside emacs
alternatively, install a local asterisk, IAX trunk with the remote SIP server, and then Asterisk can do whatever you want on an incoming call :)
dpro
lukhas: I'll check that, and it should be easy to hack that into ekiga, precisely what I wanted to avoid, I mean I could figure out how those sip libs actually work ... but why ...
lukhas: that also crossed my mind
I'll check dbus though, it's actually a cool idea to use all this stuff I wouldn't normally consider
lukhas
yeah
libnotify is nice too
dpro
whoahh .. my favourite bar in town has a webcam, and it suspiciously looks like some creepy person is stalking a chick again ...
TG it's not the zooming-in on mini-skirts guy ;)
(Action) OTOH /only/ innocently uses it to check if anyone's there at all and who's working the bar - honestly
lukhas
yeah, that's what they all say
dpro
lukhas: no that's what /I/ said, and I'm a very trustworthy person
lukhas: I'm on irc after all
lukhas: who would pose as a nerd in #emacs to lure 14 year old girls into "unix"
lukhas
:)
dunno, but I wish them good luck
no matter the age :)
stepnem
runae: cluck suggested the other day that when you use winner mode or something and save the data it uses to store the window configuration using desktop.el, then it will work; and the user asking seemed exhilarated; so you might give that a try
dpro
stepnem: does desktop.el also store this to a file to make window configs persistent across sessions ?
stepnem
dpro: no
dpro
stepnem: thought so ...
stepnem
dpro: but it saves any variable you tell it to
the problem is that window configuration is not `read'able
dpro
stepnem: someone told me in here that there was no read access to window-config registers (yet)
that
stepnem
ah, right, that was you!
haha
dpro
stepnem: ah you then ;)
stepnem
dpro: so the winner trick cluck suggested didn't work out?
runae
stepnem: i did not understand your suggestion? you are saying that i should use winner and then desktop.el will save the window configuration toot?
dpro
winner is practical, but not what I was looking for exactly
my workaraound now is to generate the supercollider, fluxus, irc and office layouts programmatically on startup and store them in the corresponding registers
stepnem
runae: no I don't think so; and the then exhilarated user was dpro who now seems to confirm the negative answer
dpro
tedious but only once
runae
:D
stepnem
actually you could hack it somehow, to reconstruct the window config using some lisp code
but there's nothing "native" yet
dpro
(Action) still thinks it would be nice to save layouts
sometimes I work on some python project and just won't jump all those hoops (neither emacs nor X crash on me often enough these days)
stepnem: tell me more about the "hack" ... I started looking around but I couldn't find anything even close
stepnem
dpro: well, quite simple -- you would do just what you did when you created that config, just "programmatically"
dpro
on another note, I'm getting tired of mutt in ansi-term (no org links etc), this isn't flame bait but what are you people suggesting if I use a remote imaps server ?
stepnem
i.e. not pressing keys, but using the appropriate lisp forms instead
dpro
stepnem: hmmm ... no thanks ;)
ngirard
Hi all. What's the type of :arg in elisp ?
stepnem
dpro: why not? should be straightforward...
jlf
,df window-configuration-to-register
fsbot
window-configuration-to-register is an interactive compiled Lisp
function in `register.el'.
It is bound to C-x r w.
(window-configuration-to-register REGISTER &optional ARG)
Store the window configuration of the selected frame in register REGISTER.
Use C-x r j to restore the configuration. ..[Type ,more]
dpro
fsbot: shut up
fsbot
fsbot, with botheart broken into a million pieces, has left: "Goodbye"
stepnem
ngirard: symbol
,botsnack
fsbot
(Action) dances happily
dpro
:)
stepnem
jlf: that won't work across sessions AFAIK
ngirard
thanks stepnem
stepnem
jlf: even if you save it using desktop.el, that is
jlf
can't the register be pretty printed or somesuch?
stepnem
no, I think it uses the #<buffer> notation
[and what you want is *not* pretty print, but prin1]
dpro
jlf: nope AFAIK, I tried for days to find a way to get the info out of a register in a form I can use to stuff it in again ...
cluck
someone called?
stepnem
maybe emacs 24... :)
dpro
ngirard: (type-of :type)
ngirard
thanks dpro
jlf
hmm, after w-c-t-r i see that register-alist contains #<window-configuration> .. is that non usable?
stepnem
yes, that's indeed non usable
dpro
AFAICS it's below the elisp radar
ngirard
I need users to be able to specify a list of "elements", an "element" beeing a string and several couples of property/value. What's the most appropriate data structure in elisp ?
jlf
and you can't write some code to serialize/deserialize #<window-conf>s?
dpro
ngirard: SCNR a "list"
ngirard
Would this make sense ? (("aa" :prop1 val1 :prop2 val2)("bb" :prop2 val3))
dpro
jlf: me, as a semi-noob nope
ngirard
dpro: what do you mean by SCNR ?
dpro
ngirard: what are you trying to accomplish ? it sounds suspiciously like sth that has been done ,,,
stepnem
dpro: it's simple -- just look at what key you press and write it down
using C-h c for instance
dpro
ngirard: "sorry could not resist"
ngirard
got it :)
dpro
fsbot: what is SCNR
fsbot
scnr is Sorry, Could Not Resist
ngirard
never heard of it
sorry, NHOI
dpro
(Action) pats fsbot's head
jlf
dpro: if you just want to replay a series of commands (e.g. C-x 2 C-x o C-x 3 ...) you can record/name a keyboard macro and save and invoke it in your .emacs
ngirard
dpro: i'm trying to implement contexts in an alternative way in org-mode
dpro
jlf: that's what I did for my /usual/ configs, but sometimes I'd like an "evolved" config to be saved without lots of redundancy
jlf
evolved?
dpro
jlf: you know happened after switching buffers, resizinh windows, etc lots of times
jlf
oic
dpro
jlf: I guess "not really planned" is what I meant to say, save the result not a long process
oh and on again another note, are there some docs out there that get me up to speed how things like gamegrid are written, I'm still toying with the idea to prettify my supercollider interfaces and occasionally a slider like thingie would make total sense
buttons and text, reacting to keypresses works like a charm already
my earlier question about the various news/mail readers wasn't flamebait BTW, I'd really appreciate any hints
stepnem
,gnus
fsbot
From memory, gnus is [0] an Emacs newsreader (and mailreader), see #gnus, <http://gnus.org/>, <http://emacswiki.org/wiki/CategoryGnus>
[1] proof that we are a wicked people who deserve to be punished,
[2] the punishment
bozhidar
dpro: VM 8.1 is just out - seems very promising
wanderlust is also getting a lot of praise, though the project maintenace is not very active
,wanderlust
fsbot
wanderlust -- [0] Yet Another Message Interface on Emacsen at http://www.gohome.org/wl/
[1] at http://www.emacswiki.org/cgi-bin/wiki.pl?Wanderlust
bozhidar
,vm
fsbot
vm -- [0] a program to read email with emacs: http://www.nongnu.org/viewmail/
[1] ViewMail at http://www.emacswiki.org/cgi-bin/wiki.pl?CategoryViewMail,
[2] e1f's vm page at: www.ee.ryerson.ca/~elf/vm,
[3] a replacement for mutt and emacs combination,
[4] does imap, ..[Type ,more]
quotemstr
*sigh*
(Action) goes cold turkey on Slashdot.
The insanity has exceeded even my tolerance.
jlf
let's imagine a beowulf cluster of comments about hot grits
dpro
I tried mew (won't log into my imap serve - user error I guess), and gnus, sees all my mailboxes but won't let me "subscribe""
quotemstr
No, *that* was amusing.
That was also ten years ago. It's deteriorated markedly since then.
jlf
that's about when i left
quotemstr
What broke it for me was one of the *staff members* claiming Obama and FDR ruined the country and that nobody should have to pay taxes.
Regular idiots I can tolerate. They're even fun to smack around with a cluebat every once in a while.
But that... that's just sad.
dpro
quotemstr: haven't checked in a while, anything specifically you're referring to ?
jlf
quotemstr: why do you hate america?
dpro
hehe
quotemstr
dpro: slashdot.org/~pudge/comments
dpro
nostalgia is not what it used to be ....
quotemstr
(Action) now needs a new technology news site.
dpro
quotemstr: the register is still biting the hand that feeds IT IMHO
fsmunoz
quotemstr: try the politics section on reddit, seems to be up your alley...
;)
cluck
quotemstr: err.. regular idiots have been part of the staff for a very long time, ie kdawson the other day made a post that was news... in 1999
quotemstr
fsmunoz: Full of the flames of hell?
fsmunoz
quotemstr: well, yes, but also by and large with the exact same type of comments you were mentioning
quotemstr
cluck: Incompetence I can understand. It's part of the charm. But actual reality denial? Plus, the comments have become progressively more inane over the past few years.
erikc
proggit is ok as a link source
quotemstr
Not that other news organizations are much better: http://bits.blogs.nytimes.com/2010/03/15/twitter-keynote-gets-thumbs-down-on-twitter/ is inane.
dpro
erikc: /me thinks so too
quotemstr
too, that is.
dpro
ycombinator is a bit too startup-geeky for me at times but worth a look from time to time
quotemstr
God, I loathe startup culture.
fledermaus
dpro: "biting the hand that feeds IT" is actually their motto.
quotemstr
But I'll check it out. Thanks.
dpro
fledermaus: insert witty ironic thing here
quotemstr
Also, the portion of actual technology news on Slashdot has been declining steadily. I used to learn things.
fsmunoz
I remember one from some months ago, on /., about how the Airbus that crashed in the Atlantic was a sign of the differences between the yankee libertarian outlook and the european conformity with authority.
fledermaus
fsmunoz: ?
dpro
fsmunoz: huh ?
fsmunoz
Yeah
quotemstr
Now, at least half the site seems to focus on politics and copywar.
fledermaus
what was the rationale for that?
dpro
*shudder*
fledermaus
or should I say irrationale.
dpro
fledermaus: obviously unbiased research
quotemstr
fsmunoz: I can imagine that being elaborate satire. Was it?
cluck
ycombinator has some interesting posts on lisp from time to time
fsmunoz
Like, Boeing and american pilots do everything by hand since they are part of a culture that valours the individual, etc
dpro
cluck: LOL
cluck
but i find it has too much line noise most of the time
fledermaus
fsmunoz: special.
« prev 1 2 3 4 5 6 7 8 9 10 11 next »