6089 comments
2357 subscribers
6229 on Twitter
Subscribe! Feed reader E-mail

Emacs: Telling external processes about terminal capabilities, and watching over other people’s shoulders

Justin Giancola (@elucid) wanted to use full-ack.el to search through his project files using the Ack tool, but Ack refused to run because it didn’t think his terminal had enough capabilities. A simple fix was to set the TERM variable with

(setenv "TERM" "xterm")

which told Ack that Emacs was fine with its output.

(Speaking of Ack integration – This being the Emacs world, there’s more than one way to do things. You might also want to check out ack-and-a-half.el, which is midway between ack.el and full-ack.el.)

It was interesting hanging out with someone else who used Emacs, and being able to share tips. I don’t run into many other Emacs geeks, but I sporadically hang out in the #emacs channel or browse Planet Emacsen to be inspired. It’s funny how many of the meetups I go to end up involving Emacs conversations. It’s like I have a big M-x banner hovering over my head. =) It’s awesome, actually!

Short URL: http://sachachua.com/blog/p/23114

On This Day...

  • 2013: In which I do the same thing again and again — People ask me if sketchnoting is my passion. At the risk of losing business because we’ve bought into this myth [...]
  • 2011: Of recipes and memories — Kevin Waite asks, “What format do you use to keep your recipes? Do you use Freemind or Org Mode?” [...]
  • 2010: Weekly review: Week ending Jan 17, 2010 — Work [/] Prepare company profiles for upcoming Innovation Discovery engagements [X] Learn more about facilitation Relationships [X] Spend more time with family [...]
  • 2010: What I want to talk about in 2010 — Following through on my resolution to give fewer talks, I’m thinking about what kinds of talks I do want to [...]
  • 2009: Emacs basics: Changing the background color — One of the first things you’ll probably want to change about Emacs is the default face. This controls the foreground [...]
  • 2009: lifecampto — (click for larger version) Event details at lifecampto.eventbrite.com
  • 2008: Outlining Your Notes with Org — Large documents are almost impossible to write without outlines.  There’s just too much to fit in your head. Outlines help [...]
  • 2008: Fast-forwarding through small talk
  • 2008: Glasses, glasses — "You’re ordering glasses from the Internet? You’re braver than I am!" was the almost-unanimous sentiment I heard when I told [...]
  • 2007: Mirroring energy — One of the good things about this long-distance relationship with Simon is that I get to practice mirroring. I might be [...]
  • 2007: An examined life… — … feels like it’s worth living. I write a lot. That’s because letting a day pass without finding *something* noteworthy about it [...]
  • 2007: Grazing in the bookstore — I’m starting to feel a little strange in Powerbooks. Maybe it’s visual overload from of “SALE” signs everyone. Maybe it’s mental [...]
  • 2007: Sometimes the universe gives you a sign… — … and sometimes it brings out the pompoms and cheers you along the way! Winston Damarillo thanked me earlier for referring someone [...]
  • 2006: TODO lists in Emacs! — E-mail addresses removed. But it’s the real Stephen J. Turnbull… =) From: "Stephen J. Turnbull" Subject: Re: TODO extension for source code [...]
  • 2005: Reply from Leo Querubin — We are meeting with the committee to discuss these issues and will update you. E-Mail from Leo Querubin On Technorati: digitalpinay, issues, [...]
  • 2005: Digital Pinay 2005: Sent mail to Leo Querubin, Special Projects Chair of PCS — Received from Leo Querubin: Hello Sascha, Your email was forwarded to me by Bombing of MediaG8way regarding your reaction to the Digital Pinay [...]
  • 2005: Mail sent to Ateneo CS and CompSAt mailing lists — Updated copy at http://www.livejournal.com/users/sachachua/6605.html . Please leave comments there. Miguel Paraz just forwarded a _very_ interesting contest application to the CompSAt-EB mailing list, [...]

Get the highlights as a PDF!

Stories from my Twenties: Highlights from a Decade of Blogging

Free sample!