GNU bug report logs -
#75366
[PATCH] Improve the doc of key-valid-p
Previous Next
Reported by: Hong Xu <hong <at> topbug.net>
Date: Sat, 4 Jan 2025 20:41:02 UTC
Severity: minor
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #19 received at 75366-done <at> debbugs.gnu.org (full text, mbox):
> From: Hong Xu <hong <at> topbug.net>
> Cc: 75366 <at> debbugs.gnu.org
> Date: Sat, 04 Jan 2025 13:43:23 -0800
>
> On 2025-01-04 Sat 12:49 GMT-08, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > What is wrong with the current text that you think it needs these
> > changes?
>
> The current text reads a bit confusing to me.
>
> The function, based on its name and the current text, gives me an
> impression that this is only about key strokes as those on a keyboard.
> However, it's actually more than key strokes as those on a keyboard.
> (I've added a mouse example in the updated patch to further clarify
> this.)
>
> For example, the "Modifying Menus" node (correctly) cites this function
> in the context of binding a menu item. The docstring of this function
> and the citing text together can confuse a unfamiliar reader quite a
> bit.
>
> Perhaps the ultimate confusion point is the name of the function and the
> definition of key sequences and key strokes in the docstring, but these
> may be harder to change.
Thanks, installed on the emacs-30 branch, and closing the bug.
This bug report was last modified 137 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.