From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Request to add Package to GNU ELPA Date: Thu, 30 Mar 2023 15:10:58 -0400 Message-ID: References: <87tty24ap2.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000eba5d205f822da86" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14085"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Jonas Bernoulli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 30 21:12:00 2023 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 1phxgl-0003RN-CH for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Mar 2023 21:11:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phxg2-0004Yc-HZ; Thu, 30 Mar 2023 15:11:14 -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 1phxg0-0004XD-CD for emacs-devel@gnu.org; Thu, 30 Mar 2023 15:11:12 -0400 Original-Received: from mail-yw1-x1130.google.com ([2607:f8b0:4864:20::1130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phxfy-0007H5-Cu for emacs-devel@gnu.org; Thu, 30 Mar 2023 15:11:11 -0400 Original-Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-54601d90118so217104557b3.12 for ; Thu, 30 Mar 2023 12:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680203469; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=fldmD1U32hz9MpeaqZJ2B/pVCAx+bbSMZoYT0GIA5ig=; b=bNYnHbuMdoOBctHv4jMoveDNqhdx+P5AWjSr3hNOUxercjGx62SNlfqL2ArehZVrCY cPPB3W/P185aVeWBcpuvoy2Al6bLoyF7Rbr9MEZFoNobo9Uxmw/suRZVz7RTD/VeL2Ur CGxQmTGefYLDRv3OENDa9ceJ9yULILWSH4HXY2dawUH3kThpGRuiUPSGYeizPUWJ/qxd AXTnRHkGRobh5ctXxyaLzIs6ZldT6K15fw/+4g3ctYQi/fk00jGvQKZHvvby+gy8HXEi ujbEwlxFoqHoUVj1Fa328lXwo6q59qGUf9i04wn4FvKCE93itDQzD+s7p6bf0kS+/PXJ iHdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680203469; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fldmD1U32hz9MpeaqZJ2B/pVCAx+bbSMZoYT0GIA5ig=; b=ZfNErh8KVfEiC/XDpbi/nF35kdUa1vROIxRbCEN1xB2iwjnySIMAnLu98romAZTiIl /Xy5sppttDkCAL5Jh7O5411T8CgWAKzjCjyNbuH3b0FoSRP5adGf79DK2ITH5n2SEx/7 lEnbrBw77NR35YaVQgJhevq5kmVKSOYHEwYI8jXlNLv6Qhye4/+GAqj6JIFc/pUswqwW vYb3CJVP1CoZX3R+oAsInFSWHRMw6+UtSerfbFW/qV8KEjfmWT/EftXzOuHzB6VH3xXx 2SM4w9i4+SKk0CkyJvt2fDG3eRstcVsWP8VWFbHD9IqtAAj0T8lYO+fjPsVLbNpvXuIV TLsQ== X-Gm-Message-State: AAQBX9fErxcXe0AK9LCpTWbyOQb1+xr4WSPmIoPxIWA/N47f3lEpEaiv ZX1TrEWXK5JYDNBQKigYl6EDUTJzfhv2uC2YVuQ= X-Google-Smtp-Source: AKy350b333sN4Llv3RtH32Ck9++KOCIIG9xAb+emegQixvGHw9UR0RSPdvG1B76PNt/NTeFV49uv8YkqRZOk6iZnNto= X-Received: by 2002:a81:ae4f:0:b0:545:ed8e:f4f6 with SMTP id g15-20020a81ae4f000000b00545ed8ef4f6mr8042343ywk.5.1680203469004; Thu, 30 Mar 2023 12:11:09 -0700 (PDT) In-Reply-To: <87tty24ap2.fsf@bernoul.li> Received-SPF: pass client-ip=2607:f8b0:4864:20::1130; envelope-from=yandros@gmail.com; helo=mail-yw1-x1130.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, HTML_MESSAGE=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:304882 Archived-At: --000000000000eba5d205f822da86 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Tangential to your request: On Thu, Mar 30, 2023 at 10:23=E2=80=AFAM Jonas Bernoulli = wrote: > - For example, I think it would be nice if the columns displayed by > `list-packages' were customizable. A user might want to increase the > width of the "Version" column, so that not every GNU-devel ELPA version > is truncated, or they might want to add an "Author" column. We could > even allow third-party packages to add columns such as "Downloads" or > "Stars". > FWIW, I've been using these for a while now: (add-to-list 'package-archives '("NGD" . " > https://elpa.nongnu.org/nongnu-devel/")) > (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")= ) > (add-to-list 'package-archives '("EGD" . "https://elpa.gnu.org/devel/")) > (custom-set-variables '(package-name-column-width 22) > '(package-archive-column-width 2) > '(package-status-column-width 2) > '(package-version-column-width 2)) The result isn't perfect, but it lets me see the parts I care about in an ~80 column window with 5 different archives. The main motivation I had was that the names of _many_ packages were non-uniquely truncated by default. This would be hard to pull off without severely truncating the version column. Hope that helps, ~Chad --000000000000eba5d205f822da86 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Tangential to your request:

On Thu, Mar 30,= 2023 at 10:23=E2=80=AFAM Jonas Bernoulli <jonas@bernoul.li> wrote:
- For example, I think it would be nice if the colum= ns displayed by
=C2=A0 `list-packages' were customizable.=C2=A0 A user might want to in= crease the
=C2=A0 width of the "Version" column, so that not every GNU-devel= ELPA version
=C2=A0 is truncated, or they might want to add an "Author" column= .=C2=A0 We could
=C2=A0 even allow third-party packages to add columns such as "Downloa= ds" or
=C2=A0 "Stars".

FWIW, I'v= e been using these for a while now:

(add-to-list 'package-archives=C2=A0&#= 39;("NGD" . "https://elpa.nongnu.org/nongnu-devel/"))
(add-to-list 'p= ackage-archives '("melpa" . "https://melpa.org/packages/"))
(add-to-list 'p= ackage-archives '("EGD" . "https://elpa.gnu.org/devel/"))
(custom-set-variables=C2=A0
=C2=A0'(packag= e-name-column-width 22)
=C2=A0'(package-archive-column-width 2)
= =C2=A0'(package-status-column-width 2)
=C2=A0'(package-version-c= olumn-width 2))

The result isn't perfec= t, but it lets me see the parts I care about in an ~80 column window with 5= different archives. The main motivation I had was that the names of _many_= packages were non-uniquely truncated by default. This would be hard to pul= l off without severely truncating the version column.

<= div>Hope that helps,
~Chad

--000000000000eba5d205f822da86--