[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: arrow keys don't work inside I-search
From: |
Karl Berry |
Subject: |
Re: arrow keys don't work inside I-search |
Date: |
Thu, 9 Jan 2003 13:10:59 -0500 |
While trying out a build of info-4.3, I found that the arrow keys don't
seem to work when doing an I-search (via C-s). It prints ESCOB for the
down arrow, for example.
I finally found the bug -- incorrect pointer usage, sigh. This fix will
be in the next release, please try it if you can. Thanks for the
report.
karl
*** session.c.~1.1.~ Sun Aug 25 16:38:38 2002
--- session.c Thu Jan 9 10:02:55 2003
***************
*** 3967,3975 ****
if (!Meta_p (key) || key > 32)
{
! func = InfoFunction(window->keymap[key].function);
! if (isprint (key) || func == (VFunction *)NULL)
{
insert_and_search:
--- 3967,3981 ----
if (!Meta_p (key) || key > 32)
{
! /* If this key is not a keymap, get its associated function,
! if any. If it is a keymap, then it's probably ESC from an
! arrow key, and we handle that case below. */
! char type = window->keymap[key].type;
! func = type == ISFUNC
! ? InfoFunction(window->keymap[key].function)
! : NULL; /* function member is a Keymap if ISKMAP */
! if (isprint (key) || (type == ISFUNC && func == NULL))
{
insert_and_search: