From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Achilles Newsgroups: gmane.emacs.bugs Subject: bug#44377: 28.0.50; describe-bindings; wrong-type-argument Date: Sun, 01 Nov 2020 19:22:58 +0200 Message-ID: <86v9ep3sb1.fsf@posteo.is> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17577"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 44377@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 01 21:18:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZJno-0004SU-KI for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 21:18:12 +0100 Original-Received: from localhost ([::1]:37280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZJnn-0004iU-MX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 15:18:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZJne-0004g9-I2 for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 15:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55376) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZJne-0000EL-8Y for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 15:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZJne-0002wO-4g for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 15:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Achilles Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Nov 2020 20:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44377 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160426188011294 (code B ref -1); Sun, 01 Nov 2020 20:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Nov 2020 20:18:00 +0000 Original-Received: from localhost ([127.0.0.1]:38689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZJnc-0002w4-0p for submit@debbugs.gnu.org; Sun, 01 Nov 2020 15:18:00 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:40188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZH5d-0002f5-9C for submit@debbugs.gnu.org; Sun, 01 Nov 2020 12:24:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZH5d-0005kw-3Z for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 12:24:25 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:41877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZH5Z-0003iB-PE for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 12:24:24 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 72FF716005F for ; Sun, 1 Nov 2020 18:24:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.is; s=2017; t=1604251457; bh=ro32ghbyHh/daAIraDtgAhSCYU/x4p7hMDWWNAP9KNY=; h=From:To:Subject:Date:From; b=ifyfBIGH0MJbWCvEtwBD6YDwgLhJ13PFtBmtGjTuX3chA+niE+Fu3t+qmJURNfmYP ifoiApOGGHnrF8X1VzLooEkD3knAIPDFORN3LySOwjYTAHIbu8mB/AQs/WUD6QmS9G fG1+aMUBoP/nojss/1Ow+s5WcObk7jhRqDRYjoaxOBgEgt8033vzldkRGbSC0TXkEy juX0iWa9peY4csOArUo5pMtjQ5wXJouV9KcdCXraCIfrM4T8Bg2VMY36e9Xh2Hs9Mt CsPf4nLd53T0L2hCDSQm38g6oqlPK9uvQwgrXBuqRS1k+QHOy9kOeZrqaHZ0vRH39c eq/OtqGW2cNZw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CPNFX5XhYz9rxB for ; Sun, 1 Nov 2020 18:24:16 +0100 (CET) Received-SPF: pass client-ip=185.67.36.65; envelope-from=ayy@posteo.is; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/01 10:53:26 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 01 Nov 2020 15:17:58 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192464 Archived-At: Command works almost normal(ordering looks weird) with text, prog mode etc. Returns an error with ibuffer, gnus and perhaps with others as well.. After bisecting the last month or so, i found: 8a1441310aa151e739cfed3bd2eff3358edc8001 is the first bad commit commit 8a1441310aa151e739cfed3bd2eff3358edc8001 Author: Stefan Kangas Date: Sun Oct 18 15:32:22 2020 +0200 Prefer Lisp version of describe-map-tree This is a prerequisite to remove the old C functions, and gives a measured 3 ms slowdown on my machine, from 0.27s to 0.30s per call to describe-buffer-bindings (average over 50 calls). * src/keymap.c (Fdescribe_buffer_bindings): Call Lisp function describe-map-tree instead of C function describe_map_tree. src/keymap.c | 89 ++++++++++++++++++++++++++++++++++++++++++--------------= ---- 1 file changed, 63 insertions(+), 26 deletions(-) Debugger entered--Lisp error: (wrong-type-argument listp ibuffer-visit-buff= er-1-window) describe-map-tree((keymap #^[nil nil keymap=20 #^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific= -command-prefix delete-char move-end-of-line forward-char keyboard-quit hel= p-command indent-for-tab-command electric-newline-and-maybe-indent kill-lin= e recenter-top-bottom ...] #^^[1 0 #^^[2 0=20 #^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific= -command-prefix delete-char move-end-of-line forward-char keyboard-quit hel= p-command indent-for-tab-command electric-newline-and-maybe-indent kill-lin= e recenter-top-bottom ...] self-insert-command self-insert-command self-ins= ert-command self-insert-command self-insert-command self-insert-command sel= f-insert-command self-insert-command self-insert-command self-insert-comman= d self-insert-command self-insert-command ...] self-insert-command self-ins= ert-command self-insert-command self-insert-command self-insert-command sel= f-insert-command self-insert-command self-insert-command self-insert-comman= d self-insert-command self-insert-command self-insert-command ...] self-ins= ert-command self-insert-command self-insert-command self-insert-command sel= f-insert-command self-insert-command self-insert-command self-insert-comman= d self-insert-command ...] ... ... ... ... ... ... ... ... ... ... ... ... = ...) t (...) nil "\f\nGlobal Bindi..." t nil t nil) describe-buffer-bindings(# nil) describe-bindings() funcall-interactively(describe-bindings) call-interactively(describe-bindings nil nil) command-execute(describe-bindings) In GNU Emacs 28.0.50 (build 20, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, = cairo version 1.17.3) of 2020-11-01 built on computer Repository revision: ce1856ec09dd312667d8f7cf9ffc908b473d27b8 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12009000 System Description: Arch Linux Configured using: 'configure --prefix=3D/usr/local/' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: IBuffer 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 buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print debug backtrace find-func iso-transl help-mode easymenu cl-loaddefs cl-lib ibuf-ext ibuffer ibuffer-loaddefs seq byte-opt gv bytecomp byte-compile cconv cus-start cus-load 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 tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 cl-preloaded nadvice button loaddefs faces cus-face macroexp files window 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 cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 73166 6242) (symbols 48 8375 1) (strings 32 23163 1978) (string-bytes 1 729977) (vectors 16 14142) (vector-slots 8 185624 8177) (floats 8 26 29) (intervals 56 407 0) (buffers 992 13))