>>>>> "Orm" == Orm Finnendahl <[EMAIL PROTECTED]> 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))
    (begin
      (use-modules (ice-9 readline))
      (activate-readline)))

Regards,
        Neil



_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile

Reply via email to