This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': When running the following code I get a trailing line of junk reading : - Peer has closed the GnuTLS connection (url-retrieve "https://bitbucket.org" (lambda (status) (switch-to-buffer (current-buffer)))) If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Applications/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 24.0.90.1 (x86_64-apple-darwin, NS apple-appkit-1038.35) of 2011-09-26 on virtualmac.porkrind.org Windowing system distributor `Apple', version 10.3.1138 configured using `configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin' '--with-ns' 'build_alias=i686-apple-darwin' 'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-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 input: C-y C-_ ( u r l - r e t r i e v e SPC " h t t p s : / / b i t b u c k e t . o r g " SPC ( l a m b d a SPC ( s t a t u s ) SPC ( s w i t c h - t o - b u f f e r SPC ( c u r r o e n t - b u f f e r ) ) ) ) C-x C-e C-> > C-x k C-a C-k x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set Undo! Contacting host: bitbucket.org:443 Opening TLS connection to `bitbucket.org'... Opening TLS connection with `gnutls-cli --insecure -p 443 bitbucket.org'...done Opening TLS connection to `bitbucket.org'...done # Mark set Making completion list... [3 times] Load-path shadows: None found. Features: (shadow sort mail-extr message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader emacsbug help-mode easymenu view mail-utils url-cache format-spec network-stream starttls url-http tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util password-cache url-vars mm-util mail-prsvr mailcap time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) -- Alf LervÄg Sent with Sparrow (http://www.sparrowmailapp.com/?sig)