* Keyword completion in C++ mode
@ 2008-04-29 18:53 TheLonelyStar
2008-04-29 19:12 ` David Hansen
2008-04-30 1:33 ` Peter Milliken
0 siblings, 2 replies; 3+ messages in thread
From: TheLonelyStar @ 2008-04-29 18:53 UTC (permalink / raw)
To: Help-gnu-emacs
Hi,
Is there some package that provides keyword completion in C++ mode?
In, exmple, if I type:
unsign<tab>
it should complete to
unsigned
Thanks!
Nathan
--
View this message in context: http://www.nabble.com/Keyword-completion-in-C%2B%2B-mode-tp16967626p16967626.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Keyword completion in C++ mode
2008-04-29 18:53 Keyword completion in C++ mode TheLonelyStar
@ 2008-04-29 19:12 ` David Hansen
2008-04-30 1:33 ` Peter Milliken
1 sibling, 0 replies; 3+ messages in thread
From: David Hansen @ 2008-04-29 19:12 UTC (permalink / raw)
To: help-gnu-emacs
On Tue, 29 Apr 2008 11:53:07 -0700 (PDT) TheLonelyStar wrote:
> Is there some package that provides keyword completion in C++ mode?
> In, exmple, if I type:
>
> unsign<tab>
>
> it should complete to
>
> unsigned
For *keywords* have a look at abbrev mode (not exactly completions but
close enough). For more than keywords there's etags (read the chapter
about tags in the emacs manual).
David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Keyword completion in C++ mode
2008-04-29 18:53 Keyword completion in C++ mode TheLonelyStar
2008-04-29 19:12 ` David Hansen
@ 2008-04-30 1:33 ` Peter Milliken
1 sibling, 0 replies; 3+ messages in thread
From: Peter Milliken @ 2008-04-30 1:33 UTC (permalink / raw)
To: TheLonelyStar; +Cc: Help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1141 bytes --]
It is unclear what you are after. There are several packages that offer
syntax completion i.e.
if <some-key-stroke> => if ()
else
etc
packages like skeleton.el or else-mode.el have differing facilities for the
user - it's up to you which you prefer. IMO (I'm the author), else-mode.el
offers the most complete and least "interference" of any such package - but
having said that, Stallman decided to include skeleton.el in the Emacs
distribution and not else-mode.el :-) Syntax completion is almost like
editors - you either use it and like it or you can't see what the fuss is
all about.
So have a look around and make up your own mind.
Peter
On Wed, Apr 30, 2008 at 4:53 AM, TheLonelyStar <nabble@lonely-star.org>
wrote:
>
> Hi,
>
> Is there some package that provides keyword completion in C++ mode?
> In, exmple, if I type:
>
> unsign<tab>
>
> it should complete to
>
> unsigned
>
> Thanks!
> Nathan
> --
> View this message in context:
> http://www.nabble.com/Keyword-completion-in-C%2B%2B-mode-tp16967626p16967626.html
> Sent from the Emacs - Help mailing list archive at Nabble.com.
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2016 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-30 1:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-29 18:53 Keyword completion in C++ mode TheLonelyStar
2008-04-29 19:12 ` David Hansen
2008-04-30 1:33 ` Peter Milliken
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.