[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nethack-el-devel] Using directions with other keybindings
From: |
Mario Domgörgen |
Subject: |
Re: [Nethack-el-devel] Using directions with other keybindings |
Date: |
Sun, 10 Aug 2003 15:49:38 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
Istvan Marko <address@hidden> writes:
> Sorry, I didn't read your original email carefully enough. So the
> arrow keys work for regular movement but they don't work after "o"
> right?
You got it! :)
> I think this is caused by the function nh-read-char (at the end of
> nethack-compat.el) using read-char-exclusive, which doesn't seem to
> accept function key events. I am not sure if this is the proper way to
> fix this but replacing read-char-exclusive with read-event in
> nh-read-char gets it working for me:
>
> (defun nh-read-char (&optional prompt)
> (message prompt)
> (let ((char (read-event)))
> (message "")
> (nh-char-to-int char)))
That has an effect but not the wished... :) Now i get always when i try
to open a door "Never mind" ?!
> (I have re-added the nethack-el-devel list to the Cc:, I hope you
> don't mind)
My error, pressed R instead of F in gnus ... :)
Mario
--
Chaos reigns within.
Reflect, repent, and reboot.
Order shall return.