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: Sat, 30 Apr 2022 15:50:04 +0300 Message-ID: <83a6c291mr.fsf@gnu.org> References: <87sfpxxyvb.fsf@3-191.divsi.unimi.it> <4464915.LvFx2qVVIh@zarathustrawsp500> <83ee1e95jo.fsf@gnu.org> <3233184.5fSG56mABF@zarathustrawsp500> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25820"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, eggert@cs.ucla.edu, 55163@debbugs.gnu.org, monnier@iro.umontreal.ca To: Vincenzo Pupillo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 30 14:51:40 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 1nkmZY-0006ZH-KW for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Apr 2022 14:51:40 +0200 Original-Received: from localhost ([::1]:57158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkmZV-000333-BF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Apr 2022 08:51:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkmYw-00032L-Oq for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2022 08:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkmYw-0000C5-DW for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2022 08:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nkmYw-0004jM-Bh for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2022 08:51: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: Sat, 30 Apr 2022 12:51: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.165132301918134 (code B ref 55163); Sat, 30 Apr 2022 12:51:02 +0000 Original-Received: (at 55163) by debbugs.gnu.org; 30 Apr 2022 12:50:19 +0000 Original-Received: from localhost ([127.0.0.1]:56106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkmYF-0004iQ-0A for submit@debbugs.gnu.org; Sat, 30 Apr 2022 08:50:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkmYC-0004i9-Ji for 55163@debbugs.gnu.org; Sat, 30 Apr 2022 08:50:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkmXz-0008QE-UR; Sat, 30 Apr 2022 08:50:07 -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=yOxie8+tJ3cu0sOMGjtl1IRQn07X/C+Ukwuyi8hcqJY=; b=VepWmDPglY7z FOsWP3AYzDNm9tNzb2K5XUVZutrgZ7OpFiudL3IvBNTcnTFVP9vI0Hu1LLvFkxFzFNCYe6GVLt5A4 pN6ciC0dxfpqfUXwJfQMMDlPBuinma4LKOBUI/d5i5aUpLtSQV6BeuBO7LzkwE/fKIxoksMp6Z7HA VRQFfBAzlT+GD1FiV0QPc4vOHRwMUd5Jz1BDTqSFkXcowyBufVr8vSZM689r7hTInEIo1SywY1Cy6 PhYtB9ZVtFiRAqLKGPC5VhCbzj2P9mptbIU+D3hcm7xQhhF/y6HS56Mdj1uemYUXGpqwIQr5cyHSN 5qW8jIlqe2LX4DolY42rPA==; Original-Received: from [87.69.77.57] (port=2298 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 1nkmXw-0005Tj-He; Sat, 30 Apr 2022 08:50:01 -0400 In-Reply-To: <3233184.5fSG56mABF@zarathustrawsp500> (message from Vincenzo Pupillo on Sat, 30 Apr 2022 14:32:17 +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:231028 Archived-At: > From: Vincenzo Pupillo > Cc: eggert@cs.ucla.edu, larsi@gnus.org, 55163@debbugs.gnu.org, monnier@iro.umontreal.ca > Date: Sat, 30 Apr 2022 14:32:17 +0200 > > > > Many packages on melpa/elpa have a custom log function. I'm not familiar > > > with the Emacs API, is there a standard way to log events? > > > I think a simple log function would be useful for many packages. > > > > Do you mean logging to the system log? > > > > If not, then generating a log doesn't require any new primitives, I > > think, you could just use write-region or something? > > > > Or am I misunderstanding the feature you have in mind? > > I mean something that can generate a properly formatted log message, in a > "standard" way (with log levels, ERROR, WARNING, INFO etc, if possible), for > both use cases if possible. Something like log4j, but not as monstrous as > log4j. Sure, why not?