From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Felician Nemeth Newsgroups: gmane.emacs.bugs Subject: bug#58892: 29.0.50; [PATCH] eglot-manual: Open the local info documentation Date: Sun, 30 Oct 2022 10:05:25 +0100 Message-ID: <878rkxk7fu.fsf@betli.tmit.bme.hu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7340"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: 58892@debbugs.gnu.org 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 10:06: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 1op4HA-0001h4-Tx for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Oct 2022 10:06:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1op4Ge-0002ZT-Dm; Sun, 30 Oct 2022 05:06:08 -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 1op4Gc-0002Z7-GD for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 05:06:06 -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 1op4GY-0003LX-5j for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 05:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1op4GX-0005sC-Oa for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 05:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Felician Nemeth Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Oct 2022 09:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58892 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166712073322481 (code B ref -1); Sun, 30 Oct 2022 09:06:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Oct 2022 09:05:33 +0000 Original-Received: from localhost ([127.0.0.1]:37318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1op4G5-0005qX-65 for submit@debbugs.gnu.org; Sun, 30 Oct 2022 05:05:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:54682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1op4G2-0005qJ-7i for submit@debbugs.gnu.org; Sun, 30 Oct 2022 05:05:32 -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 1op4G2-0002Xk-2I for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 05:05:30 -0400 Original-Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1op4G0-0003Dh-Hs for bug-gnu-emacs@gnu.org; Sun, 30 Oct 2022 05:05:29 -0400 Original-Received: by mail-ej1-x630.google.com with SMTP id q9so22754129ejd.0 for ; Sun, 30 Oct 2022 02:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:face:user-agent:message-id:date:subject:to:from:from :to:cc:subject:date:message-id:reply-to; bh=epcENgLvmJZ+gc73p0o8ia+Umx0wukikoOzEsQ4ZIjM=; b=XVrmPcRZ9DkUjhbqYyymwos8Itk0zO2SvTdrZ4ISxbzfk7BA/N4MiucrjuPZusDW3J be60o3O8/k+vCzSk7lsRauR/pmcwE0MbNFKYCxd2JW9J7VgAUfK09+R9Xf/W0ImoYuWn i1ogx2nygi1tdrwY5aOSgthmNUxhVDEB99mnFuNdtecYiBWFeHxZzBQVWSe0aI9H3djh JWE6RHy5MXpCq4oNF+SwsDE5ZmO6d9fCvvmMnTeHzdFG9Cd9fPNKMb+lYRnvt4juDd2g eTJjDXdYt1RrcvN6jAyig/0vSgsG65OckbiAzYYhU4Xhyo3RpUmaWjfkJqb7GpgyRi4P hFeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:face:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=epcENgLvmJZ+gc73p0o8ia+Umx0wukikoOzEsQ4ZIjM=; b=JK4TN2DLJ0W2TbMcxyWYkPvCQZUj4w5DXF4b4wBjDgQbhYN8QqO+lIHJM7+ydksNPO 9hb/Wm/aX3PsFkxNugrZjP6Hn8/6aWa3pRtK8eViEPEy7ZvAzVDh2DwPrm1rmPH5d2BK j7cEslIL+GOhOYmNuy3yxbvsAPXPdLc4j4cRRMAvLBt6JndRi3YrGz7TH58X6r85UB/A Lv1AZ4H+awT5MCIVnznZCGp4iUVB05M2jOsc5nwi+qj1sevKiIb5zWADK789qEDTv0rE k39jnWK3Hak2k01zQbD77jluERLFOj11TbunePARsfj1+Npy0P3el+jCmicmgvnHnY9U xesA== X-Gm-Message-State: ACrzQf2pLqFkF2zduQKicAGcP69BVOcAluLoA6tBZpo+XjPG7Gz++06v vPLSjZO6KpVoAXdwgEyyi+Y+N17w+88= X-Google-Smtp-Source: AMsMyM6fiiw8GOb97AXJBMb7HdZJNDcYUPKniKzMUt9jMRYz10pBradu5r+6a98ogKf209O9hYYtxw== X-Received: by 2002:a17:907:6d19:b0:7ad:b5f1:8ffb with SMTP id sa25-20020a1709076d1900b007adb5f18ffbmr5281822ejc.187.1667120726504; Sun, 30 Oct 2022 02:05:26 -0700 (PDT) Original-Received: from betli.gmail.com (catv-86-101-66-128.catv.fixed.vodafone.hu. [86.101.66.128]) by smtp.gmail.com with ESMTPSA id t12-20020a17090616cc00b007ad84cf1346sm1629264ejd.110.2022.10.30.02.05.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Oct 2022 02:05:26 -0700 (PDT) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUMBwgHAgMFAAGPjY7/ //80MDHq6eqJt3pKAAABr0lEQVQ4jX2UzZKDIAzHqR177q7TPbtx2HMr6guQcrbY9txZ0fd/hA0f onXazcEJ/CD8E4Js8/HS9mwjXtqeMRxHXJkakTEm4b4GPVQW8PU8ov4fQCqeThlF60MBWdo1IXzd 2nEEZE7CEAZLwI0N/gJAhTj7ESQAX4gPgO8lyI+cvgViSVPlNomAj2M9gW40eg7VWY3cATjUcyiO Z+i03cFruGLYoUR7VyU3HihdmCEVhoDN65FXkpbSxkomOzsTQN/gySaodGb9Gdi1oSRXP46gdBWh LcUKJNdeGCWac74GKakmne0aHCFvyqJPYLsCFAVlhRTvGdzMdLHqtgRyUulyXIAH7CYQ3AB0Nody JQhAkq/qtOnbjhxdzYDkXPxlH5y4WdUAeUcX1NVJ6GR7UQEYPGWoAnA36OQNn5lRRp38vHTAp9Br LoTmvlPPDoRCKzpjG1SXT89AaT5l456BamJuMcs+NIOMzJ/s5dI6yUVcrARlruwOebfdv6gunTn4 ww3+QjGBEn5suVyLHoSGvAqREuDLN+iqZ+VcFg+HBbsJUU9+FZthbez9T+bdb+kPv2Ls6ct3hTkA AAAASUVORK5CYII= Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=felician.nemeth@gmail.com; helo=mail-ej1-x630.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: 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:246602 Archived-At: --=-=-= Content-Type: text/plain 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? Thanks. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-eglot-manual-Open-the-local-info-documentation.patch >From 2877c7ef6832b7f1bc3f3cfd46d8701dafa0af43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felici=C3=A1n=20N=C3=A9meth?= Date: Sun, 30 Oct 2022 09:51:46 +0100 Subject: [PATCH] eglot-manual: Open the local info documentation * lisp/progmodes/eglot.el (eglot-manual): Open the local info documentation instead of the on-line version. --- lisp/progmodes/eglot.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index c587061837..1d67f37e34 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1823,8 +1823,8 @@ eglot--mouse-call (call-interactively what) (force-mode-line-update t)))))) -(defun eglot-manual () "Open on-line documentation." - (interactive) (browse-url "https://github.com/joaotavora/eglot#readme")) +(defun eglot-manual () "Open documentation." + (interactive) (info "(eglot)")) (easy-menu-define eglot-menu nil "Eglot" `("Eglot" -- 2.30.2 --=-=-=--