GNU bug report logs - #21706
25.0.50; package.el: describe-package produces a needless newline after "Archive: some-repo" line

Previous Next

Package: emacs;

Reported by: Chunyang Xu <xuchunyang56 <at> gmail.com>

Date: Mon, 19 Oct 2015 05:00:05 UTC

Severity: minor

Tags: fixed, patch

Merged with 22325

Found in version 25.0.50

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21706 in the body.
You can then email your comments to 21706 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21706; Package emacs. (Mon, 19 Oct 2015 05:00:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chunyang Xu <xuchunyang56 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 19 Oct 2015 05:00:07 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chunyang Xu <xuchunyang56 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50;
 package.el: describe-package produces a needless newline after
 "Archive: some-repo" line
Date: Mon, 19 Oct 2015 12:59:09 +0800
From 'emacs -Q':

  M-x package-refresh-contents RET C-h P nameless RET

in *Help* buffer, there is a blank line between "Archive: gnu" and
"Version: 0.5.1".

In GNU Emacs 25.0.50.5 (x86_64-apple-darwin15.0.0, NS appkit-1404.11 Version 10.11 (Build 15A284))
of 2015-10-18
Repository revision: 9adfc5f69c08e96e55cf3abb960b86c1a5d74951
Windowing system distributor 'Apple', version 10.3.1404
Configured features:
RSVG IMAGEMAGICK DBUS ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LC_CTYPE: zh_CN.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Importing package-keyring.gpg...done
Contacting host: elpa.gnu.org:80 [2 times]
Failed to download ‘gnu’ archive.
You can run the command ‘package-refresh-contents’ with M-x pa-r- RET
Failed to download ‘gnu’ archive.
Contacting host: elpa.gnu.org:80
Type C-x 1 to delete the help window, C-M-v to scroll help.
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail lisp-mnt thingatpt finder-inf
mm-archive message dired format-spec rfc822 mml mml-sec mailabbrev
gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils
network-stream nsm starttls url-http tls mail-parse rfc2231 rfc2047
rfc2045 ietf-drums url-gw url-cache url-auth url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap url-handlers url-parse auth-source cl-seq eieio byte-opt
bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv gnus-util
mm-util help-fns help-mode cl-loaddefs pcase cl-lib mail-prsvr
password-cache url-vars epg package easymenu epg-config time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel ns-win term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 107921 8744)
(symbols 48 22111 0)
(miscs 40 50 204)
(strings 32 23713 4280)
(string-bytes 1 661905)
(vectors 16 18646)
(vector-slots 8 852637 109464)
(floats 8 209 126)
(intervals 56 252 0)
(buffers 976 13))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21706; Package emacs. (Mon, 19 Oct 2015 05:05:01 GMT) Full text and rfc822 format available.

Message #8 received at 21706 <at> debbugs.gnu.org (full text, mbox):

From: Chunyang Xu <xuchunyang56 <at> gmail.com>
To: 21706 <at> debbugs.gnu.org
Cc: Chunyang Xu <xuchunyang56 <at> gmail.com>
Subject: [PATCH] * emacs-lisp/package.el (describe-package-1): Don't print
 needless newline
Date: Mon, 19 Oct 2015 13:03:56 +0800
---
 lisp/emacs-lisp/package.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 2dbcdf6..27e3ca2 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -2275,7 +2275,7 @@ describe-package-1
     (insert "\n")
     (unless (and pkg-dir (not archive)) ; Installed pkgs don't have archive.
       (package--print-help-section "Archive"
-        (or archive "n/a") "\n"))
+        (or archive "n/a")))
     (and version
          (package--print-help-section "Version"
            (package-version-join version)))
-- 
2.6.0





Merged 21706 22325. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 11 Jan 2016 16:45:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21706; Package emacs. (Tue, 23 Feb 2016 08:38:02 GMT) Full text and rfc822 format available.

Message #13 received at 21706 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Chunyang Xu <xuchunyang56 <at> gmail.com>
Cc: 21706 <at> debbugs.gnu.org
Subject: Re: bug#21706: [PATCH] * emacs-lisp/package.el (describe-package-1):
 Don't print needless newline
Date: Tue, 23 Feb 2016 19:36:48 +1100
Chunyang Xu <xuchunyang56 <at> gmail.com> writes:

> -        (or archive "n/a") "\n"))
> +        (or archive "n/a")))

Thanks; applied to the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 23 Feb 2016 08:38:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.2, send any further explanations to 21706 <at> debbugs.gnu.org and Chunyang Xu <xuchunyang56 <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 23 Feb 2016 08:38:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 22 Mar 2016 11:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:08 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 26.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:08 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 25.2. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:08 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 01 Jan 2017 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.