From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55163: 29.0.50; master 4a1f69ebca (TICKS . HZ) for current-time broke lsp-mode Date: Mon, 02 May 2022 20:58:10 +0300 Message-ID: <83wnf34y19.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3338"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, v.pupillo@gmail.com, 55163@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 02 19:59:12 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 1nlaKF-0000iQ-GW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 May 2022 19:59:11 +0200 Original-Received: from localhost ([::1]:41778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlaKE-0008Rh-0M for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 May 2022 13:59:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlaK6-0008RF-Mv for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 13:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44029) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlaK6-0005iA-Ep for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 13:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlaK6-0002QY-E6 for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 13:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 May 2022 17:59:02 +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.16515142899250 (code B ref 55163); Mon, 02 May 2022 17:59:02 +0000 Original-Received: (at 55163) by debbugs.gnu.org; 2 May 2022 17:58:09 +0000 Original-Received: from localhost ([127.0.0.1]:37926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlaJE-0002P8-Tb for submit@debbugs.gnu.org; Mon, 02 May 2022 13:58:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlaJD-0002Oj-3d for 55163@debbugs.gnu.org; Mon, 02 May 2022 13:58:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlaJ6-0005dB-T0; Mon, 02 May 2022 13:58:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ohVsYw+oddXqL5SqIPR4RKSyp2GdhstRtw67dbGVA8U=; b=lVhE+5ixyU57 tdUrCxUXKmRVPF2k3h3fKneut59K+ljd++JW6+5u9IBmMPi/sVOXZ1OdVomnjP8xteY/IlrmTNHuk hEowM8XUI9yfOIAHWrz9iS/IjLiQK/RHNcPGsPenfBc+HcZbN8shV1uZo20E5dn8evXyYNSV6d24L znNCZ75ZvhA111xH8MmtAkbn1H7ALOqSovcfJr62TWphSn00Jk31elM4I0o75Ow7rnXOxjtS2lRA9 Mu6Hu7awGKAbkiKGb0hsVwFmq5ya3bt/H/HlAFOV6mRA+dQ07/n7AdqBAxUawT4F4uTXsBYY+UM2e lFFHclR3iS5whQar6+UyLg==; Original-Received: from [87.69.77.57] (port=1183 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlaJ6-0007PT-9c; Mon, 02 May 2022 13:58:00 -0400 In-Reply-To: (message from Paul Eggert on Mon, 2 May 2022 10:27:14 -0700) 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:231277 Archived-At: > Date: Mon, 2 May 2022 10:27:14 -0700 > Cc: 55163@debbugs.gnu.org, v.pupillo@gmail.com, larsi@gnus.org > From: Paul Eggert > > > What's the difference, for the purpose of this discussion, between > > having the code in C and having it in internal Lisp functions? > > 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, as opposed to providing more high-level public APIs that serve specific important use cases of using those attributes, without exposing those 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.