Re: FW: completion TAB missing

"Stephen J. Turnbull" <[email protected]>
Newsgroups gmane.emacs.xemacs.general
Organization The XEmacs Project
Message-ID <[email protected]>
>>>>> "Dotan" == Dotan Barak <[email protected]> writes:

    Dotan> H i
    >> I have a problem of missing TAB completion in xemacs-21.1.14. I
    >> Record this error trace and this is what I gat pls try to help
    >> me with this bug.


    >> I open *.cpp file type the word #inclu type <TAB> & nothing is
    >> happend?

If you were expecting TAB to complete #inclu to #include, it is not a
bug.

Completion does not work that way.  In Emacs, "completion" refers to
the ability to use TAB to select completions in response to a prompt
in the minibuffer.

There is an abbreviation facility which allows you to define your own
abbreviations for use in an ordinary buffer.  Unfortunately AFAIK
there is no library of common abbreviations for different modes.

If you already have a file containing #include somewhere in XEmacs,
including in some other buffer, you can use the dynamic abbreviation
facility (M-/) which will search for expansions of "#inclu" and expand
that (actually, under normal circumstances it will ignore the "#" as a
word boundary, and expand "inclu").

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.