logs archiveIRC Archive / Freenode / #emacs / 2010 / February / 1 / 1
cluck
hi
Geralt
Hi, is it possible to automatically store the position in info when exiting Emacs?
ams
use bookmarks
offby1
Geralt: see also ,,desktop
fsbot
hmm, DeskTop is [0] at http://www.emacswiki.org/cgi-bin/wiki.pl?DeskTop
[1] see http://www.emacswiki.org/cgi-bin/wiki/SessionManagement
Geralt
ams: I'm already using bookmarks but sometimes I'm reading something in info and forget to save the position before leaving emacs
ams
so don't forget.
snogglethorpe
desktop is useful for saving everything
sometimes that's annoying, if you didn't _want_ to save everything of course...
(tho emacs has a "--no-desktop" command-line option to tell it not to)
ams
i use registers and bookmarks religiously
         

Geralt
thanks, but I think DeskTop is too much, I think I'll just put a hook into the kill-emacs-hook that creates a bookmark for me
ams
eech
knobo
how can I run shell comands in the background with no output to emacs at all?
ams
M-x shell
foo >/dev/null 2>&1
knobo
if I start the "shell" emacs "program" I already have output even before I run the command
maxalwings
howto edit .java file from eshell inside emacs
knobo
I was thinking something like (shell-command "echo no output&" nil nil)
ams
maxalwings: find-file FILE
knobo
If I do C-M-! echo ok& the output goes to the *async shell command* buffer
ams
ye.
EMOBEER
offby1
knobo: I think ams has the answer. You should try his idea.
knobo
But I don't whant to do it interactivly
ams
so don't.
jesus heebus
offby1
My little laptop must think it queer / to hack without a GITDIR near
knobo: I think it's safe to say that nobody in this channel understands your problem.
ams
(save-window-excursion (shell-command "find / > /dev/null 2>&1 &" nil nil))
or something
jesus
knobo
ams's soulution does not run the process in background
ams
yeah it does
knobo
ah, the last one does
ams
callling me a liar?
knobo
I'm thinking about what I'll call you
         

ams
knobo: pending between genius and arse?
knobo
the save-window.... solution still creates a buffer
ams
yes
the process that emac keeps track of has to be associated with something.
which happens to be the buffer
would you like a cookie now?
hylje
a pony please
ams
only if you fetch me another beer, nancy
knobo
I think call-process is closer to what I want
ams
call-process is sync.
not async
knobo
argh
ams
how about reading the code for shell-command?
(setq proc (start-process "Shell" buffer shell-file-name
shell-command-switch command))
(setq mode-line-process '(":%s"))
(require 'shell) (shell-mode)
(set-process-sentinel proc 'shell-command-sentinel)
notably that.
jlf`
,yow
fsbot
Did YOU find a DIGITAL WATCH in YOUR box of VELVEETA?
e1f
"But Flash is in no way part of the true language of the Internet. Its Scottish-accented English."
http://www.suntimes.com/technology/ihnatko/2017907,ihnatko-ipad-hands-on-012810.articlehttp://www.suntimes.com/technology/ihnatko/2017907,ihnatko-ipad-hands-on-012810.article
argh!
http://www.suntimes.com/technology/ihnatko/2017907,ihnatko-ipad-hands-on-012810.article
"An Android tablet does true multitasking. But this feature makes Android devices a little crashy, it slows down performance (sometimes to the point where you need to restart the device)"
offby1
ayup
my wife's iPhone is _always_ a pleasure to use; my Android phone is a pleasure to use only when it isn't busy doing something that it thinks it more important than what _I_ want to do
s/it more/is more/
damd
i thought iphone could only do one thing at a time
so to speak...
offby1
that's my understanding, yes.
e1f
yes
third-party apps can't multitask
only apple apps
offby1
probably because Apple figured the third parties would screw everything up.
Which sounds uncharitable and controlling, and yet ... look at my phone: many of the third parties have indeed screwed it up
e1f
your description of the android remindsme of my bosses description of his hp ipaq phone. everytime he went to use the camera there would be the spinning windows wait cursor or the phone would crash and he would have to reset it. so it took about a minute to take a photograph of anything
a minute before the phone was ready to take a picture
he's quite happy with his iphone. in fact, he loves it
and he's a freebsd/linux weenie
so it's not like he's an apple fanboi
snogglethorpe
offby1: hmm, i found my GF's iphone kind of annoying
offby1: watching youtube on a phone and using google maps to see where you are is indeed cool, but the general impression was sort of slow/flaky/cramped/inflexible
those things are maybe acceptable for a phone, but i think they're not for something like the ipad
bpalmer
offby1: there are faster phones out there
e1f
yes, the interface lag is something the article mentions
the ipad is comparitively zippy
parolang
You have an ipad?
jlf`
hmm, my iphone is irritatingly slow to open apps.. on the order of seconds. i wonder why that is.
e1f
snogglethorpe: is it a 1st or second generation iphone?
snogglethorpe
e1f: i don't know
e1f
they run at 400mhz, the 3gs runs at 800, the ipad at 1ghz
parolang: no, i was reading the suntimes review
snogglethorpe
i've heard that the browser-always-crashing probs have gotten better with newer releases
parolang
e1f: Oh. I was just going to say, Apple must love you :)
polak
hello folks
e1f
no one outside of apple has an ipad
polak
what do the letters in the lower left of the status line, or to the right of an isearch command in [...] signify?
e1f
not even walter mossberg
polak
I'm having trouble performing basic isearches after upgrading to os x 10.6 and reinstalling emacs carbon
e1f
the culinary institute of america uses emacs?
parolang
e1f: If no one has an ipad, then what's with all the media coverage?
polak
had to blindly set (set-keyboard-coding-system 'utf-8)
e1f
the media had a hands-on demo on the 27th after the announcement
bpalmer
and inside of apple, it's too dark to read
e1f
,cocoaemacs
fsbot
I heard cocoaemacs23 is [0] nightly builds for cocoa emacs 23 on os x http://atomized.org/wp-content/cocoa-emacs-nightly/
[1] stable build at https://cocoa-emacs.s3.amazonaws.com/Cocoa%20Emacs%2023.1.dmg
e1f
that's the latest emacs for os x
snogglethorpe
bpalmer: are lights not cool enough for apple?
i guess maybe only natural sunlight meets their standards
... but of course they ban all windows!
polak
... hmmm I donno, i've grown to trust the plain but up to date carbon version
parolang
I think Apple wants computing to be more like the gaming industry--locked down hardware, and you pay for content.
From a business perspective, that's probably the best direction for consumer-driven technology to go in.
e1f
"A new development in the Amazon vs. Macmillan fiasco. Amazon just posted an announcement indicating that will be capitulating to Macmillan by selling the publishers' books for their desired prices."
stross wins
bpalmer
it's worked pretty well for non-computing devices
e1f: hmm?
e1f
but i don't think he's going back to amazon
bpalmer
stross?
e1f
charlie stross
bpalmer
how's he involved?
e1f
mega rant over the weekend after amazon pulled his books
snogglethorpe
bpalmer: are non-computing devices "locked down"?
bpalmer
snogglethorpe: yes. When's the last time you upgraded your DVD player or television?
snogglethorpe
bpalmer: well what i mean is that they don't restrict the content to what the manuf. deigns to offer you
parolang
bpalmer: Dunno...usually you can get adapters to plug them into a variety of other devices.
snogglethorpe
bpalmer: I can stick CDs from anywhere in my CD player
so in the most relevant sense, they're "open"
parolang
snogglethorpe: Yeah. You don't have to buy your DVD's from the Sony Store.
e1f
"THE security service MI5 has accused China of bugging and burgling UK business executives and setting up honeytraps in a bid to blackmail them into betraying sensitive commercial secrets. "
snogglethorpe
(and I can make my own CDs if i really want)
e1f
but i want to play my dvds on my stove!
parolang
e1f: Not analogous.
bpalmer
snogglethorpe: for the longest time, you were restricted to playing dvds approved by the dvd cartel
at least in the us
e1f
when i play my dvds in my microwave, they melt
parolang
bpalmer: You can buy DVDs from any store you want to: Walmart, Target, Best Buy, etc.
offby1
bpalmer: sure there are faster phones out there, but ... it's irksome that my phone performs poorly with the software that was available at the time it was released ... as phones get faster, so (as it always happens) the software will do more, so the perceived slowness will stay about the same
parolang
e1f: But the sparks are pretty.
e1f
true
snogglethorpe
bpalmer: well, cartels make things worse, of course; but it's still a big step above absolute control by the device manufacturer
offby1
polak: did anyone answer your questions?
polak: the stuff in the mode line is described here: (info "(emacs) Mode Line")
jlf`
gates' law, the dual of moore's law, keeps performance from ever improving
offby1
the other stuff you saw -- when you were searching -- doesn't sound familiar
polak
offby1: ... I installed the cocoa version, seems to have fixed my issue, thanks
offby1
oh good
one reason I've never become an Apple fanboy is that I've heard Emacs is pretty weird on OS X
can't say I've seen that for myself though
jlf`
offby1: weird how?
e1f
that's the gnu fanbois talking
offby1
jlf`: like what polak just said, e.g.
e1f
DON'T LISTEN TO THEM!
offby1
jlf`: the one thing I do know firsthand is: the terminal emulator is emacs-hostile
there are at least a few keystrokes that I was never able to get to a remote console emacs
e1f
those are fixed.
i filed the bug report
jlf`
strange behavior with carbon isn't too surprising.. it's been deprecated for quite a while now
offby1
(granted, most *nix terminals have that same problem, but there's at least one that doesn't: urxvt {recommended to me by someone in this very channel})
polak
no way!
emacs on os x works GREAT
offby1
e1f: hmm, maybe I should try again, then
polak
... and how hard is it to learn to hit option for M key in the terminal
offby1
polak: that wasn't my complaint
e1f
the meta key can be swapped
polak
never had problems with this distro:
http://homepage.mac.com/zenitani/emacs-e.html
which is frequently updated and distributed with a slew of extensions
... but the strange isearch bug was enough to have me try the 23.1 w/ cocoa
i don't see any diffference in the carbon/cocoa interface, but i guess running the latest 23 doesn't hurt
snogglethorpe
hmm, they're still using that ugly icon tho!
they should use my glossy icon
sm
I have few problems in remote console emacs on osx 10.5. One is that M-o brings a "set face:" prompt in the minibuffer
which is not caught by C-h k
e1f
are you running the emacs that comes with 10.5
polak
cheers
sm
e1f: no, 23.1.50.1 (main gnu emacs or whatever it's called)
parolang
Lotta gnu fanboys use emacs :)
But they have better ethics than Apple, so at least GNU fanboyism is understandable.
e1f
what is m-o supposed to run
sm
I have it bound to other-window.. I'm lost without it
jlf`
offby1: re: terminal.app, it finally will pass C-M-foo events to emacs
offby1
interesting; C-h k M-o here also short-circuits describe-key, and just clobbers the echo area with "Set face: ..."
sm
and changing that binding is almost unthinkable :)
offby1
jlf`: e1f claims credit for getting them to fix that bug
jlf`
i submitted that one too
offby1
jlf`: well, you and he can fight for the credit.
parolang
sm: Not a bad rebinding, but I'm trained to C-x o.
snogglethorpe
offby1: it's because M-o isn't actually a command i'ts a command prefix
offby1
aha
e1f
well, i got a response from the emacs developer
snogglethorpe
so for the same reason, "C-h k C-x" will wait for you to type more
jlf`
e1f: it was a terminal.app bug, not /usr/bin/emacs, right?
offby1
snogglethorpe: gotcha. M-o is extra confusing because the echo-area prompt obscures the minibuffer
snogglethorpe
offby1: those minibuffer menus are directly implemented by the keyreading mechanism, tho they're not well developed...
e1f
yes
sm
if M-o is a command prefix, why does it bring up a set face prompt ?
« prev 1 2 3 4 5 6 7 8 9 next »