Archives / Search ›

A modified version of my Mac OS X Emacs-launching script which doesn't assume a certain amount of time it takes Emacs to start up; this one waits and tries again every second.

if [[ ! -z $TERM_PROGRAM ]] {
  e() {
    ( emacsclient -n $@ >&/dev/null && \
      osascript -e 'tell application "Emacs" to activate' ) || \
    ( open -a Emacs && \
      until { emacsclient -n $@ >&/dev/null } do sleep 1; done )
  }
}

I wish grep handled Mac line-endings, OTOH, I'm very happy BBEdit's multi-file search does.

Thanks for the notes, folks, I slept a lot last night and am much better able to work (excepting the bruises :-) today.

And later, I slipped and fell on the ice in front of the condo building where I live. Is fate trying to tell me something?

What a day. Tried to work from 11AM to 8PM and accomplished a great deal of nothing. Couldn't concentrate on a thing, even tried working on ICeCoffEE to get my mind off work—no go.

I fell down about half a flight of stairs this morning, and aside from the bruises, it seems to have affected my ability to concentrate. I can't get any work done. Grr.

Mozilla tip: If you're having trouble selecting items within a table, hold down the Command key, and it will select by table cell. Try it in Radio's News Aggregator.

I don't know if this is documented anywhere, but I just discovered it and it's really nice! The only enhancement I can think of would be if it retained the table formatting when you paste into another application; instead the table cells are just smushed together.

‹ Newer Posts  •  Older Posts ›