Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #50490

Re: gforth.el questions

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: gforth.el questions
Date 2016-08-26 08:07 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2016Aug26.100719@mips.complang.tuwien.ac.at> (permalink)
References <0129cb59-b3ed-4111-98f8-dbb3a0d7d0bf@googlegroups.com>

Show all headers | View raw


anotherreepca@gmail.com writes:
>Hi friends, I just realized after some reading of the gforth manual that I'=
>m supposed to be able to complete words with tab-completion. When I attempt=
> to do so in a normal terminal, it works fine, but not so in emacs. I *thin=
>k* I have gforth.el properly installed, but whenever I type "du" and hit ta=
>b it just produces a bunch of spaces. Any idea how to make that work?

There is no tab-completion feature in gforth.el.  However, Emacs has
completion support
<https://www.gnu.org/software/emacs/manual/html_node/emacs/Symbol-Completion.html>,
in the case of Forth based on the TAGS file.  So you have to create a
TAGS file for your own words
<https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Emacs-Tags.html>
and/or use the Gforth TAGS file (e.g.,
/usr/local/share/gforth/<version>/TAGS) for the built-in words, with
M-x visit-tags-table, and then you can do the completion with M-<TAB>
(possibly caught by the Window manager, so also try the following),
C-M-i, or <ESC><TAB>.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2016: http://www.euroforth.org/ef16/

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

gforth.el questions anotherreepca@gmail.com - 2016-08-25 22:15 -0700
  Re: gforth.el questions anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-26 08:07 +0000
    Re: gforth.el questions anotherreepca@gmail.com - 2016-08-26 07:56 -0700
      Re: gforth.el questions anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-27 07:44 +0000
        Re: gforth.el questions albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2016-08-28 20:40 +0200
          Re: gforth.el questions anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-29 23:11 +0000
  Re: gforth.el questions anotherreepca@gmail.com - 2016-08-29 21:46 -0700
    Re: gforth.el questions anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-31 16:11 +0000
      Re: gforth.el questions anotherreepca@gmail.com - 2016-08-31 18:16 -0700
        Re: gforth.el questions anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-09-01 05:20 +0000
          Re: gforth.el questions anotherreepca@gmail.com - 2016-08-31 23:21 -0700
            Re: gforth.el questions anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-09-01 08:26 +0000
              Re: gforth.el questions anotherreepca@gmail.com - 2016-09-01 11:40 -0700
  Re: gforth.el questions rickman <gnuarm@gmail.com> - 2016-09-02 19:39 -0400
    Re: gforth.el questions anotherreepca@gmail.com - 2016-09-02 18:19 -0700

csiph-web