unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9476: 24.0.50; `self-insert-command': Wrong type argument: wholenump
@ 2011-09-11 16:41 Drew Adams
  2011-09-15 18:50 ` Juri Linkov
  2014-02-09  6:34 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 3+ messages in thread
From: Drew Adams @ 2011-09-11 16:41 UTC (permalink / raw)
  To: 9476

Please provide a more user-friendly error message for this:
 
emacs -Q
C-- 6 a
 
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-09-05 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt'
 






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

* bug#9476: 24.0.50; `self-insert-command': Wrong type argument: wholenump
  2011-09-11 16:41 bug#9476: 24.0.50; `self-insert-command': Wrong type argument: wholenump Drew Adams
@ 2011-09-15 18:50 ` Juri Linkov
  2014-02-09  6:34 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Juri Linkov @ 2011-09-15 18:50 UTC (permalink / raw)
  To: Drew Adams; +Cc: 9476

> Please provide a more user-friendly error message for this:
>
> emacs -Q
> C-- 6 a

I think it should delete (untype) six previous occurrences of a :-)





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

* bug#9476: 24.0.50; `self-insert-command': Wrong type argument: wholenump
  2011-09-11 16:41 bug#9476: 24.0.50; `self-insert-command': Wrong type argument: wholenump Drew Adams
  2011-09-15 18:50 ` Juri Linkov
@ 2014-02-09  6:34 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-09  6:34 UTC (permalink / raw)
  To: Drew Adams; +Cc: 9476

"Drew Adams" <drew.adams@oracle.com> writes:

> Please provide a more user-friendly error message for this:
>
> emacs -Q
> C-- 6 a

Fixed on trunk.  But I'm not really sure it's the right thing to do,
come to think of it.  Lots of functions take a repetition argument, and
I'm not sure we really want to litter them all with hand-written error
messages.  On the other hand, `self-insert-command' is kinda special,
so...

Feel free to revert my patch if it's not quite what we want.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





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

end of thread, other threads:[~2014-02-09  6:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-11 16:41 bug#9476: 24.0.50; `self-insert-command': Wrong type argument: wholenump Drew Adams
2011-09-15 18:50 ` Juri Linkov
2014-02-09  6:34 ` Lars Ingebrigtsen

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).