独自の設定を積み重ねても仕方がないので、python-modeの機能の使い方をメモする。 (この記事はpython-modeを起動してC-c ?で見ることができるヘルプを元にして作られてます) python-modeの提供する機能 syntax-highlight python-shellとの通信 コードのインデント 範囲選択 コードのコメント/アンコメント カーソルの移動 試しに使ってみる。 python-shellを立ち上げる。 C-c Sを入力。shellが立ち上がる*1 python-shellとの通信 python-shellと通信する前にshellを立ち上げておく必要がある。shellが立ち上がっていなかったら、C-c Sで立ち上げておく。 python-shellとの通信をするコマンドは以下のとおり*2。 コマンド 説明 C-c RET imports or reloads