all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tu Hoang Do <solidius4747@gmail.com>
To: Dmitriy Igrishin <dmitigr@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: A guide on setting up C/C++ development environment for Emacs
Date: Wed, 27 Aug 2014 20:18:27 +0700	[thread overview]
Message-ID: <CAMd9FiJUm+vuTqzo9dmwrsP2q5Ucoxu4bcdtHtcZU8vE+LPVDg@mail.gmail.com> (raw)
In-Reply-To: <CAAfz9KM0A2GsYRdEJPQ63Hm11UcnnFudZFNsYykmTi1XSBXNfw@mail.gmail.com>

CEDET is not slow. It's reasonably fast given it is implemented in Emacs
Lisp. It needs time for parsing to build a database, so you see a message
printing this: parsing....<file> in the minibuffer. It needs parsing to
build up a database for smart completion. After the first time parsing,
completion happens instantly and you should enable Semanticdb minor mode to
save the parsing results, so CEDET won't have to parse the next time. CEDET
can handle project with the size of Emacs really well. I think even project
with more than a million lines of code. CEDET is the only viable solution
so far I found for real smart completion in Emacs. Other clang based
solution is pretty limited: you can only get completion from system header
and current directory, but not for your project. You have to add the
include paths to tell Clang where your project include paths are, and you
have to specify with absolute paths. It's really tedious.


On Wed, Aug 27, 2014 at 7:48 PM, Dmitriy Igrishin <dmitigr@gmail.com> wrote:

> Hi,
>
> Amazing work. Thank you!
>
> Although, I don't use CEDET because it's terrible slow for me.
>
>
> 2014-08-27 11:05 GMT+04:00 <solidius4747@gmail.com>:
>
>> Hi list,
>>
>> I wrote a guide on setting up C/C++ development in Emacs that covers the
>> following topics:
>>
>> - Source code navigation: jump around Linux kernel with easy, find any
>> file in project, find any definition and reference in project.
>> - Smart completion with CEDET and Semantic.
>> - More code navigation with Senator.
>> - Project management with EDE and Projectile.
>> - Display source code source code information with
>> semantic-idle-summary-mode and semantic-sticky-func-mode.
>> semantic-idle-summary-mode displays function interface in the minibuffer
>> and semantic-sticky-func-mode displays interface of current function point
>> is in.
>> - Utilities for source code editing.
>> - Compile with Compilation mode.
>> - Debugging with GDB Many Windows or plain old GUD.
>>
>> The link: http://tuhdo.github.io/c-ide.html
>>
>
>
>
> --
> // Dmitriy.
>
>


  reply	other threads:[~2014-08-27 13:18 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27  7:05 A guide on setting up C/C++ development environment for Emacs solidius4747
2014-08-27 12:48 ` Dmitriy Igrishin
2014-08-27 13:18   ` Tu Hoang Do [this message]
2014-08-27 14:15     ` Dmitriy Igrishin
     [not found]       ` <CAMd9FiKzwc1QKa3KtZPFpTGs86bupRptFqL_WwCSE3kPGARXfg@mail.gmail.com>
2014-08-27 14:53         ` Fwd: " Tu Hoang Do
     [not found]           ` <CAAfz9KNL25WboPXG87Azd_6yVr8zrx6hNrCsmuWs6w_XTvdspQ@mail.gmail.com>
     [not found]             ` <CAMd9FiJyjk78a-3yMatvca3qp+pr4O+GmDp03ZqFSkpAEoxhGw@mail.gmail.com>
2014-08-27 18:14               ` Tu Hoang Do
2014-08-27 18:15                 ` Jai Dayal
2014-08-27 18:37                   ` Óscar Fuentes
2014-08-27 18:42                     ` Jai Dayal
2014-08-27 18:42                       ` Jai Dayal
2014-08-27 18:52                         ` Óscar Fuentes
2014-08-27 19:05                           ` Jai Dayal
2014-08-27 19:28                             ` Óscar Fuentes
2014-08-27 19:32                               ` Jai Dayal
2014-08-27 20:06                                 ` Óscar Fuentes
2014-08-27 20:11                                   ` Jai Dayal
2014-08-27 20:57                                     ` Óscar Fuentes
2014-08-27 23:17                                       ` Jai Dayal
2014-08-27 23:47                                         ` Óscar Fuentes
     [not found]                                       ` <mailman.7678.1409181490.1147.help-gnu-emacs@gnu.org>
2014-08-28  3:30                                         ` Rusi
2014-08-28  3:33                                           ` Jai Dayal
2014-08-28  4:29                                           ` Óscar Fuentes
     [not found]                                           ` <mailman.7693.1409200204.1147.help-gnu-emacs@gnu.org>
2014-08-28  5:39                                             ` Rusi
2014-08-28 12:27                                               ` Jai Dayal
     [not found]                                               ` <mailman.7714.1409228889.1147.help-gnu-emacs@gnu.org>
2014-08-28 15:53                                                 ` solidius4747
2014-08-28 21:22                                                   ` Óscar Fuentes
2014-08-28 22:24                                                     ` Stefan Monnier
2014-08-28 23:28                                                       ` Dmitry
2014-08-29  0:02                                                       ` Óscar Fuentes
     [not found]                                                       ` <mailman.7793.1409270604.1147.help-gnu-emacs@gnu.org>
2014-08-29  3:35                                                         ` Stefan Monnier
2014-08-29  6:06                                                     ` David Engster
2014-08-29 13:09                                                       ` Óscar Fuentes
2014-08-29 13:16                                                         ` Jai Dayal
2014-08-29 13:45                                                           ` Óscar Fuentes
2014-08-29 13:52                                                         ` David Engster
2014-08-29 14:16                                                           ` Óscar Fuentes
     [not found]                                                     ` <mailman.7808.1409292429.1147.help-gnu-emacs@gnu.org>
2014-08-29 13:15                                                       ` Rusi
2014-08-28 17:08                                                 ` Rusi
2014-08-28 17:13                                                   ` Jai Dayal
2014-08-28 19:43                                                     ` Marcin Borkowski
2014-08-28 19:47                                                       ` Jai Dayal
2014-08-28 20:15                                                         ` Marcin Borkowski
     [not found]                                                   ` <mailman.7743.1409246061.1147.help-gnu-emacs@gnu.org>
2014-08-28 17:26                                                     ` Rusi
2014-08-28 23:01                                                   ` Thorsten Jolitz
2014-08-27 18:45                     ` Óscar Fuentes
2014-08-27 14:39     ` Thien-Thi Nguyen
     [not found]     ` <mailman.7608.1409150189.1147.help-gnu-emacs@gnu.org>
2014-08-27 15:01       ` solidius4747
2014-08-27 18:31         ` Óscar Fuentes
     [not found] <mailman.127014.1409321829.1146.help-gnu-emacs@gnu.org>
2014-08-29 14:33 ` Tory S. Anderson
2014-08-29 17:21   ` Jai Dayal
2014-08-29 18:11     ` Marcin Borkowski
2014-08-29 18:15       ` Jai Dayal
2014-08-29 18:27       ` Marcin Borkowski
2014-08-29 18:34         ` Jai Dayal
2014-08-29 19:17           ` Marcin Borkowski
     [not found]     ` <mailman.7863.1409335908.1147.help-gnu-emacs@gnu.org>
2014-08-30  3:43       ` Rusi
2014-08-30  7:24         ` Thien-Thi Nguyen
2014-08-30 21:27         ` Jai Dayal
     [not found]         ` <mailman.7951.1409434065.1147.help-gnu-emacs@gnu.org>
2014-08-31  1:53           ` Rusi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMd9FiJUm+vuTqzo9dmwrsP2q5Ucoxu4bcdtHtcZU8vE+LPVDg@mail.gmail.com \
    --to=solidius4747@gmail.com \
    --cc=dmitigr@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.