Do you have other related environment variables set, such as VISUAL?
Did you see this section in the manual:

DARCS_EDITOR
When pulling up an editor (for example, when adding a long comment in
record), darcs uses the contents of DARCS_EDITOR if it is defined. If
not, it tries the contents of VISUAL, and if that isn't defined (or
fails for some reason), it tries EDITOR. If none of those environment
variables are defined, darcs tries vi, emacs, emacs -nw and nano in
that order.

peace,

  isaac

Lee Braiden <[EMAIL PROTECTED]> writes:

> Package: darcs
> Version: 1.0.2-1
> Severity: normal
>
> When recording a change and choosing to enter a long message, darcs ignores my
> preferred editor, and fails to find emacs, yet records the changes anyway.  
> The
> output looks like this:
>
> Do you want to add a long comment? [yn] y
> Received SIGHUP or SIGTERM
> sh: emacs: command not found
> sh: emacs: command not found
> Received SIGHUP or SIGTERM
> Finished recording patch 'pre-darcs changes to 0.8'
>
> $EDITOR is definitely set, and the editor is available.  I tried with EDITOR 
> set
> to both fte and nano, with no luck.
>
> -- System Information:
> Debian Release: 3.1
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: powerpc (ppc)
> Kernel: Linux 2.6.11-powerpc
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
>
> Versions of packages darcs depends on:
> ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries 
> an
> ii  libcurl3                    7.13.2-2     Multi-protocol file transfer 
> libra
> ii  libgmp3                     4.1.4-6      Multiprecision arithmetic library
> ii  libidn11                    0.5.13-1.0   GNU libidn library, 
> implementation
> ii  libncurses5                 5.4-4        Shared libraries for terminal 
> hand
> ii  libreadline4                4.3-15       GNU readline and history 
> libraries
> ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
> ii  zlib1g                      1:1.2.2-4    compression library - runtime
>
> -- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to