From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Add cl-defgeneric project-name; first use case eglot Date: Mon, 21 Nov 2022 21:29:05 +0000 Message-ID: <87k03o9eu6.fsf@gmail.com> References: <86zgcll1le.fsf@stephe-leake.org> <83a64k4fru.fsf@gnu.org> <87sfica02a.fsf@gmail.com> <83pmdg2xyi.fsf@gnu.org> Mime-Version: 1.0 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="19738"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: stephen_leake@stephe-leake.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 21 22:28:42 2022 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 1oxELJ-0004vv-UE for ged-emacs-devel@m.gmane-mx.org; Mon, 21 Nov 2022 22:28:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxEKe-0006fj-61; Mon, 21 Nov 2022 16:28:00 -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 1oxEKY-0006c2-RS for emacs-devel@gnu.org; Mon, 21 Nov 2022 16:27:55 -0500 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxEKX-0000Ic-6f; Mon, 21 Nov 2022 16:27:54 -0500 Original-Received: by mail-wr1-x42d.google.com with SMTP id z4so7179214wrr.3; Mon, 21 Nov 2022 13:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FK/L+2a5hNFMfNrpfv920lhJqUWGWl/RB0/Up5yGbWo=; b=TfwmyvbA5DY49hAA+rl4hyOQJZgZ/BBGsOyjkLIUw6a2PISes4wx6GqiLcGQpHZJeg r6qkmgWW1wv5el+NI1vyDRPKokKY/RUT9WodiORAHrDeaZiBrm3BU4ep038HgYGmYCxK OLxvQUliCld2xAPQPnyUSpRwfxx3TYc2TzXHJSrscRcixYCIgQeZhfnC08jg1eFdaVWS 7+bcAFmiJpmSgkdWLLNWs7nRIa6aJAX2NVghxDkPFMGyggAa56JXNzEhnTOSTnb6RcR1 m4iO+FSNLRHW4CzzEXxzxqQNll/ptdR00pkOEKpzJ0gYL2WO0ePXowyX/YwKFjiObFOj Ia4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=FK/L+2a5hNFMfNrpfv920lhJqUWGWl/RB0/Up5yGbWo=; b=qeuF9zsTiurjH3K5iquhSiBrJnmMRKlJta6TOnkfOF48AE4C0jyCh9albq7OgfEf+d XNSDBm1F5Kwy8Ax4j9y42kLJWPJMrFyuFCQ4KK2ckGjBnMHK8nx002cXgBYZXKsdtrGo a5JXuBQayEN3j85FXJqoadaMlx3cMAP7Foeeygg450bdGbT+JD5v7djLq6PIajyui2tW 4qBrzfsCRQHP2YKiVC1K8deTEWGY0M8euY07xorGU+8R1gvsCSwqDm6q+koOK4DvgnJ6 4cfhuH2DatWGcbg3GCMBFaVdpeZpPZch1liHW3bewtYNoXhzMBpMHIROxHlZx2SPQOTy znMA== X-Gm-Message-State: ANoB5plgJHqj4uGNdWAEeUoICLkkT1+/ia+BfZMHqEqS2YMBAjdsDyfN bhBzt44I6o/OYHgJllKcqopKTeQHtc4= X-Google-Smtp-Source: AA0mqf7G4v1xt9ZpPw9kegEix4cBo+fV6glpNjBRRi0gWUpzpzrVxv1Yup0XKX12E53uDZNJt/bjCg== X-Received: by 2002:adf:cd82:0:b0:238:b29e:4919 with SMTP id q2-20020adfcd82000000b00238b29e4919mr12335539wrj.583.1669066070619; Mon, 21 Nov 2022 13:27:50 -0800 (PST) Original-Received: from krug (87-196-81-26.net.novis.pt. [87.196.81.26]) by smtp.gmail.com with ESMTPSA id w12-20020a05600c474c00b003b435c41103sm23716195wmo.0.2022.11.21.13.27.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 13:27:49 -0800 (PST) In-Reply-To: <83pmdg2xyi.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 21 Nov 2022 16:17:57 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=joaotavora@gmail.com; helo=mail-wr1-x42d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:300311 Archived-At: Eli Zaretskii writes: >> From: Jo=C3=A3o T=C3=A1vora >> Cc: Stephen Leake , emacs-devel@gnu.org >> Date: Mon, 21 Nov 2022 13:50:37 +0000 > Why are you thinking only about changes related to how the project's name= is > spelled out? Well, that was the subject of this thread. Also this is not true, I just wrote: >> Or a more sophisticated >> eglot-mode-line-format in the style of e.g. flymake-mode-line-format so >> that multiple other things can be shown or hidden. ^^^^^^^^^^^^^^^^^^^^^ In other words: I support your idea to let Eglot's mode line be freely customized by introducing a user-visible eglot-mode-line-format varible. I'm simply stating that amongst the multiple elements possible in that list, the element which puts in the project's "human-readable" name can only logically get that information from project.el's API, which is currently lacking in this regard. Plugging that hole was Stephen's suggestion, which I support. Jo=C3=A3o