From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Treesit says grammar is unavailable when it Date: Tue, 26 Dec 2023 22:41:23 -0800 Message-ID: References: <1b24fc47-f792-415c-ac59-fcf3a2f5eeb9@gmail.com> <83r0jqs46e.fsf@gnu.org> <83r0jpqjd9.fsf@gnu.org> <83y1dtjkkf.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22897"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gernotk@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 27 07:42:31 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 1rINcd-0005jE-3h for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Dec 2023 07:42:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rINbs-0004e0-63; Wed, 27 Dec 2023 01:41:44 -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 1rINbm-0004dh-IN for emacs-devel@gnu.org; Wed, 27 Dec 2023 01:41:38 -0500 Original-Received: from mail-oo1-xc2f.google.com ([2607:f8b0:4864:20::c2f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rINbk-0005F6-LA; Wed, 27 Dec 2023 01:41:38 -0500 Original-Received: by mail-oo1-xc2f.google.com with SMTP id 006d021491bc7-594dbff4823so46691eaf.3; Tue, 26 Dec 2023 22:41:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703659295; x=1704264095; darn=gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pZIpr2B+SfWP2CqBhHP08JjAwPHXDpHA6emoavYEKLY=; b=VWl8cKhiSPhSYNqloqUioY8tIEIypoHjsrm407UaOAK+t+12ccahYXjcbf6jpl4iRf qSbTZ0TpziN4dbfNqgMY+LxtbnBuFepKmselgpSzE/P75u/G97S1KddtMT3o5bEmmGAA ojsWoASNtGuSiJyh+eWW0zt2KB0tqScRAU5JLRHneVLab2Z2umbRQ/ervHX0rjG0fVj6 gRw4XOZgHS9V65quYqnBZRIxZ6vWQR01VHFcv45FAwPHCs8RclqATiPAwe8pFi5zu1lB aC63ZRomYdev+LurM4TCJj9hdN0eOMoHoZtkQyui0O11BBz94VKOsQFhW+aRyNWBVfV5 tJrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703659295; x=1704264095; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pZIpr2B+SfWP2CqBhHP08JjAwPHXDpHA6emoavYEKLY=; b=gguznOVAr6RP/9yf08QXckejhOdhIuOsHtkDqheSQkvpixzljkeHhh4k0uWpptMeZT 7roHeLHgSC4jSWyB0AUpfrJ8RmgSLcEOlGgWyLg038QaP3pSIDJiZRfR2AlvhOvXGPlv G8x+ANIUxzHcaga5GExTqe1b8SL4cE9pqvphWBxjwWomylV9843ZfNXCQuuoGvzaXeS+ TS04DWkJLFMiVV5vlfFr2g597dvDAxGtWFLP+C6HW98pCxyHPCJhdrbRrzptBBsl6oLY 0wO4i4eyGEtgMPKcT8ZozgojNp/n/MirLVHcgLn5pTd1BLBWDdlV78XvpZICbqqu8yvQ L8lw== X-Gm-Message-State: AOJu0YzZYKTJttsbisscP/UQFDRjHHM1Y7Pv5hYb8SsciNmc3TwTq9pj cAV/1JCcQKn6oonWdlhB3aijIx/AjE4= X-Google-Smtp-Source: AGHT+IEMy44HO13uqUyAVSsgPG19w7kt0CwP8EcRUD4gKGlyRQDhx8c1E0zJtEpMMG2Kle1TaHBpMQ== X-Received: by 2002:a05:6358:784:b0:174:e3e2:4150 with SMTP id n4-20020a056358078400b00174e3e24150mr7627357rwj.0.1703659294772; Tue, 26 Dec 2023 22:41:34 -0800 (PST) Original-Received: from smtpclient.apple (172-117-161-177.res.spectrum.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id t15-20020a170902e84f00b001d078445069sm11191926plg.230.2023.12.26.22.41.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Dec 2023 22:41:34 -0800 (PST) In-Reply-To: <83y1dtjkkf.fsf@gnu.org> X-Mailer: Apple Mail (2.3731.700.6) Received-SPF: pass client-ip=2607:f8b0:4864:20::c2f; envelope-from=casouri@gmail.com; helo=mail-oo1-xc2f.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:314236 Archived-At: > On Dec 17, 2023, at 12:32 AM, Eli Zaretskii wrote: >=20 >> From: Yuan Fu >> Date: Sat, 16 Dec 2023 22:31:02 -0800 >> Cc: gernotk@gmail.com, >> emacs-devel@gnu.org >>=20 >>> On Dec 14, 2023, at 12:27 AM, Eli Zaretskii wrote: >>>=20 >>>> We were showing error messages from dlopen, and then removed them = for brevity, see e8df6c311fcf59bf23d31b9db2bb8fec9d78fbe7 >>>=20 >>> If these messages are useful, we can revert that commit. >>=20 >> I forgot to ask, should this be on emacs-29 or master? >=20 > On master, I think. >=20 >>>> Maybe we can fold the extra error messages by default? >>>=20 >>> I'm not sure I understand the details, but the idea is certainly = okay. >>=20 >> I=E2=80=99m thinking about applying text property to the extra = messages so they appear as =E2=80=9C=E2=80=A6=E2=80=9D, and is expanded = when clicked (or hit enter), like what we have for printing large = objects in the scratch buffer. >=20 > Sounds like over-engineering to me. I don't think we do anything like > that in any other case where we emit error messages? Yeah, I might be overthinking this. Reverted on master. Yuan=