unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Width of version column in package.el should be 13 iso 12
@ 2015-01-06 14:06 Guido Van Hoecke
  0 siblings, 0 replies; only message in thread
From: Guido Van Hoecke @ 2015-01-06 14:06 UTC (permalink / raw)
  To: bug-gnu-emacs; +Cc: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-06 14:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-06 14:06 Width of version column in package.el should be 13 iso 12 Guido Van Hoecke

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).