今回は筆者のEmacs(と言ってもMeadow2なんですが)のPerlに関する設定を一部抜粋してみようと思います。 (autoload 'cperl-mode "cperl-mode" nil t) ;; cperl-modeを使ってます。 (add-to-list 'interpreter-mode-alist '("perl" . cperl-mode)) ;; shebang(#!…)に"perl"があったらcperl-mode (add-to-list 'auto-mode-alist '("\\.\\(p[lm]\\|f?cgi\\|t\\)$" . cperl-mode)) ;; こういう拡張子もcperl-mode (defalias 'perl-mode 'cperl-mode) ;; perl-modeもcperl-mode ;; 色が気に入らないので直してみたり (se
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
GNU GLOBAL(gtags)は、ソースコードのタグジャンプです。簡単に複数のソース中から関数や、変数の定義元/参照元を見つけ、その箇所に移動することができます。 ctags、etags(cygwin や Linux に大抵標準で含まれています)と同じ働きをしますが、gtags はさらに強力な機能を持っています。大量の他人の書いたソースを読むプログラマには、必須だと思います。 GNU GLOBAL(gtags) の特徴 gtags は、次のような特徴を持っています。 C、 C++、 Yacc、 Java、 PHP4 のソースコードに対応しています。 ※ Pygments 等を入れれば Python等のコードにも対応します 関数の呼び出し元を参照できます。 複数の候補が存在する場合は、一覧で表示してくれます。 タグ情報より、HTMLを生成できます。 コマンドラインや、vi、emacs な
Perl スクリプトを編集するための設定 cperl-mode を使おう 関数名や変数名の補完入力を使う Perl の Debugger を起動する Perl スクリプトの文法的な正確さを検査する Perl 日本語 Info を活用する cperl-mode を使おう Perl スクリプトを編集する時,普通は Emacs に標準的に附属している perl-mode を使います.しかし,この perl-mode は少し古いので最近の Perl5 の構文を利用するとインデントが崩れたりするなど,多少の不具合があります. それに対して,cperl-mode は最近も継続的にメンテナンスされていて, 新しい機能も利用できるようになっていますので,是非利用しましょう. なお,Emacs20 以降は cperl-mode.el は,Emacs の標準配布の一部となりましたから,特別にインストールする必
カーソル、文字操作 最終更新2005-08-24T00:00:00+09:00 この記事のURI参照https://www.7key.jp/vi.html#r01 C-p前の行 C-n次の行 C-f次の文字 C-b前の文字 M-f1単語先へ M-b1単語前へ C-a行頭へ移動 C-e行末へ移動 M-a文頭へ移動 M-e文末へ移動 M-<ファイルの先頭に移動 M->ファイルの末尾へ移動 C-dカーソルのある文字を削除 C-kカーソル位置から行末までを消去 M-kカーソル位置から文末までを消去 C-x u操作の取消 C-/操作の取消 C-s文字列を下方向に検索 C-r文字列を上方向に検索 M-%置換 M-C-s正規表現による検索 M-x query-replace-regexp正規表現による文字列の置換 M-lポイントに続く単語を小文字に M-uポイントに続く単語を大文字に M-cポイントに続
より新しいバージョンはEmacs実践入門 - おすすめEmacs設定2012 - ククログ(2012-03-20)にあります。 キーバインド ;;; キーバインド (define-key global-map "\C-h" 'delete-backward-char) ; 削除 (define-key global-map "\M-?" 'help-for-help) ; ヘルプ (define-key global-map "\C-z" 'undo) ; undo (define-key global-map "\C-ci" 'indent-region) ; インデント (define-key global-map "\C-c\C-i" 'dabbrev-expand) ; 補完 (define-key global-map "\C-c;" 'comment-region) ; コメン
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く