GNU bug report logs -
#49265
28.0.50; repeat mode feature request
Previous Next
Reported by: Ergus <spacibba <at> aol.com>
Date: Mon, 28 Jun 2021 22:15:01 UTC
Severity: wishlist
Tags: fixed
Fixed in version 28.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #35 received at 49265 <at> debbugs.gnu.org (full text, mbox):
> >> Now a new command named 'describe-repeat' was pushed to master.
> >> Please try it. If everything is right, this request could be
> >> closed.
>
> Drew> Where was it added to master? I downloaded the latest
> Drew> help-fns.el, and I don't see it there. Could you perhaps
> Drew> post the code here? Could you perhaps say, here, just
> Drew> what it does? Thx.
>
> Itʼs in repeat.el (and it does what I described 30 seconds ago, but
> better :-) )
>
> Iʼm not sure what the use of showing the keymaps is though. Theyʼre an
> internal implementation detail, showing the potential bindings would
> be more useful.
>
> (defun describe-repeat ()
> "Describe repeatable commands and keymaps."
Again, that's wrong. "Repeatable keymaps" doesn't
mean anything (to me, anyway). If you mean describe
the keys bound to repeatable commands then say that.
> (interactive)
> (help-setup-xref (list #'describe-repeat)
> (called-interactively-p 'interactive))
> (let ((keymaps nil))
> (all-completions
> "" obarray (lambda (s)
> (and (commandp s)
> (get s 'repeat-map)
> (push s (alist-get
> (get s 'repeat-map)
> keymaps)))))
> (with-help-window (help-buffer)
> (with-current-buffer standard-output
> (princ "This is a list of repeatable keymaps and commands.\n\n")
Again, "repeatable keymaps" is a misnomer.
> (dolist (keymap (sort keymaps (lambda (a b) (string-lessp (car a)
> (car b)))))
> (princ (format-message "`%s' keymap is repeatable by these
> commands:\n"
How is a _keymap_ "repeatable"?
This bug report was last modified 3 years and 184 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.