unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: John Wiegley <johnw@gnu.org>,
	 Payas Relekar <relekarpayas@gmail.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	 emacs-devel <emacs-devel@gnu.org>
Subject: Re: Adding use-package to core
Date: Tue, 15 Nov 2022 17:25:16 +0000	[thread overview]
Message-ID: <87sfik6sg3.fsf@posteo.net> (raw)
In-Reply-To: <87o7tbwcvw.fsf@posteo.net> (Philip Kaludercic's message of "Sun,  13 Nov 2022 07:07:47 +0000")

Philip Kaludercic <philipk@posteo.net> writes:

> Stefan Kangas <stefankangas@gmail.com> writes:
>
>> John Wiegley <johnw@gnu.org> writes:
>>
>>>>>>>> Payas Relekar <relekarpayas@gmail.com> writes:
>>>
>>>> I would personally like to see the package in core if at all possible, and
>>>> John has also expressed interest in that. Personally I'd prefer if
>>>> development continues in core after upstreaming, but it is upto John to
>>>> decide. I know that Modus-themes and Org both are developed out of tree, and
>>>> only merged in when the package version is bumped. Which means history is
>>>> lost, but clearly that hasn't been a problem and maintainers of those
>>>> packages prefer it.
>>>
>>> I'm entirely in support of the code and its development moving directly into
>>> core. Whichever best supports the Emacs developers and the needs of the
>>> community, since it is more than likely that future work will be carried out
>>> by others. I'm ready to hand it off in whatever way is desired by the team
>>> here.
>>
>> IMHO, for that to make sense, someone capable would have to volunteer to
>> maintain it on our side.  If we don't have such a volunteer, it makes
>> more sense to me to keep development external for now.
>>
>> If we see a need to move development fully into core in the future, we
>> can always do that, but the reverse is harder.
>
> I agree, a transitory stage where use-package is still maintained
> externally sounds like the safer bet for now.
>
>> (If we want to preserve history when making such a move at a later date,
>> we could just delete our existing copy of the file from emacs.git and
>> then merge the full git history, just as we did with eglot.el.)
>
> In that case, what is left is completing the .texi manual, or am I
> mistaken?  After that, I suppose that placing the right files in the
> right places in emacs.git will be less that a days work.

One thing I have noticed since use-package has appeared on ELPA, that
could also be tackled in time is that the package description (C-h P) is
very messy.  It starts like this:

--8<---------------cut here---------------start------------->8---
# `use-package`

[![Join the chat at https://gitter.im/use-package/Lobby](https://badges.gitter.im/use-package/Lobby.svg)](https://gitter.im/use-package/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://github.com/jwiegley/use-package/actions/workflows/test.yml/badge.svg)](https://github.com/jwiegley/use-package/actions)
[![MELPA](https://melpa.org/packages/use-package-badge.svg)](https://melpa.org/#/use-package)
[![MELPA Stable](https://stable.melpa.org/packages/use-package-badge.svg)](https://stable.melpa.org/#/use-package)

The `use-package` macro allows you to isolate package configuration in your
`.emacs` file in a way that is both performance-oriented and, well, tidy.  I
created it because I have over 80 packages that I use in Emacs, and things
were getting difficult to manage.  Yet with this utility my total load time is
around 2 seconds, with no loss of functionality!

**NOTE**: `use-package` is **not** a package manager! Although `use-package`
does have the useful capability to interface with package managers (see
[below](#package-installation)), its primary purpose is for the configuration
and loading of packages.

Notes for users upgrading to 2.x are located [at the bottom](#upgrading-to-2x).

- [Installing use-package](#installing-use-package)
- [Getting started](#getting-started)
- [Key-binding](#key-binding)
	+ [Binding to keymaps](#binding-to-keymaps)
	+ [Binding within local keymaps](#binding-within-local-keymaps)
- [Modes and interpreters](#modes-and-interpreters)
- [Magic handlers](#magic-handlers)
- [Hooks](#hooks)
- [Package customization](#package-customization)
  + [Customizing variables](#customizing-variables)
  + [Customizing faces](#customizing-faces)
- [Notes about lazy loading](#notes-about-lazy-loading)
- [Information about package loads](#information-about-package-loads)
--8<---------------cut here---------------end--------------->8---

And is followed by the entire manual (from the README file).  I wonder
if it would be better to set :redeem in the package specification to
ignore, and instead just display the shorter commentary section:

--8<---------------cut here---------------start------------->8---
;; The `use-package' declaration macro allows you to isolate package
;; configuration in your ".emacs" in a way that is performance-oriented and,
;; well, just tidy.  I created it because I have over 80 packages that I use
;; in Emacs, and things were getting difficult to manage.  Yet with this
;; utility my total load time is just under 1 second, with no loss of
;; functionality!
;;
;; Please see README.md from the same repository for documentation.
--8<---------------cut here---------------end--------------->8---

Perhaps just with the reference to the README.md replaced with a
reference to the forthcoming manual.



  parent reply	other threads:[~2022-11-15 17:25 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-25 12:06 [ELPA] New package: use-package Payas Relekar
2022-10-25 14:14 ` Philip Kaludercic
2022-10-25 14:34   ` Payas Relekar
2022-10-25 16:09     ` Philip Kaludercic
2022-10-26 19:57     ` John Wiegley
2022-10-27  3:46       ` Payas Relekar
2022-10-27  5:25         ` Payas Relekar
     [not found]         ` <jwv35b92ohk.fsf-monnier+emacs@gnu.org>
     [not found]           ` <87v8o52mkn.fsf@gmail.com>
     [not found]             ` <87v8o5w2c1.fsf@posteo.net>
     [not found]               ` <jwvfsf9qbe4.fsf-monnier+emacs@gnu.org>
     [not found]                 ` <877d0kbkfm.fsf@gmail.com>
     [not found]                   ` <jwv8rl0nmb1.fsf-monnier+emacs@gnu.org>
     [not found]                     ` <875yg4144y.fsf@gmail.com>
     [not found]                       ` <jwvczablieq.fsf-monnier+emacs@gnu.org>
     [not found]                         ` <87o7tv16xc.fsf@posteo.net>
     [not found]                           ` <jwvmt9eitgd.fsf-monnier+emacs@gnu.org>
     [not found]                             ` <87wn8i36v6.fsf@gmail.com>
     [not found]                               ` <jwva65eef2q.fsf-monnier+emacs@gnu.org>
     [not found]                                 ` <871qqqpabk.fsf@posteo.net>
2022-10-30  4:13                                   ` Payas Relekar
     [not found]                         ` <87h6zmj451.fsf@gmail.com>
     [not found]                           ` <5EE58F68-8B9E-4DE6-BA20-3A88FFDA6528@posteo.net>
     [not found]                             ` <jwvh6zmit8b.fsf-monnier+emacs@gnu.org>
     [not found]                               ` <87sfj636pd.fsf@gmail.com>
     [not found]                                 ` <jwv4jvmeewq.fsf-monnier+emacs@gnu.org>
2022-10-29 17:23                                   ` Payas Relekar
2022-10-29 17:35                                     ` Stefan Monnier
     [not found]                               ` <871qqkjwjj.fsf@gmail.com>
2022-11-03  8:06                                 ` Payas Relekar
     [not found]                                 ` <jwvr0ykw2ac.fsf-monnier+emacs@gnu.org>
2022-11-03 16:42                                   ` Payas Relekar
2022-11-03 16:57                                     ` Philip Kaludercic
2022-11-03 16:59                                       ` Payas Relekar
2022-11-03 17:15                                         ` Philip Kaludercic
2022-11-04 18:24                                           ` John Wiegley
2022-11-04 22:03                                             ` Philip Kaludercic
2022-11-05  8:06                                               ` Payas Relekar
2022-11-05  8:33                                                 ` Philip Kaludercic
2022-11-05  8:45                                                   ` Payas Relekar
2022-11-05  9:37                                                     ` Philip Kaludercic
2022-11-05 10:13                                                       ` Payas Relekar
2022-11-05 10:36                                                         ` Philip Kaludercic
2022-11-05 11:29                                                           ` Payas Relekar
2022-11-05 11:36                                                             ` Philip Kaludercic
2022-11-12  5:42                                                         ` Adding use-package to core Stefan Kangas
2022-11-12  7:25                                                           ` Philip Kaludercic
2022-11-12 10:17                                                             ` Stefan Kangas
2022-11-12 14:04                                                               ` Philip Kaludercic
2022-11-12 15:38                                                                 ` Stefan Kangas
2022-11-12 15:46                                                                   ` Philip Kaludercic
2022-11-12 15:53                                                                     ` Payas Relekar
2022-11-12 16:33                                                                       ` Philip Kaludercic
2022-11-13  4:43                                                                       ` John Wiegley
2022-11-13  5:25                                                                         ` Stefan Kangas
2022-11-13  7:07                                                                           ` Philip Kaludercic
2022-11-13  7:31                                                                             ` Eli Zaretskii
2022-11-13 14:09                                                                             ` Stefan Kangas
2022-11-13 15:22                                                                               ` Philip Kaludercic
2022-11-13 15:42                                                                                 ` Stefan Kangas
2022-11-15 17:25                                                                             ` Philip Kaludercic [this message]
2022-11-16  4:17                                                                               ` Stefan Kangas
2022-11-16  7:59                                                                                 ` Philip Kaludercic
2022-11-03 17:22                                     ` [ELPA] New package: use-package Stefan Monnier
2022-10-25 15:37 ` Stefan Monnier
2022-10-25 15:45   ` Payas Relekar
2022-10-25 16:50     ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2022-11-13  7:14 Adding use-package to core Payas Relekar
2022-11-13 11:55 Payas Relekar
2022-11-13 17:31 ` xenodasein--- via Emacs development discussions.
2022-11-13 17:40   ` Philip Kaludercic
2022-11-13 18:05   ` Stefan Kangas
2022-11-13 18:42     ` xenodasein--- via Emacs development discussions.
2022-11-13 18:24 ` John Wiegley
2022-11-13 16:11 xenodasein--- via Emacs development discussions.
2022-11-13 16:48 ` Eli Zaretskii
2022-11-13 17:53   ` John Wiegley
2022-11-13 18:13     ` Eli Zaretskii
2022-11-13 18:45       ` John Wiegley
2022-11-13 18:05 ` Stefan Kangas
     [not found] ` <838rkels13.fsf@gnu.org-NGltIw7----9>
2022-11-13 18:12   ` xenodasein--- via Emacs development discussions.
2022-11-13 18:22     ` Stefan Kangas
2022-11-13 18:31     ` Eli Zaretskii
2022-11-13 19:19       ` xenodasein--- via Emacs development discussions.
2022-11-13 20:08         ` Eli Zaretskii
2022-11-13 18:46     ` John Wiegley
2022-11-13 19:02       ` xenodasein--- via Emacs development discussions.
2022-11-13 19:48         ` John Wiegley
2022-11-13 20:04         ` Eli Zaretskii
2022-11-14 10:32           ` xenodasein--- via Emacs development discussions.
2022-11-14 13:30             ` Eli Zaretskii
2022-11-14  0:27 ` Po Lu
2022-11-14 10:12   ` xenodasein--- via Emacs development discussions.
2022-11-14 10:47     ` Po Lu
2022-11-14 11:52       ` xenodasein--- via Emacs development discussions.
2022-11-14 12:19         ` Po Lu
2022-11-15 15:39           ` Michael Albinus
2022-11-14 13:54         ` Eli Zaretskii
2022-11-14 14:47           ` xenodasein--- via Emacs development discussions.
2022-11-14 17:39             ` Eli Zaretskii
2022-11-15 15:38               ` xenodasein--- via Emacs development discussions.
2022-11-15 19:22                 ` Eli Zaretskii
2022-11-18 19:29   ` Sean Whitton
2022-11-18 19:33     ` Philip Kaludercic
2022-11-18 19:42     ` Eli Zaretskii
2022-11-18 20:43       ` Philip Kaludercic
2022-11-19  7:12         ` Eli Zaretskii
2022-11-19  7:33           ` Philip Kaludercic
2022-11-19  8:04             ` Eli Zaretskii
2022-11-19 10:09               ` Philip Kaludercic
2022-11-19 10:31                 ` Eli Zaretskii
2022-11-19 11:02                   ` Philip Kaludercic
2022-11-19 11:15                     ` Stefan Kangas
2022-11-19 11:58                     ` Eli Zaretskii
2022-11-19 12:15                       ` Philip Kaludercic
2022-11-19 15:28               ` Stefan Monnier
2022-11-19 15:36                 ` Philip Kaludercic
2022-11-19 15:46                 ` Eli Zaretskii
2022-11-19 15:26           ` Stefan Monnier
2022-11-16  8:28 Payas Relekar
2022-11-16  9:30 ` Stefan Kangas
2022-11-16 13:35 ` Eli Zaretskii
2022-11-16 14:18 Payas Relekar
2022-11-16 14:52 ` Eli Zaretskii
2022-11-16 19:35 ` John Wiegley
2022-11-16 15:29 Payas Relekar
2022-11-16 16:04 ` Philip Kaludercic
2022-11-16 16:51 ` Eli Zaretskii
2022-11-16 17:01   ` Philip Kaludercic
2022-11-16 19:29     ` Eli Zaretskii
2022-11-17  0:33       ` Stefan Kangas
2022-11-17  6:40         ` Eli Zaretskii
2022-11-17  7:17           ` Stefan Kangas
2022-11-17  7:24             ` Payas Relekar
2022-11-17 16:18               ` John Wiegley
2022-11-17  7:33             ` Eli Zaretskii
2022-11-17  7:58               ` Stefan Kangas
2022-11-18  0:32 Payas Relekar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfik6sg3.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=emacs-devel@gnu.org \
    --cc=johnw@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=relekarpayas@gmail.com \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).