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.devel Subject: Re: Treesit says grammar is unavailable when it Date: Sun, 17 Dec 2023 10:32:32 +0200 Message-ID: <83y1dtjkkf.fsf@gnu.org> References: <1b24fc47-f792-415c-ac59-fcf3a2f5eeb9@gmail.com> <83r0jqs46e.fsf@gnu.org> <83r0jpqjd9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34581"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gernotk@gmail.com, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 17 09:33:42 2023 Return-path: Envelope-to: ged-emacs-devel@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 1rEmak-0008nb-0u for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Dec 2023 09:33:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEmZt-0001tJ-BH; Sun, 17 Dec 2023 03:32:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEmZs-0001t8-8R for emacs-devel@gnu.org; Sun, 17 Dec 2023 03:32:48 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEmZr-0004Md-VZ; Sun, 17 Dec 2023 03:32:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=d4F86kdo3WU+QxupbXmip20oCHiOmJouCRPJCWFHmKk=; b=S+HGpdPT05WJpVk61zbN 99soxyuPjWetpI60GOQF0/bcK5WgxJmfzlwk9rQ9nhORGZRvaluyvtJlTD7Wz4o6A0b7jNmbye+jr it7oqpgZ7O1Lyehan3D4QtQhxvqFsPydlLD8kCqPMTC0hX5B0a8zKFAaFlZ1U7bjVNpwLwARP+Vl2 khl9OgUGRPcrAj4VBlEdfKC1I+jwO/x7DhZBirkbld8p4om3z/ANLutuX+QRoI3IKFM3F9aes5q1r oYbQ/08x2OS7jexAKuprwuldAd7QEnaGf6uosfCQgxJcgpsMkd38CcQaeI5XjvuKxgGjUEzBZFaXF s8e6iX6oU9dcpQ==; In-Reply-To: (message from Yuan Fu on Sat, 16 Dec 2023 22:31:02 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313908 Archived-At: > From: Yuan Fu > Date: Sat, 16 Dec 2023 22:31:02 -0800 > Cc: gernotk@gmail.com, > emacs-devel@gnu.org > > > On Dec 14, 2023, at 12:27 AM, Eli Zaretskii wrote: > > > >> We were showing error messages from dlopen, and then removed them for brevity, see e8df6c311fcf59bf23d31b9db2bb8fec9d78fbe7 > > > > If these messages are useful, we can revert that commit. > > I forgot to ask, should this be on emacs-29 or master? On master, I think. > >> Maybe we can fold the extra error messages by default? > > > > I'm not sure I understand the details, but the idea is certainly okay. > > Iā€™m thinking about applying text property to the extra messages so they appear as ā€œā€¦ā€, and is expanded when clicked (or hit enter), like what we have for printing large objects in the scratch buffer. Sounds like over-engineering to me. I don't think we do anything like that in any other case where we emit error messages?