From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#32414: 27.0.50; backtrace.el fails to require cl-print Date: Fri, 10 Aug 2018 15:37:18 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1533915526 24036 195.159.176.226 (10 Aug 2018 15:38:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2018 15:38:46 +0000 (UTC) To: 32414@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 10 17:38:42 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fo9Us-00064b-1H for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Aug 2018 17:38:38 +0200 Original-Received: from localhost ([::1]:56804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo9Wy-0000S4-4k for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Aug 2018 11:40:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo9VI-0006d9-0o for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 11:39:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fo9VH-00032q-09 for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 11:39:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42029) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fo9VG-00032b-Rq for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 11:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fo9VG-0005KD-Kb for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 11:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Aug 2018 15:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32414 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153391548820391 (code B ref -1); Fri, 10 Aug 2018 15:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Aug 2018 15:38:08 +0000 Original-Received: from localhost ([127.0.0.1]:47047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fo9UO-0005Io-6b for submit@debbugs.gnu.org; Fri, 10 Aug 2018 11:38:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fo9UL-0005IF-Hh for submit@debbugs.gnu.org; Fri, 10 Aug 2018 11:38:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fo9UE-0002IC-UZ for submit@debbugs.gnu.org; Fri, 10 Aug 2018 11:38:00 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49565) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fo9UE-0002Hw-RC for submit@debbugs.gnu.org; Fri, 10 Aug 2018 11:37:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo9UD-0005sb-Et for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 11:37:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fo9UC-0002Gn-CF for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 11:37:57 -0400 Original-Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:42494) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fo9UC-0002Ft-3e for bug-gnu-emacs@gnu.org; Fri, 10 Aug 2018 11:37:56 -0400 Original-Received: by mail-lf1-x136.google.com with SMTP id u202-v6so6871907lff.9 for ; Fri, 10 Aug 2018 08:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=85YkZoC90vUmHP31CXSMk7FWgw5ZPfeB2J4xpZjXFJg=; b=fZ1sSdzDtMhJFakneQZpknXhmzyZVRXYbgNJrtjnKtAw9Tj5vFYpLS91JQ4JzOSd+Q PiNOwoDb+GTUz2SrLBpHKwjMNJ9j7QLLUdvEhp03RuaKNB8VpzT9J06rGr98QZQSLbXI AAJ9GYVGEUEZ2y34XkRnXcZfTR0Uo2ynFk3VBh7a4bY6xz2J/yacpEXdzKUPcrc/HuBV DIof03UXlI6cZ2C/qMAz2F1ar9uT99Qy9uB4KwIEFo9mI5ny52O0Zht85EvxCM9ohmW4 Gn5HM23XXuJsLSlhajBIZYchYStQMYicqevMtieGOESP5TQq4xOdhxmpn6Du3kQLxMoA jZ1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=85YkZoC90vUmHP31CXSMk7FWgw5ZPfeB2J4xpZjXFJg=; b=nno0dZNspsck/liNUh0zlvmksoJBjX/NLhD3n/TOfM3wEQGAMOM3SPZDRuCr5E9HEi f1l1X/gIa8j+YnHYw6f5TDghkKYT0pUYKq7bffddVi0HZ351AhQSGt6b3LQgK1qul5WB zoL9JLvd1HzBSHp7C2xnV81sgMBaQjvV3LqM5X+umbep6qj2aJBccZvjA7K3e+4GHJM4 wo3l+abKDMRo5u9Nwzw5GU4XLH1FTBnapg6XaRORDSU23y0HcX6pkUdo+rhfjpv+a1m8 C8OX4wpvdvLejSj1Adday8FZNiEKzOAD3/RgELKlIUxiyyaRR+7mdMKUWvio31W8c89r H3WQ== X-Gm-Message-State: AOUpUlFNSZwn4xB5mNGCk8aUkIdVLcW3g5fFDHdwpK2//3JEL2VZprsV /f2kLvw/H7mVwvUxz2Q3tV3n1WLBDw+/u9fr9uJlOrSZ X-Google-Smtp-Source: AA+uWPx5b6RG9Nx51aI6hmAHL+jfvPf5968SzaVIQYqcP4alQQ2eYbw6ao2pu82htwgnQ7bpudKMtHYmsFmJt0v1CVI= X-Received: by 2002:a19:a5c5:: with SMTP id o188-v6mr5048249lfe.149.1533915474624; Fri, 10 Aug 2018 08:37:54 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149415 Archived-At: --text follows this line-- Evaluate (throw 'a (make-string 4096 ?a)) in the *scratch* buffer. I expected a backtrace, but got an error message instead: backtrace--print-to-string: Symbol=E2=80=99s function definition is void: cl-print-to-string-with-limit Upon investigation, it turns out backtrace.el is using code provided by cl-print, but never requires it. The obvious fix: diff --git a/lisp/emacs-lisp/backtrace.el b/lisp/emacs-lisp/backtrace.el index f13b43b465c..7180b58d1e4 100644 --- a/lisp/emacs-lisp/backtrace.el +++ b/lisp/emacs-lisp/backtrace.el @@ -36,6 +36,7 @@ (eval-when-compile (require 'subr-x)) ; if-let (require 'help-mode) ; Define `help-function-def' button type. (require 'lisp-mode) +(require 'cl-print) ;;; Options works. In GNU Emacs 27.0.50 (build 19, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-08-10 built on amygdala Repository revision: 243b68f73ff7cbb4d89a3f4a15a1cd38cfc14fae Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Debian GNU/Linux buster/sid Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Entering debugger... backtrace--print-to-string: Symbol=E2=80=99s function definition is void: cl-print-to-string-with-limit Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LCMS2 Important settings: 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 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 Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils debug backtrace help-mode easymenu cl-loaddefs cl-lib elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 98732 9659) (symbols 48 20420 1) (miscs 40 33 92) (strings 32 29574 1922) (string-bytes 1 780325) (vectors 16 15409) (vector-slots 8 513129 12196) (floats 8 49 110) (intervals 56 209 0) (buffers 992 12))