2013-08-30から1日間の記事一覧
タプル リストの要素に一度に値を代入すること python >>> nudge = 1 >>> wink = 2 >>> A, B = nudge, wink >>> A, B (1, 2) >>> [C, D] = [nudge, wink] >>> C, D (1, 2)
意味なくdowncase-regionをやりたくって、 C-x C-lをやると、以下のようなメッセージが出る。 You have typed C-x C-l, invoking disabled command downcase-region. It is disabled because new users often find it confusing. Here's the first part of i…
Enabling colors in git command-line interface | Faizan Shaharyar以下を実行。 git config color.ui true
とりあえず.gitconfigにこのように書いてみる。 [core] editor = /Applications/Emacs.app/Contents/MacOS/bin/emacsclient単に [core] editor = emacsだと、ターミナルでエディタが立ち上がるだけだし、 [core] editor = open /Applications/Emacs.appだと…