all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrg@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Semantic completion of C++ class members
Date: Sun, 04 May 2014 02:44:44 +0200	[thread overview]
Message-ID: <87fvkqfk3n.fsf@gmail.com> (raw)
In-Reply-To: 87wqe5ur0r.fsf@nl106-137-194.student.uu.se

Emanuel Berg <embe8573@student.uu.se> writes:

> Jacob Gerlach <jacobgerlach@gmail.com> writes:
>
>> My understanding of semantic mode is that it should
>> offer completions based on class definitions.
>
> What does "semantic" mean in this context?

Please reader to CEDET documentaton.

>
>> For example, given
>>
>> MyClass A;
>>
>> A.-|-
>
> "-|-"?
>
>> Alternatively, I have not tried to use anything like
>> CEDET, so if a better solution is "just use CEDET"
>> (or whatever else), I'm open to anything.
>
> Really? :) In that case, let me offer the same piece of
> advice I always do in these matters.
>
> 1. If you cannot do it already, then learn to type -

Typing quickly has nothing to do with context based completion of class
variables and functions.

> preferable as fast as you can think. (When you get
> close, those two activities will merge more or less.)
>
> 2. Always make an effort to use short names for
> everything, names that are descriptive and easy to
> spell (and type). Doing this over and over, it'll be
> second nature and you can even relax your memory a bit
> - just "name" the thing again, and the same thing will
> pop up (that won't work every time, but often enough).

I'm intrigued to hear what you think any of that has to do with CEDET
completion? C++ classes are frequently massive and complex and trying to
code or maintain any form of large library based code base without this
sort of semantic help/completion borders on crazy these days.

-- 
Sent using Emacs/Gnus from home ...




  reply	other threads:[~2014-05-04  0:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-01 16:06 Semantic completion of C++ class members Jacob Gerlach
2014-05-01 21:29 ` Emanuel Berg
2014-05-04  0:44   ` Richard Riley [this message]
     [not found]   ` <mailman.619.1399164314.1147.help-gnu-emacs@gnu.org>
2014-05-04  0:54     ` Jacob Gerlach
2014-05-04  7:11       ` Andreas Röhler

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=87fvkqfk3n.fsf@gmail.com \
    --to=rileyrg@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.