From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#55163: 29.0.50; master 4a1f69ebca (TICKS . HZ) for current-time broke lsp-mode Date: Mon, 2 May 2022 16:17:38 -0700 Organization: UCLA Computer Science Department Message-ID: <03ad7708-7e43-245a-1198-ce35e335e84f@cs.ucla.edu> References: <87sfpxxyvb.fsf@3-191.divsi.unimi.it> <87zgk5jtm6.fsf@gnus.org> <87o80kj2q1.fsf@gnus.org> <878rroi5a8.fsf@gnus.org> <83y1zo9n3o.fsf@gnu.org> <87y1zof944.fsf@gnus.org> <83wnf89mcj.fsf@gnu.org> <0a39a220-6298-8ed4-87bd-414702cd9b57@cs.ucla.edu> <83ee1facp0.fsf@gnu.org> <87tuab543p.fsf@gnus.org> <83pmky99hm.fsf@gnu.org> <56e6d32c-7583-dbd9-85ee-e43d32a6feb1@cs.ucla.edu> <83mtg17qxs.fsf@gnu.org> <3bcf4527-426a-b3ae-317a-a9a0e521fc6a@cs.ucla.edu> <83pmkx5kfn.fsf@gnu.org> <83ilqp5hlv.fsf@gnu.org> <83wnf34y19.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21106"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Cc: larsi@gnus.org, v.pupillo@gmail.com, 55163@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 03 01:18:20 2022 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 1nlfJ6-0005Na-JT for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 May 2022 01:18:20 +0200 Original-Received: from localhost ([::1]:46530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlfJ5-00085U-AL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 May 2022 19:18:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlfIo-00085F-KD for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 19:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44390) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlfIo-0007db-83 for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 19:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlfIn-00036x-Sh for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 19:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 May 2022 23:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55163 X-GNU-PR-Package: emacs Original-Received: via spool by 55163-submit@debbugs.gnu.org id=B55163.165153347011942 (code B ref 55163); Mon, 02 May 2022 23:18:01 +0000 Original-Received: (at 55163) by debbugs.gnu.org; 2 May 2022 23:17:50 +0000 Original-Received: from localhost ([127.0.0.1]:38287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlfIc-00036Y-F3 for submit@debbugs.gnu.org; Mon, 02 May 2022 19:17:50 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:34298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlfIa-00036K-Ee for 55163@debbugs.gnu.org; Mon, 02 May 2022 19:17:48 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id EFF3B1600F4; Mon, 2 May 2022 16:17:42 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id CENG-uoVGovm; Mon, 2 May 2022 16:17:42 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2D87F1600FC; Mon, 2 May 2022 16:17:42 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FqOymbZG9xaN; Mon, 2 May 2022 16:17:42 -0700 (PDT) Original-Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 0B8341600F4; Mon, 2 May 2022 16:17:42 -0700 (PDT) Content-Language: en-US In-Reply-To: <83wnf34y19.fsf@gnu.org> 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:231285 Archived-At: On 5/2/22 10:58, Eli Zaretskii wrote: >> The internal Lisp function would need an efficient way to get a file's >> timestamp. It can't do that if there's no C primitive to do it. > And this is relevant to this discussion because...? > > The discussion, to remind you, was whether we should provide_public_ > APIs to obtain individual attributes If the concern is the public nature of the API then yes, we could provide a private function file--attributes that would act like file-attributes but be able to obtain individual attributes. >>> What we have established is that Emacs apps need to be able to measure >>> time intervals, not that they need a monotonic clock. Functions for >>> measuring time intervals can be built on functions that return >>> monotonic clock time, but they can also be built on other bases that >>> have very little with actual time stamps. >> What other bases would these be? Monotonic clocks are relatively >> portable; other methods that come to mind are not. > As long as such a method exists on a platform, that platform can make > do without high-resolution wallclock time. Sorry, I'm still lost. What methods would these be? Are they methods that one can already use in portable Elisp code?