unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5264: 23.1; `repeat' should not hard-code the set of affected commands
@ 2009-12-24 15:30 Drew Adams
  2014-02-10  3:28 ` Lars Ingebrigtsen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Drew Adams @ 2009-12-24 15:30 UTC (permalink / raw)
  To: bug-gnu-emacs

emacs -Q
 
In the definition of command `repeat':
 
(if (memq last-repeatable-command
    '(exit-minibuffer
      minibuffer-complete-and-exit
      self-insert-and-exit))
 
This list of affected commands should not be hard-coded.  If user code
uses different functions from `exit-minibuffer' and
`minibuffer-complete-and-exit', then users must redefine `repeat' to
accommodate this command difference.  The `repeat' definition should
be more flexible than that.
 
This list of commands should be treated the same way we treat the list
of dangerous commands (`repeat-too-dangerous'): define a variable
whose value is the list of commands - do not hard-code the list.
 
 
 
In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
 








^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-07-18 19:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-24 15:30 bug#5264: 23.1; `repeat' should not hard-code the set of affected commands Drew Adams
2014-02-10  3:28 ` Lars Ingebrigtsen
2016-04-27 21:17 ` Lars Ingebrigtsen
2021-07-18 14:39 ` Lars Ingebrigtsen
2021-07-18 15:40   ` bug#5264: [External] : " Drew Adams
2021-07-18 19:03     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).