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#58892: 29.0.50; [PATCH] eglot-manual: Open the local info documentation Date: Sun, 30 Oct 2022 16:02:13 +0200 Message-ID: <83bkptflzu.fsf@gnu.org> References: <878rkxk7fu.fsf@betli.tmit.bme.hu> <83r0ypfwcq.fsf@gnu.org> <87wn8higi0.fsf@betli.tmit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17167"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, monnier@iro.umontreal.ca, 58892@debbugs.gnu.org To: Felician Nemeth , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 30 15:03:41 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 1op8ub-0004FU-MU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Oct 2022 15:03:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1op8uI-0007ar-E3; Sun, 30 Oct 2022 10:03:22 -0400 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 1op8tz-0007Sb-1w for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 10:03:16 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1op8ty-0001Ff-H5 for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 10:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1op8ty-0003pf-1W for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 10:03: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: Sun, 30 Oct 2022 14:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58892 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58892-submit@debbugs.gnu.org id=B58892.166713856414703 (code B ref 58892); Sun, 30 Oct 2022 14:03:02 +0000 Original-Received: (at 58892) by debbugs.gnu.org; 30 Oct 2022 14:02:44 +0000 Original-Received: from localhost ([127.0.0.1]:38793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1op8tf-0003p5-GF for submit@debbugs.gnu.org; Sun, 30 Oct 2022 10:02:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1op8ta-0003op-FO for 58892@debbugs.gnu.org; Sun, 30 Oct 2022 10:02:41 -0400 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 1op8tU-0001CO-Uo; Sun, 30 Oct 2022 10:02:32 -0400 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=URiTYHb9/q/Z2HvMlXG3yMALJRrXfPL9nSvJNZ9mBUc=; b=b/9W3nwnVY20WrMUDPiB mGj/jowSZCX8QLPXuwS8IHAICu4SXyAWiUVUfOgx/cyeKF4tfKeBST1LqY22fdzcdQcZwAdblYKFS boFQGJCoFRewo5Ild76P43fJE2nnSK72L8SNOZt82geG6KcYMsCYcJ2mHubtJxJ1ahzLnK3euqFNL b3w+C9y7f9v2Oi3Sew+PrKkSgCjXS9N5pmVPgu3JksNCNcTUWP6firh+7fv8jtpqnHKDG4u5uQ+Qr sl2Uwc1gG1MbeyW002b97ueKsY8nBV3QTne2/vt0K3FcxzEPbN5Pva9UTdEaneCtwY2Pzuzy/99x2 lZq2zLUFEVJ7MA==; Original-Received: from [87.69.77.57] (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 1op8tU-0005ZN-IC; Sun, 30 Oct 2022 10:02:32 -0400 In-Reply-To: <87wn8higi0.fsf@betli.tmit.bme.hu> (message from Felician Nemeth on Sun, 30 Oct 2022 14:32:39 +0100) 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246624 Archived-At: > From: Felician Nemeth > Cc: 58892@debbugs.gnu.org, Lars Ingebrigtsen , Stefan > Monnier > Date: Sun, 30 Oct 2022 14:32:39 +0100 > > Eli Zaretskii writes: > > >> From: Felician Nemeth > >> Date: Sun, 30 Oct 2022 10:05:25 +0100 > >> > >> Eglot now has a beautiful documentation in info format. This patch > >> let the user open it from Eglot's menu. > >> > >> BTW, the menu is the mode-line and I think it cannot be accessed using > >> only the keyboard. Would it make sense to put this menu in the "Tools" > >> part of the menu-bar as well? > > > > I'm unsure about any of this. We don't do anything like that for any > > other mode, AFAIR. And Eglot's main features are already mentioned in > > short in the Emacs user manual. > > Currently, Eglot has a menu item that opens > https://github.com/joaotavora/eglot#readme. I think opening that URL > doesn't make sense anymore since eglot.texi is the primary source of the > documentation. Is it OK then to remove this menu item? Fine by me, but please wait for Joćo to chime in. > It seems I couldn't clearly articulate my other suggestion. When I > write this reply I can click on the mode-line to open message-mode-menu, > but this menu is also available from the menu bar. I'd tried to suggest > something similar to Eglot. It's okay to display a "Minor mode menu" from the mode-line's mode lighter, yes. We do that for other minor modes. But we should be careful not to make that menu too long. > (The last item in message-mode-menu is "Message manual", so there is > prior art to what the patch of this bug report tries to achieve.) I think that's an exception rather than a rule. Mode-specific menus rarely have an item for their manuals. And Eglot should need that less than others, since most of its features just provide backends for existing Emacs features.