[Top][All Lists]

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

Re: readline (again...)

From: Neil Jerram
Subject: Re: readline (again...)
Date: 13 Oct 2002 19:59:00 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Orm" == Orm Finnendahl <address@hidden> writes:

    Orm> Hi all,
    Orm> sorry to bug you again, but I experience a strange thing trying to use
    Orm> readline within an inferior guile process in emacs: When loading the
    Orm> readline modules in a console, the behaviour of readline is the way
    Orm> it's expected, activating it from within an inferior-scheme buffer in
    Orm> emacs makes guile loose its prompt (<guile>) and no history or any of
    Orm> readlines features seems to be available.

    Orm> What am I missing?

It doesn't really make sense to activate readline when running within
Emacs, as Emacs provides its own mechanisms for editing, recalling
previous commands, and so on.  To activate readline only when it makes
sense, I recommend using the following code in your .guile:

(if (isatty? (current-input-port))
      (use-modules (ice-9 readline))


reply via email to

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