タグ

2012年3月23日のブックマーク (2件)

  • Programming with Nothing

    Contents Ruining Ruby Thinking procs Aiming high Numbers Booleans Predicates Numeric operations Lists, briefly Strings, briefly Victory Why? Epilogue Ruining Ruby I love Ruby! I’ve used it every day for years and I’m not sick of it yet. It’s an easy language to love: it’s expressive, flexible and syntactically beautiful; it has a unique combination of useful features like mixins, metaclasses and b

    udzura
    udzura 2012/03/23
  • grep-edit.el無双 - ’(rubikitch wanna be (a . lisper))

    複数のファイルにまたがる特定のパターンを置換する必要があった。そんなときにはEmacs使いならばgrep-edit.elがよい。M-x grepで置換箇所を出力して、M-x query-replaceで置換。これ最強。grep-edit無双。 unix wizardならばperlのワンライナーで置換するだろうけどヘタレな俺には不安で…誤爆するかもしれんし。 http://www.bookshelf.jp/elc/grep-edit.el 俺設定。buffer-read-onlyでハネられたら嫌なので置換時にinhibit-read-onlyをセットしておく。そして、C-c C-cで編集終了したいからそう設定しておく。行へ飛ぶのはEnterで。 grepの結果から探索する目的にはそのうち公開予定のanything-grep.elを使っている。anything.elだと絞り込みができるからね。

    grep-edit.el無双 - ’(rubikitch wanna be (a . lisper))