From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Add new keyword in Emacs mode
Date: Wed, 7 Oct 2009 13:46:11 -0700 (PDT) [thread overview]
Message-ID: <7df3bc43-ff5e-434d-8c34-1859175635dc@v15g2000prn.googlegroups.com> (raw)
In-Reply-To: 12ffbf59-f52a-4fe5-b149-b3aedf6368aa@h30g2000vbr.googlegroups.com
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/
☄
next prev parent reply other threads:[~2009-10-07 20:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 20:16 Add new keyword in Emacs mode Beware
2009-10-07 20:46 ` Xah Lee [this message]
2009-10-07 20:57 ` Beware
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=7df3bc43-ff5e-434d-8c34-1859175635dc@v15g2000prn.googlegroups.com \
--to=xahlee@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.