From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Fleischer Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Package Installation in Tutorial Date: Sun, 05 Dec 2021 17:33:04 +0200 Message-ID: References: <864k7ro07p.fsf@mail.linkov.net> <87pmqdvd1h.fsf@gnus.org> <83lf105o58.fsf@gnu.org> <838rwz4aj0.fsf@gnu.org> 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="20438"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) To: emacs-devel@gnu.org Cancel-Lock: sha1:GxTAdolS1vIuFkE+FoXXxpShJ/c= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 05 16:33:59 2021 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 1mttWY-00058F-N6 for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Dec 2021 16:33:58 +0100 Original-Received: from localhost ([::1]:53718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mttWX-0000OK-5G for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Dec 2021 10:33:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mttVq-00089Q-Nh for emacs-devel@gnu.org; Sun, 05 Dec 2021 10:33:14 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:55740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mttVo-0006hE-TV for emacs-devel@gnu.org; Sun, 05 Dec 2021 10:33:14 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mttVm-0004IZ-O8 for emacs-devel@gnu.org; Sun, 05 Dec 2021 16:33:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" Xref: news.gmane.io gmane.emacs.devel:281005 Archived-At: --=-=-= Content-Type: text/plain Stefan Kangas [2021-12-05 Sun 12:44] wrote: > How about just > > "Explore, install and remove Emacs packages (requires Internet connection)" Sure, see attached. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Exposing-package-management-to-users.patch Content-Description: Patch parenthesis >From 7c3167ebf2cabfd7423e97427c8c80c54169e422 Mon Sep 17 00:00:00 2001 From: Daniel Fleischer Date: Wed, 1 Dec 2021 19:15:27 +0200 Subject: [PATCH] Exposing package management to users * etc/tutorials/TUTORIAL: section about package installation * lisp/startup.el (fancy-startup-tail): package-list button --- etc/tutorials/TUTORIAL | 14 ++++++++++++++ lisp/startup.el | 10 +++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/etc/tutorials/TUTORIAL b/etc/tutorials/TUTORIAL index dcdb61f23e..a1b03a711b 100644 --- a/etc/tutorials/TUTORIAL +++ b/etc/tutorials/TUTORIAL @@ -1099,6 +1099,20 @@ manual in the node called "Dired". The manual also describes many other Emacs features. +* INSTALLING PACKAGES +--------------------- + +Emacs has a rich set of packages written by the community, which +extends Emacs' capabilities. These features include support for new +languages, additional themes, plugins for integrating with external +applications and much much more. + +To see a list of all available packages, type M-x list-packages. In +this mode, you can install or uninstall packages, as well as read +packages' descriptions. For more information about package +management, consult the maunal. + + * CONCLUSION ------------ diff --git a/lisp/startup.el b/lisp/startup.el index d4bb338fc0..6ed5d5b0f4 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1835,18 +1835,22 @@ fancy-startup-tail (unless concise (fancy-splash-insert :face 'variable-pitch - "\nTo start... " + "\nTo start...\t" :link `("Open a File" ,(lambda (_button) (call-interactively 'find-file)) "Specify a new file's name, to edit the file") - " " + "\t\t" :link `("Open Home Directory" ,(lambda (_button) (dired "~")) "Open your home directory, to operate on its files") - " " + "\n\t" :link `("Customize Startup" ,(lambda (_button) (customize-group 'initialization)) "Change initialization settings including this screen") + "\t" + :link `("Explore Packages" + ,(lambda (_button) (call-interactively 'package-list-packages)) + "Explore, install and remove Emacs packages (requires Internet connection)") "\n")) (fancy-splash-insert :face 'variable-pitch "To quit a partially entered command, type " -- 2.33.1 --=-=-= Content-Type: text/plain -- Daniel Fleischer --=-=-=--