On Thu, Oct 25, 2007 at 09:42:31PM +0200, Klaus Reim wrote:
Dear XEmacs Maintainers,
here comes a simple test case:
- start help on functions:
C-h f
- press tab to get the completion buffer
tab
- move to the completion buffer, e.g.
M-v
- try to kbd-navigate with the "left" or "right" key:
doesn't work! The highlight stays put on the last item.
It tried several older versions of xemacs (21.5.*) and it seems
that this behavior was introduced with rev 1.55 of "src/extents.c".
>From the sound of the commit log an obvious fix seems to be
(and in fact fixes the left/right navigation issue for the
above test case):
diff -r1.9 list-mode.el
177,178c177,178
< (goto-char (next-single-property-change (point) 'list-mode-item
< nil end))))
---
> (goto-char (next-single-char-property-change (point) 'list-mode-item
> nil end))))
189c189
< (goto-char (previous-single-property-change
---
> (goto-char (previous-single-char-property-change
651,652c651,652
< (goto-char (next-single-property-change (point-min) 'list-mode-item nil
< (point-max)))))
---
> (goto-char (next-single-char-property-change (point-min) 'list-mode-item
nil
> (point-max)))))
Maybe this is not the right thing to do, or maybe there are other places
which require similar correction, but I am sure someone knows
what needs to be done.
I posted a patch for this back in 2005 but it was ignored.
However, this is the same as what I came up with, so that's a bit of
verification.
davep
Best regards,
Klaus
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
--
David Panariti / I can't complain,
davep(a)meduseld.net (|) but sometimes I still do.
/ -- Joe Walsh
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta