From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#42916: 26.3; `view-lossage': include timestamp Date: Sat, 22 Aug 2020 23:26:13 +0200 Message-ID: <87a6ymgyoa.fsf@gnus.org> References: <9b7f542a-81a1-47cb-a2d2-1bac5b4b55df@default> <878seb9d9e.fsf@gnus.org> <87ft8ikcjk.fsf@klingenberg.no> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18637"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 42916@debbugs.gnu.org To: "Peder O. Klingenberg" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 22 23:27:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9b2b-0004l2-P8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Aug 2020 23:27:09 +0200 Original-Received: from localhost ([::1]:42918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9b2a-0004ZH-Rf for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Aug 2020 17:27:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9b2U-0004Yw-Iq for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2020 17:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9b2U-0003cL-8z for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2020 17:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k9b2U-0000aR-5u for bug-gnu-emacs@gnu.org; Sat, 22 Aug 2020 17:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Aug 2020 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42916 X-GNU-PR-Package: emacs Original-Received: via spool by 42916-submit@debbugs.gnu.org id=B42916.15981315852212 (code B ref 42916); Sat, 22 Aug 2020 21:27:02 +0000 Original-Received: (at 42916) by debbugs.gnu.org; 22 Aug 2020 21:26:25 +0000 Original-Received: from localhost ([127.0.0.1]:51625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9b1s-0000Zc-R7 for submit@debbugs.gnu.org; Sat, 22 Aug 2020 17:26:25 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:39836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9b1r-0000ZP-HP for 42916@debbugs.gnu.org; Sat, 22 Aug 2020 17:26:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=LIvzOLjS+2Vac93GVvUqv9zKyeK21XKS2+bfPdSQC8E=; b=dAJjVvWhJiXpF9Hi9px047Nf8w oFN6suD2UsGgJdO/jRTqxFOaLbSadwX0B9Hr9SrxD9wJlzjaLURiGOC1xlzN/LbTyI5Fun1YGX5OK fK0T3B0Dkqx0XSF/JGsUcdvA7cIpsKRp5H8sa3BK0Mw+kejRj3fIx962d810e2juN//Q=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k9b1i-00085J-O4; Sat, 22 Aug 2020 23:26:17 +0200 X-Now-Playing: Tangerine Dream's _Zeit (1)_: "Origin of Supernatural Probabilities" In-Reply-To: <87ft8ikcjk.fsf@klingenberg.no> (Peder O. Klingenberg's message of "Wed, 19 Aug 2020 15:09:19 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:186004 Archived-At: "Peder O. Klingenberg" 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 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