运行list-packages
时,长包名称在结果缓冲区中显示时会被截断
有没有办法避免这种截断,并显示全名,无论它有多长?
答案 0 :(得分:3)
这对我有用:
(add-hook 'package-menu-mode-hook
(lambda()
(setq tabulated-list-format
[("Package" 28 package-menu--name-predicate)
("Version" 18 nil)
("Status" 10 package-menu--status-predicate)
("Description" 0 nil)])
(tabulated-list-init-header)))