You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
RTags is a client/server application that indexes C/C++ code and keeps a persistent file-based database of references, declarations, definitions, symbolnames etc. There’s also limited support for ObjC/ObjC++. It allows you to find symbols by name (including nested class and namespace scope). Most importantly we give you proper follow-symbol and find-references support. We also have neat little thi
45flymake.el Q'-�� @t'-�� ;; -*- coding: utf-8 -*- (when (locate-library "flymake") (require 'flymake) ;;シンタックスチェックは次のコマンドが呼ばれる ;;make -s -C . CHK_SOURCES=hoge.cpp SYNTAX_CHECK_MODE=1 check-syntax ;; ;; Makefile があれば、次のルールを追加 ;;PHONY: check-syntax ;;#check-syntax: ;;# $(CC) -Wall -Wextra -pedantic -fsyntax-only $(CHK_SOURCES) ;; ;;CHECKSYNTAX.c = $(CC) $(CFLAGS) $(CPPFLAGS) -Wall -Wextra -pedantic
Google先生に連日尋ねていたけど、誰も作っていないので anything-cscopeを作ってみた。 パクリコードばかりだけど、動けば官軍。 でもGNU Globalより取りこぼしが多いので、意外と使えない(T^T) (silent bob でも試したけど、globalの方が精度が良かった。。) *気になる場所大杉なので、後でリファクタリングします。。 (require 'anything) (require 'xcscope) (defvar anything-cscope-db-directory nil) (defvar anything-c-source-cscope-c-cymbol '((name . "cscope : c-cymbol") (candidates . (lambda () (anything-cscope-candidates "-0"))) (acti
I, like a lot of programmers, have a preferred style of formatting my source code that makes me happy. So therefore, it was important to me that Emacs understood and indented my code correctly. Whilst you can manually set each of the individual levels of offsets to apply, it’s usually much simpler to use one of the built-in styles that comes with CC mode. Even if you don’t find one that completely
はじめに 今から約 1 ヶ月前、GNU Emacs のコードリーディングをはじめました。祝日などの時間を使って少しずつ GNU Emacs の解析を進めました。今日、ようやくコードリーディングを開始した時に立てた目標が達成できたので、このエントリーを書くことにしました。 GNU Emacs のコードリーディングをはじめた当初の目標は、GNU Emacs に内蔵された 「Lisp インタプリタ」をどうにかショートカットして「C インタフェース」から直接操作することでした。 では、なぜそのような目標を設定したのか少し説明します。 GNU Emacs は、Lisp システムと密に連携してエディタの機能を統合しています。GNU Emacs の世界は Lisp システムによって支配されていると言えます。したがって、GNU Emacs の仕組みを理解するには GNU Emacs に内蔵された Lisp
ちゃんと高速化されたことを確認しなければ。 以下、前回作った C による独自の emacs プリミティブ関数 onep と、 elisp で書いた onep-e 関数を、 10000回呼ぶテストを行っている。独自に作成したプリミティブ関数は、コンパイルされた新しい emacs 実行ファイルに組み込まれている。 (defun onep-e (n) (= n 1)) (require 'cl) cl (defun test-1 () (loop repeat 10000 for x = (random 10) if (onep x) collect x)) (defun test-2 () (loop repeat 10000 for x = (random 10) if (onep-e x) collect x)) (require 'profile) (setq profile-funct
http://osdir.com/ml/emacs.jdee/2007-07/msg00008.html - Subject: ede-save-cache: Buffer is read-only: # A new problem: After just upgrading JDE, ecb, and CEDET whenever I try to quit emacs (even if I never opened a file to edit) I get: ede-save-cache: Buffer is read-only: # There is this buffer .projects.ede that I can't get rid of. - Can resolve as the following sudo rm ~/.projects.ede In my case,
ここ1年くらいずっとEmacsのデフォルトのcc-modeを使っていたのだけれども、MySQL的なコーディング規約に微妙にあってなくて、手作業で直してたのですが、もういいかげん限界だーとおもっていろいろ調べていたら、MySQLのwebサイトにMySQL開発者的cc-mode設定例が載ってました。 URL:http://forge.mysql.com/wiki/MySQL_Internals_Coding_Guidelines (require 'font-lock) (require 'cc-mode) (setq global-font-lock-mode t) ;;colors in all buffers that support it (setq font-lock-maximum-decoration t) ;;maximum color (c-add-style "MY" '(
Visit the post for more.
Emacs エディターで C 言語のプログラムを書く人向けに、入門用の解説がないように思う。そこで、知っておくと便利な機能をまとめてみた。 読者は、Emacs の操作とカスタマイズが最低限できる人を対象にしている。つまり、C-x C-f といったショートカット・キーが使えて、.emacs の設定ファイルがいじれる人。各機能について、基本的な使い方とその効果、あと最低限の設定について書き出した。 目次 ソースの色付け インデント アラインメント コメント info マニュアル スペル・チェック タグ・ジャンプ 関数名の補完入力 コンパイルとエラー行ジャンプ ChangeLog ファイル 1. ソースの色付け Emacs は、C 言語のソース・ファイルを解析して、if や for といったキーワードに対して、自動で色を付ける。 色を付けることでソースにメリハリが生まれ、可読性が上がる。また、ス
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く