unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Guido Van Hoecke <guivho@gmail.com>
To: bug-gnu-emacs@gnu.org
Cc: help-gnu-emacs@gnu.org
Subject: Width of version column in package.el should be 13 iso 12
Date: Tue, 06 Jan 2015 15:06:48 +0100	[thread overview]
Message-ID: <m2oaqcm29z.fsf@gmail.com> (raw)

Hi,

package.el defines the width of the version column as 12
characters. However this field often is 12 characters as it frequently
contains 8 date digits, a period and 4 time digits.

Following patch sets the field to 13 positions so that all 4 digit
time version fields are fully readable:


diff -c --label /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/.\~/package.el.gz.\~1\~ --label /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/package.el.gz /var/folders/pm/8r8j__dn10s90gw1tmlqjt1w0000gn/T/jka-com604432E /var/folders/pm/8r8j__dn10s90gw1tmlqjt1w0000gn/T/jka-com6044RLR
*** /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/.~/package.el.gz.~1~
--- /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/package.el.gz
***************
*** 1650,1656 ****
  \\{package-menu-mode-map}"
    (setq tabulated-list-format
          `[("Package" 18 package-menu--name-predicate)
!           ("Version" 12 nil)
            ("Status"  10 package-menu--status-predicate)
            ,@(if (cdr package-archives)
                  '(("Archive" 10 package-menu--archive-predicate)))
--- 1650,1656 ----
  \\{package-menu-mode-map}"
    (setq tabulated-list-format
          `[("Package" 18 package-menu--name-predicate)
!           ("Version" 13 nil)
            ("Status"  10 package-menu--status-predicate)
            ,@(if (cdr package-archives)
                  '(("Archive" 10 package-menu--archive-predicate)))

Diff finished.  Tue Jan  6 14:53:48 2015

Guido



                 reply	other threads:[~2015-01-06 14:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=m2oaqcm29z.fsf@gmail.com \
    --to=guivho@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).