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


Groups > comp.lang.forth > #45181

Re: how can I use emacs to locate definitions in gforth

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: how can I use emacs to locate definitions in gforth
Date 2016-01-29 12:42 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2016Jan29.134254@mips.complang.tuwien.ac.at> (permalink)
References (2 earlier) <n88s07$72h$1@dont-email.me> <2016Jan27.153942@mips.complang.tuwien.ac.at> <56a94f77.1280114049@news.eternal-september.org> <2016Jan28.180913@mips.complang.tuwien.ac.at> <56aaae41.1369916461@news.eternal-september.org>

Show all headers | View raw


stephen@mpeforth.com (Stephen Pelc) writes:
>>Instead of everyone having to configure their editor for each
>>application in some configuration file (or with some
>>application-specific commands), there is a standard way to do it,
>>through the EDITOR environment variable.
>
>But all this assumes that the EDITOR variable is set and that the
>favourite editor uses the standard command line sequence. 

If it isn't, sf gives me a helpful message:

  edit : $0: No editor defined, and $VISUAL and $EDITOR are not set.

So now I know that I have to set either VISUAL or EDITOR.  By
contrast, the VFX error message:

sh: 1: kate: not found

is not really enlightening; it does not tell me that I have to edit
~/.VfxForth/VfxForth.ini nor that I should use editor-is and locate-is
(or whatever the commands are).

And as it happens, my EDITOR variable was already set before, because
that's the standard way to invoke the user's preferred text editor.

As for the standard command line sequence, I tried all the screen
editors installed on my laptop (emacs, gedit, nano, emacs, vi, xedit),
and they all support the standard syntax.

>After all, Linux has no packaging system other than tar or tar.gz.
>What a waste.

Not sure what that rant is about, but that did not stop Forth,
Inc. from getting it right.

- 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 2015: http://www.rigwit.co.uk/EuroForth2015/

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


Thread

how can I use emacs to locate definitions in gforth Coos Haak <chforth@hccnet.nl> - 2016-01-26 00:27 +0100
  Re: how can I use emacs to locate definitions in gforth Bernd Paysan <bernd.paysan@gmx.de> - 2016-01-26 02:11 +0100
    Re: how can I use emacs to locate definitions in gforth Albert van der Horst <albert@spenarnc.xs4all.nl> - 2016-01-26 11:35 +0000
    Re: how can I use emacs to locate definitions in gforth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-26 17:04 +0000
      Re: how can I use emacs to locate definitions in gforth "Elizabeth D. Rather" <erather@forth.com> - 2016-01-26 09:21 -1000
  Re: how can I use emacs to locate definitions in gforth stephen@mpeforth.com (Stephen Pelc) - 2016-01-26 20:52 +0000
    Re: how can I use emacs to locate definitions in gforth Albert van der Horst <albert@spenarnc.xs4all.nl> - 2016-01-26 21:24 +0000
      Re: how can I use emacs to locate definitions in gforth mhx@iae.nl - 2016-01-26 14:32 -0800
        Re: how can I use emacs to locate definitions in gforth Roelf Toxopeus <rt4all@notthis.hetnet.nl> - 2016-01-27 07:35 +0100
          Re: how can I use emacs to locate definitions in gforth mhx@iae.nl - 2016-01-27 03:26 -0800
    Re: how can I use emacs to locate definitions in gforth Bernd Paysan <bernd.paysan@gmx.de> - 2016-01-26 23:32 +0100
      Re: how can I use emacs to locate definitions in gforth stephen@mpeforth.com (Stephen Pelc) - 2016-01-27 00:17 +0000
        Re: how can I use emacs to locate definitions in gforth Bernd Paysan <bernd.paysan@gmx.de> - 2016-01-27 21:50 +0100
      Re: how can I use emacs to locate definitions in gforth Hannu Vuolasaho <vuokkosetae@gmail.com> - 2016-01-27 04:11 +0200
      Re: how can I use emacs to locate definitions in gforth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-27 14:39 +0000
        Re: how can I use emacs to locate definitions in gforth stephen@mpeforth.com (Stephen Pelc) - 2016-01-27 23:53 +0000
          Re: how can I use emacs to locate definitions in gforth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-28 17:09 +0000
            Re: how can I use emacs to locate definitions in gforth stephen@mpeforth.com (Stephen Pelc) - 2016-01-29 00:17 +0000
              Re: how can I use emacs to locate definitions in gforth Julian Fondren <julian.fondren@gmail.com> - 2016-01-28 17:20 -0800
                Re: how can I use emacs to locate definitions in gforth stephen@mpeforth.com (Stephen Pelc) - 2016-01-29 02:22 +0000
                Re: how can I use emacs to locate definitions in gforth Andrew Haley <andrew29@littlepinkcloud.invalid> - 2016-01-29 02:24 -0600
                Re: how can I use emacs to locate definitions in gforth Julian Fondren <julian.fondren@gmail.com> - 2016-01-29 03:49 -0800
                Re: how can I use emacs to locate definitions in gforth Albert van der Horst <albert@spenarnc.xs4all.nl> - 2016-01-29 11:41 +0000
                Re: how can I use emacs to locate definitions in gforth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-29 13:00 +0000
                Re: how can I use emacs to locate definitions in gforth Bernd Paysan <bernd.paysan@gmx.de> - 2016-01-29 22:50 +0100
              Re: how can I use emacs to locate definitions in gforth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-29 12:42 +0000
                Re: how can I use emacs to locate definitions in gforth stephen@mpeforth.com (Stephen Pelc) - 2016-01-30 10:10 +0000
                Re: how can I use emacs to locate definitions in gforth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-30 14:29 +0000
                Re: how can I use emacs to locate definitions in gforth mhx@iae.nl - 2016-01-31 02:58 -0800
                Re: how can I use emacs to locate definitions in gforth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-31 15:09 +0000
    Re: how can I use emacs to locate definitions in gforth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-27 14:36 +0000
      Re: how can I use emacs to locate definitions in gforth Julian Fondren <julian.fondren@gmail.com> - 2016-01-27 07:37 -0800
      Re: how can I use emacs to locate definitions in gforth Andrew Haley <andrew29@littlepinkcloud.invalid> - 2016-01-27 10:35 -0600
        Re: how can I use emacs to locate definitions in gforth anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-27 16:58 +0000
          Re: how can I use emacs to locate definitions in gforth "Elizabeth D. Rather" <erather@forth.com> - 2016-01-27 08:48 -1000

csiph-web