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


Groups > comp.lang.forth > #50504

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-27 07:44 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2016Aug27.094438@mips.complang.tuwien.ac.at> (permalink)
References <0129cb59-b3ed-4111-98f8-dbb3a0d7d0bf@googlegroups.com> <2016Aug26.100719@mips.complang.tuwien.ac.at> <71787d42-1d6f-4dbf-b26a-38ade4347f34@googlegroups.com>

Show all headers | View raw


anotherreepca@gmail.com writes:
>For some reason my gforth directory was in /usr/share/ instead of /usr/loca=
>l/share/.

That's normal if you install gforth through the distribution.

> I visited it with M-x visit-tags-table, but typing "du" and then =
>C-M-i just causes the minibuffer to say "no match" (same for <ESC><TAB>).

I just tried this on Debian Jessie, and it showed me a selection of
all the words starting with "du".  When I tried to complete "duxx", it
did not do anything (or, if this is at the end of buffer, complains
about that).  On Ubuntu 14.04 (with gforth 0.7.0), pretty much the
same.

> A=
>lso, I tried to generate a TAGS file as per https://bernd-paysan.de/gforth-=
>manual/Emacs-Tags.html but "require etags.fs" causes an error where the com=
>ment word \ is undefined (specifically the comment is "our dictionary searc=
>h order becomes the law ( -- )", and subsequently makes it impossible to us=
>e any words.

You tried to insert "require etags.fs" and then load Gforth's source
files for building an image?  Yes, that can be tricky.

>Version is 0.7.2, installed from ubuntu 16.04 repositories. Sh=
>ould I try a manually-compiled more recent version?

Actually, this should work fine in 0.7.2 (and earlier), but you never
know what butchering the Debian/Ubuntu maintainers applied to the
version you have.  You can look if the TAGS file contains anything,
and if so, try if various other tags functions work, such as

M-. du<tab> 

(should show you the completions of the words starting with "du", but
in the Emacs mini-buffer), or

M-x tags-apropos du .*

or 

M-x list-tags /usr/share/gforth/0.7.2/prim

Independently of this, it's a good idea to build and install gforth
from the sources (either a tarball, or from the git (installed gforth
needed for git)) on Debian/Ubuntu; advantages are that you get the
manual installed, and that Gforth is considerably faster
(Debian/Ubuntu disables one of the performance features).

- 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