The following message is a courtesy copy of an article
that has been posted to gmane.comp.lang.factor.general as well.
Hi,
On Sat, Jul 31 2010, Evgeny Bahvalov wrote:
> Hi, Slava
> it's very good if someone can resolve this problem in fuel.
> I hope.
> Maybe if I have time I look.
The problem is caused by the prompt in FUEL's listener being read-only.
As a quick workaround, the patch below defines a new customization
variable to make the prompt not-read-only. From the patch's log:
By setting fuel-listener-prompt-read-only-p to nil, you'll be able to
delete (portions of) the prompt in the listener. This doesn't have
much value by itself, except that, moreover, a non-read-only prompt
makes some i/o operations work. E.g.:
"input x:" print flush readln
will work with the new variable set to nil.
This is just a workaround, but will let you use input words such as
readln until i (or someone else) find a proper fix.
Using readln by itself (without a previous call to print) does work with
a read-only prompt, so it's the output of print what's confusing Emacs
comint mode somehow.
HTH,
jao
The following changes since commit dad13f0d467228b81e5151cb5f9ef9604aff9609:
fixed usages (2010-07-31 19:54:36 +0200)
are available in the git repository at:
http://git.hacks-galore.org/jao/factor.git emacs
Jose A. Ortega Ruiz (1):
FUEL: New option to make listener's prompt non-readonly.
misc/fuel/fuel-listener.el | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk