all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Peder O. Klingenberg" <peder@klingenberg.no>
Cc: 42916@debbugs.gnu.org
Subject: bug#42916: 26.3; `view-lossage': include timestamp
Date: Sat, 22 Aug 2020 23:26:13 +0200	[thread overview]
Message-ID: <87a6ymgyoa.fsf@gnus.org> (raw)
In-Reply-To: <87ft8ikcjk.fsf@klingenberg.no> (Peder O. Klingenberg's message of "Wed, 19 Aug 2020 15:09:19 +0200")

"Peder O. Klingenberg" <peder@klingenberg.no> writes:

> On on., 2020-08-19 kl. 11.49 +0200 +0200, Lars Ingebrigtsen wrote:
>
>> This would mean querying (and storing) the time stamp of all keystrokes,
>> which seems excessive for such a marginal feature.
>
> An alternative could be to dump a dedicated timestamp event into the log
> every <mumble> minutes or so.  It wouldn't give you exact timings, but
> could tell you whether you're looking at something you typed last month
> or five minuts ago, and wouldn't require more work on every keystroke.

Hm, yes, that might be a good idea...

On the other hand, the last time I poked at the lossage data, it wasn't
a lot of fun: It's used by normal typing as well as the keyboard macro
binding stuff, so it's a bit of a prickly data structure.  If I remember
correctly; it's been at least a couple of years since I poked at it.

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





      reply	other threads:[~2020-08-22 21:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18 17:12 bug#42916: 26.3; `view-lossage': include timestamp Drew Adams
2020-08-19  9:49 ` Lars Ingebrigtsen
2020-08-19 12:59   ` Drew Adams
2020-08-19 13:09   ` Peder O. Klingenberg
2020-08-22 21:26     ` Lars Ingebrigtsen [this message]

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=87a6ymgyoa.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=42916@debbugs.gnu.org \
    --cc=peder@klingenberg.no \
    /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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.