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#55163: 29.0.50; master 4a1f69ebca (TICKS . HZ) for current-time broke lsp-mode Date: Sat, 30 Apr 2022 11:15:16 +0200 Message-ID: <87pmkz53vf.fsf@gnus.org> References: <87sfpxxyvb.fsf@3-191.divsi.unimi.it> <87zgk5jtm6.fsf@gnus.org> <87o80kj2q1.fsf@gnus.org> <878rroi5a8.fsf@gnus.org> <156b848f-0ba3-a2d8-a343-314e24d37934@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27992"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Vincenzo Pupillo , 55163@debbugs.gnu.org, Stefan Monnier To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 30 11:16: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 1nkjDA-00075Y-5n for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Apr 2022 11:16:20 +0200 Original-Received: from localhost ([::1]:33376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkjD8-0007W3-Ow for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Apr 2022 05:16:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkjCs-0007Vd-2R for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2022 05:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkjCr-0001ky-Q5 for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2022 05:16:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nkjCr-0002pg-MT for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2022 05:16:01 -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, 30 Apr 2022 09:16: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.165131013410847 (code B ref 55163); Sat, 30 Apr 2022 09:16:01 +0000 Original-Received: (at 55163) by debbugs.gnu.org; 30 Apr 2022 09:15:34 +0000 Original-Received: from localhost ([127.0.0.1]:55860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkjCP-0002ot-UI for submit@debbugs.gnu.org; Sat, 30 Apr 2022 05:15:34 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:46542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkjCN-0002of-4s for 55163@debbugs.gnu.org; Sat, 30 Apr 2022 05:15:32 -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=awjTPPtTYJt3RBcrA2YldqT+oU1vxfssxpOQrqkAGBM=; b=W67WULjwIi7203Tth7vSnVxYOc HzXtp2eR+e7WPEkiyQw4G3idiEBoF/O9KVtzM4XD6Q83fEyLggd63Mgzcr90OMO2MG4OrOuaJ2TqF 1HzOy3NXVnNz3lxlaQI0vVzi902YbRvjGLfWhWPsz1s9xC4TnFb/MVKjeoMRAq58NQb4=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nkjCA-0005wh-6t; Sat, 30 Apr 2022 11:15:20 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAKlBMVEWCrLqi3PCr6/yW zuWNvM53pMwWIXQjM4Q1S5FUcZhxlaY3Q1lRZWr///+A617ZAAAAAWJLR0QN9rRh9QAAAAd0SU1F B+YEHgkEMXPsKuIAAAGiSURBVDjLnZQ/T8JAGMYrm8jSDg7E5U6MhDiJEhUGgzpAmDB+AJcWvwDF 3cChi5CYADoILFJucHDhz4CEheM+lL2WlLu2JsqT5u3w63PP+14vJ23IXimyvCuloa/AbwCuAQLW 64aVvTxb/JoHQGN1/9YsUTXNgxKrUQYSap0HBQe4HJoDoE+GDeDfgP5vB4qbOnlgNa7woKgy2VWY o4fum82PAWq0EBLmmNGeVMv1KCWE8gCORtnRdHYwIMkVYFlgQi9IOoQpNh2HPHh8rZoZd9Wn6qjR 8e9KE7qCzavT4Tzewse495LnwWcod0naXzQzpmTKLzVckMhzrd8KYjoRBuxSPKFBgsPB1EwIRwgV SqhQQaiCBEe5qOvmo2m6VhRA4AgbWSztZt7DmF8KDun327yf7GNjnFtObnUN6HjaGoZSCxxc7Aig buBpd2szho3zMwGU1aK9K6stsYHZp6MOD0rQrSXQFC9Q1gO6FwRcjkhV8Qfbzq91gYQIWAawGo8V hONjnmRFti2yEA6tKwQyH1iFA/GKgdanJgDe24eBtuyvH1Kw/DAZoN4eAAAAJXRFWHRkYXRlOmNy ZWF0ZQAyMDIyLTA0LTMwVDA5OjA0OjQ5KzAwOjAwB5IYrwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAy Mi0wNC0zMFQwOTowNDo0OSswMDowMHbPoBMAAAAASUVORK5CYII= X-Now-Playing: New Order's _Movement: Remaster (1)_: "Chosen Time" In-Reply-To: <156b848f-0ba3-a2d8-a343-314e24d37934@cs.ucla.edu> (Paul Eggert's message of "Fri, 29 Apr 2022 18:44:54 -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:231000 Archived-At: Paul Eggert writes: > It sounds like the idea here is to use the prefix 'time' for > time-related functions. Although I prefixed 'time-' to names of the > time functions I added a few years ago (e.g., time-convert) I'm a bit > leery about using the very-generic name 'time' for a new > function. It's probably better to use a hyphenated name. Yes, `time' as a function name does sound a bit... dramatic. On the other hand, it looks kinda nice in things like (time-less-p thing (time)), etc. > For consistent naming, we could borrow names from GNU/Linux and POSIX, > which have CLOCK_REALTIME, CLOCK_MONOTONIC, > CLOCK_PROCESS_CPUTIME_ID. For example, we could have: > > * (clock-realtime) returns the system-wide clock. It acts like > (time-convert nil t), i.e., like (current-time) but returning (TICKS > . HZ) form. clock- as a prefix does make a lot of sense, but I think I'd interpret that as "realtime" as something having to do with scheduling, and "clock" perhaps as a localised time (i.e., "the wall clock in time zone foo"). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no