Gnus development mailing list
 help / color / mirror / Atom feed
* Detecting continous typing of a key
@ 2002-01-05 11:21 Vincent Bernat
  2002-01-05 16:09 ` Lars Magne Ingebrigtsen
  2002-01-06  0:45 ` cyberbob
  0 siblings, 2 replies; 5+ messages in thread
From: Vincent Bernat @ 2002-01-05 11:21 UTC (permalink / raw)


Hello !

I have a very responsive keyboard and I leave my finger on "N" in
summary mode. However, I have another finger on "J" or on "K" and
sometimes, they press "J" or "K". In case of "J", it is not very
dangerous but if the other finger is continously pressing the "K" key,
I kill several thread in several groups.

Is there some way to avoid to respond to this ? Something which will
request one second between two "K" press ?
-- 
 J'a
 -+- PM in GGE - Je vous ai tous grillés sur cette réponse -+-



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

* Re: Detecting continous typing of a key
  2002-01-05 11:21 Detecting continous typing of a key Vincent Bernat
@ 2002-01-05 16:09 ` Lars Magne Ingebrigtsen
  2002-01-05 17:04   ` Vincent Bernat
  2002-01-06  0:45 ` cyberbob
  1 sibling, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-01-05 16:09 UTC (permalink / raw)


Vincent Bernat <bernat@scientist.com> writes:

> Is there some way to avoid to respond to this ? Something which will
> request one second between two "K" press ?

You could bind `K' to a command that calls `(sleep-for 1)' after doing
what `K' normally does.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



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

* Re: Detecting continous typing of a key
  2002-01-05 16:09 ` Lars Magne Ingebrigtsen
@ 2002-01-05 17:04   ` Vincent Bernat
  2002-01-05 17:25     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Vincent Bernat @ 2002-01-05 17:04 UTC (permalink / raw)


OoO Lors de la soirée naissante du samedi 05 janvier 2002, vers 17:09,
Lars Magne Ingebrigtsen <larsi@gnus.org> disait:

> You could bind `K' to a command that calls `(sleep-for 1)' after doing
> what `K' normally does.

I will try but I think the problem is that the "K" is remembered. And
I may want to press another key without waiting ! :) Is it possible to
use a timer ?



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

* Re: Detecting continous typing of a key
  2002-01-05 17:04   ` Vincent Bernat
@ 2002-01-05 17:25     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-01-05 17:25 UTC (permalink / raw)


Vincent Bernat <bernat@scientist.com> writes:

> I will try but I think the problem is that the "K" is remembered. And
> I may want to press another key without waiting ! :) Is it possible to
> use a timer ?

Sure.  `(current-time)' will return the current time, and you can use
`time-to-seconds' to convert the internal Emacs time to a simple
number.  Then store, subtract and compare.  Bind to `K'.  Sprinkle
with parsley and serve chilled.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



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

* Re: Detecting continous typing of a key
  2002-01-05 11:21 Detecting continous typing of a key Vincent Bernat
  2002-01-05 16:09 ` Lars Magne Ingebrigtsen
@ 2002-01-06  0:45 ` cyberbob
  1 sibling, 0 replies; 5+ messages in thread
From: cyberbob @ 2002-01-06  0:45 UTC (permalink / raw)


>>>>> Vincent Bernat <bernat@scientist.com> wrote:

[...]

> Is there some way to avoid to respond to this ? Something which will
> request one second between two "K" press ?

You should try (disable-command 'foo), for example I use
(disable-command 'message-send-and-exit) because sometimes I press C-c
C-c accidentally...  With this I have to press space to really send the
message.

So put (disable-command 'gnus-summary-kill-same-subject-and-select) into
your dotemacs and give it a try. :)

-- 
cyberbob



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

end of thread, other threads:[~2002-01-06  0:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-05 11:21 Detecting continous typing of a key Vincent Bernat
2002-01-05 16:09 ` Lars Magne Ingebrigtsen
2002-01-05 17:04   ` Vincent Bernat
2002-01-05 17:25     ` Lars Magne Ingebrigtsen
2002-01-06  0:45 ` cyberbob

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 NNTP newsgroup(s).