help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add new keyword in Emacs mode


From: Xah Lee
Subject: Re: Add new keyword in Emacs mode
Date: Wed, 7 Oct 2009 13:46:11 -0700 (PDT)
User-agent: G2/1.0

On Oct 7, 1:16 pm, Beware <mathieu.hed...@gmail.com> wrote:
> Hi,
>
> following the previous post i wrote, i'm wonder if it's possible to
> add new keyword in a mode of emacs.

which is your previous post? not all read all threads in newsgroup
these days. Best to post the url to groups.google.com

and what you mean by keywords? you want to add words so that keywoard
completion command will expand to your new words?

are you talking about keyword completion in minibuffer? or in a major
lang mode? or minor modes such as ido? also, whether it's in shell,
file name completion, or just computer language's keyword? or user
defined function names?

be specific in your question.

if your question is about in a major mode of a particular language,
and you want keyword completion to work on user defined function, then
you can generate tag files. (i've never used this) Look for the emacs
doc node: (emacs) Tags

if you want to add words to a language mode, you can use a hook and
add to its keyword list... but this depends on the implementation of
the mode.

• How To Implement Keyword Completion in Emacs
  http://xahlee.org/emacs/elisp_keyword_completion.html

  Xah
∑ http://xahlee.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]