From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Chris McMahan Newsgroups: gmane.emacs.bugs Subject: bug#41086: Corrcted patch for bug #41086 Date: Mon, 4 May 2020 17:01:14 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="00000000000096766205a4d8d56d" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="117805"; mail-complaints-to="usenet@ciao.gmane.io" To: 41086@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 04 23:02:14 2020 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 1jViEA-000UXO-9M for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 May 2020 23:02:14 +0200 Original-Received: from localhost ([::1]:48802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jViE8-0000Gp-Ud for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 May 2020 17:02:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jViDy-0000Gh-E9 for bug-gnu-emacs@gnu.org; Mon, 04 May 2020 17:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50818) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jViDy-0004G8-4s for bug-gnu-emacs@gnu.org; Mon, 04 May 2020 17:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jViDy-00077J-2y for bug-gnu-emacs@gnu.org; Mon, 04 May 2020 17:02:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Chris McMahan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 May 2020 21:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41086 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.158862609027314 (code B ref -1); Mon, 04 May 2020 21:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 May 2020 21:01:30 +0000 Original-Received: from localhost ([127.0.0.1]:34130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jViDS-00076U-Fw for submit@debbugs.gnu.org; Mon, 04 May 2020 17:01:30 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:54078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jViDR-00076N-Kz for submit@debbugs.gnu.org; Mon, 04 May 2020 17:01:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jViDR-0000Fu-CZ for bug-gnu-emacs@gnu.org; Mon, 04 May 2020 17:01:29 -0400 Original-Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:34518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jViDQ-0003rn-F9 for bug-gnu-emacs@gnu.org; Mon, 04 May 2020 17:01:29 -0400 Original-Received: by mail-qk1-x735.google.com with SMTP id t3so210548qkg.1 for ; Mon, 04 May 2020 14:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=scq3G8ps30nl1gaHt6s8NBVx9p1JCiYQcaJaO+oHwWk=; b=myRYU0TkfenA2kuzb7qjRIcriQjCg7wMXlQR3GDElQE24+TjqaJH231mb+QjnfKPEX bKSIeVA2v1hPLCqbv2rrP7SIssDI4nfr1FkR0l/PrDld/E3BOv5hXWiyU63Ss7pnlQau qS7Tp60eC2gnEm18Q3djkrkfd+TtQQCkWyHr3NBiQALp1FeWARwNb6JHVQxru+KWuDLT n/hgpy4/h7k42mwZDV4zW4GUhjICRffc1b+aTH5YvRuiLpGSq4Cww1AkLDOdcE8jUNyo 6LZhC1CMWejVGjq3KHVUTXIx+1JFrLJ2aY7Q1+F70uuqZLQQB6i4+16wiKmh1510Ki0d CFYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=scq3G8ps30nl1gaHt6s8NBVx9p1JCiYQcaJaO+oHwWk=; b=sS7d0u+nW/+Iq91HlDgqzXKKwOm655NMIW8C9Qe0Vr9Uh65bNTAFwwjEYlu26e+2/o pjkyJAXjFwGIJRKVOl+XHpKAgtFFsZKmJ5ISx4Xacn6luVLngNiIGwQOwMNv1E64dASK 8v3GKDQI8/dibrjNA2pQR6yz+88wRYZxhUKe0/Ld46QvtpsGt1t9JTizi44medFEtFEU NvJlffta2htO+zMLf5uFWQwgvMnZ8rut5IFhdPnFMlfHVjp2rywR2EAfMz8QnSf8c62Z ECp55+LP6FDJf3peQz32h9Ok4w6ln81Jq5uGdlylthsKHlUV+MBbjAUQ37MFhaI5M1zj etiA== X-Gm-Message-State: AGi0PubZWfy+NIv74dM4gapvexITikxaVdOxw+pBOm9q4Z5t6cAtZMj9 Yoc9DlQy7866SrksuUKd3KGyazmW4UrXn2mc3K4BWQSG/W8= X-Google-Smtp-Source: APiQypL4LcrQRRvsIILnhF0g4JdOgqPKPiQdv6OuBwmgJYS08IVA2H9ACNvqYhRHSXpXzVEYTvzBNJn2A1i8dFOiwCI= X-Received: by 2002:a37:b587:: with SMTP id e129mr290800qkf.226.1588626086812; Mon, 04 May 2020 14:01:26 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::735; envelope-from=cmcmahan@gmail.com; helo=mail-qk1-x735.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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_FONT_FACE_BAD=0.981, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179701 Archived-At: --00000000000096766205a4d8d56d Content-Type: multipart/alternative; boundary="00000000000096766005a4d8d56b" --00000000000096766005a4d8d56b Content-Type: text/plain; charset="UTF-8" I apologize. The patch I sent WRT bug #41086 was the wrong (nonfunctioning) version. Here is a resend of the message, with the correct patch and log: When executing the function `package-list-packages', the column widths are too narrow, cutting off a significant portion of the package names. This minor patch adds three variables that can be set by the user to adjust the width of each column within the package list. Changelog entry -------------------------------- 2020-05-04 Chris McMahan * package.el ((define-derived-mode package-menu-mode tabulated-list-mode "Package Menu"): User can now adjust column widths of the package list by setting the values of the following: package-name-column-width (defaults to 30 columns) package-version-column-width (14 column) package-status-column-width (12 columns) -------------------------------- Patch is attached: -- *Chris McMahan >* --00000000000096766005a4d8d56b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I apologize. The patch I sent WRT bug #41086 was the wrong (non= functioning) version.
Here is a resend of the message, with the correct pat= ch and log:


When executing the funct= ion `package-list-packages', the column widths are too narrow, cutting = off a significant portion of the package names.=C2=A0

This minor patch adds t= hree variables that can be set by the user to adjust the width of each colu= mn within the package list.=C2=A0

Changelog entry
--------------------------------
2020-05-04 =C2=A0Chris McMahan =C2=A0<cmcmahan@gmail.com>

=
* package.el ((define-derived-mode packa= ge-menu-mode tabulated-list-mode "Package Menu"):
User can now= adjust column widths of the package list by setting the values of the foll= owing:
package-name-column-width (default= s to 30 columns)
package-version-column-width (14 column)
package-sta= tus-column-width (12 columns)
--------------------------------

Patch = is attached:

=

--
Chris McMahan <cmcmahan@gmail.com>
--00000000000096766005a4d8d56b-- --00000000000096766205a4d8d56d Content-Type: application/octet-stream; name="package_el.patch" Content-Disposition: attachment; filename="package_el.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k9syvtoa0 LS0tIHYyNy4wOTBfcGFja2FnZS5lbAkyMDIwLTA1LTA0IDE1OjQ5OjMzLjM4Nzg0NTYwMCAtMDQw MAorKysgcGFja2FnZS5lbAkyMDIwLTA1LTA0IDE2OjUzOjE4LjQ5MTAxNzQwMCAtMDQwMApAQCAt Mzk3LDYgKzM5NywyNCBAQAogICA6dHlwZSAnYm9vbGVhbgogICA6dmVyc2lvbiAiMjUuMSIpCiAK KyhkZWZjdXN0b20gcGFja2FnZS1uYW1lLWNvbHVtbi13aWR0aCAzMAorICAiQ29sdW1uIHdpZHRo IG9mIHRoZSAnUGFja2FnZScgbmFtZSB3aXRoaW4gdGhlIHBhY2thZ2UgbGlzdAoraW52b2tlZCB0 aHJvdWdoIGBwYWNrYWdlLWxpc3QtcGFja2FnZXMnLiIKKyAgOnR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ZSIgMTAgcGFja2FnZS1tZW51LS1hcmNoaXZlLXByZWRpY2F0 ZSkpKQogICAgICAgICAgICgiRGVzY3JpcHRpb24iIDAgcGFja2FnZS1tZW51LS1kZXNjcmlwdGlv bi1wcmVkaWNhdGUpXSkK --00000000000096766205a4d8d56d--