From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Detecting continous typing of a key
Date: Sat, 05 Jan 2002 18:25:16 +0100 [thread overview]
Message-ID: <m3itagaewz.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <m31yh4ybjh.fsf@neo.loria>
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
next prev parent reply other threads:[~2002-01-05 17:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-05 11:21 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 [this message]
2002-01-06 0:45 ` cyberbob
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3itagaewz.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).