GNU bug report logs - #46515
Repeat mode

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Sun, 14 Feb 2021 18:54:02 UTC

Severity: normal

Tags: fixed, patch

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 #20 received at 46515 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Matt Armstrong <matt <at> rfc20.org>
Cc: 46515 <at> debbugs.gnu.org
Subject: Re: bug#46515: Repeat mode
Date: Wed, 17 Feb 2021 20:05:30 +0200
tags 46515 fixed
close 46515 28.0.50
quit

> Perhaps discuss this idea on emacs-devel?

Actually, this have been already discussed recently at great length in
https://lists.gnu.org/archive/html/emacs-devel/2021-01/msg01120.html

And no objections were raised against adding this feature
as long as it's opt-in.  So now it's pushed to master.

> Thinking long term, I think it would be interesting to consider a future
> where all of the various third party "modal" packages (evil, hydra,
> etc.) could use higher level facilities provided by the Emacs core.
> This patch is a step in that direction.  I'm interested to see how it
> progresses.

It would be interesting to try using this feature in external packages.

> Another interesting question: how do we surface how to use these
> transient modes in Emacs help, if at all?

I wonder why the Help system currently doesn't show symbol properties?
Maybe because there are too many properties, and most of them are
uninteresting to most users?  I tried:

  (require 'data-debug)
  (data-debug-eval-expression ''(other-window))

and it shows:

 > #'other-window
   > repeat-map : 'other-window-repeat-map
   > event-symbol-element-mask : #<list o' stuff: 2 entries>
   > event-symbol-elements : #<list o' stuff: 1 entries>
   > modifier-cache : #<list o' stuff: 1 entries>

where the relevant property is only `repeat-map', whereas the remaining 3
are some low-level properties.

Maybe the Help could show the values only of such properties
that have a special property on it?  For example, when the symbol
`repeat-map' has a property `show-help', then show its value in Help?




This bug report was last modified 4 years and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.