nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is my editor?


From: Robert Elz
Subject: Re: Where is my editor?
Date: Fri, 19 Jan 2024 15:10:26 +0700

    Date:        18 Jan 2024 23:20:11 -0700
    From:        "Andy Bradford" <amb-xmhe@bradfords.org>
    Message-ID:  <20240118232011.1679.qmail@angmar.bradfordfamily.org>

  | Ahh, I  didn't read  the fine  print... you said  "mh's default",  but I
  | misunderstood it for "nmh's default".

Yes, I have had the "editor" line in my profile since MH days, (I
have been a user since almost forever) so what nmh did as default
I never knew, which is why I avoided saying that...

I assume the change you indicated happened is to avoid building a
choice of default editors into nmh - prompter is part of the MH
world, so always exists, even though ex/vi is POSIX std, there
really is no guarantee it will exist on every system in the world
(even less for emacs/jove/nano/vim/...) and having "ed" as the default
would simply irritate people.

I hope it is back working like you expected it now.

Another profile entry worth having is

        prompter-next: vi
                                (or perhaps even ed, or horrors, emacs)

There are odd occasions where starting with prompter can be
easier that a real editor, then you just end the prompter session
(send EOF), and when it asks "What now?" you just "e" and then
you get your real editor (prompter-next) to finish.
        comp -editor prompter
will do that once you have the "editor" profile entry and so
prompter is no longer the default.

kre



reply via email to

[Prev in Thread] Current Thread [Next in Thread]