unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Alex Branham <alex.branham@gmail.com>
Cc: 37623@debbugs.gnu.org
Subject: bug#37623: 27.0.50; describe-key fails in tab-bar-mode
Date: Mon, 07 Oct 2019 23:34:48 +0300	[thread overview]
Message-ID: <87k19gpa53.fsf@mail.linkov.net> (raw)
In-Reply-To: <8736g8vbam.fsf@gmail.com> (Alex Branham's message of "Fri, 04 Oct 2019 10:24:17 -0400")

> It appears as though describe-key fails when the mouse is pressed on a
> non-currently-active tab in the tab-bar:
>
> emacs -Q
> M-x tab-bar-mode
> C-x b RET
> C-h k (then click the mouse button on a non-currently-active tab):
>
> run-hook-with-args: Wrong type argument: symbolp, #[0 "ÁÀ!‡" [(tab
> (name . "*scratch*") (time . 1570198894) (wc . #<window-configuration>)
> (ws ((min-height . 4) (min-width . 10) (min-height-ignore . 2)
> (min-width-ignore . 6) (min-height-safe . 1) (min-width-safe . 2)
> (min-pixel-height . 68) (min-pixel-width . 80) (min-pixel-height-ignore
> . 34) (min-pixel-width-ignore . 48) ...) leaf (pixel-width . 1600)
> (pixel-height . 714) (total-width . 200) (total-height . 42)
> (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected
> . t) (hscroll . 0) (fringes 8 8 nil nil) (margins nil) (scroll-bars nil
> 2 t nil 0 t nil) (vscroll . 0) (dedicated) (point . 146) ...)))
> tab-bar-select-tab] 2 nil nil]Cannot find image file
> ‘/build/source/etc/images/tabs/close.xpm’

From what I see, you clicked the mouse button on the tab close button, right?

Then I can reproduce the same problem, and it seems the bug is in
Help mode that can't handle lambda as a function, it supports only
function symbols.  A complete backtrace:

Debugger entered--Lisp error: (wrong-type-argument symbolp (lambda nil (interactive) (tab-bar-close-tab 1)))
  help-fns--globalized-minor-mode((lambda nil (interactive) (tab-bar-close-tab 1)))
  run-hook-with-args(help-fns--globalized-minor-mode (lambda nil (interactive) (tab-bar-close-tab 1)))
  describe-function-1((lambda nil (interactive) (tab-bar-close-tab 1)))
  describe-key((([(tab-bar) C-current-tab] . [(tab-bar) C-current-tab])))
  funcall-interactively(describe-key (([(tab-bar) C-current-tab] . [(tab-bar) C-current-tab])))
  call-interactively(describe-key nil nil)
  command-execute(describe-key)





  reply	other threads:[~2019-10-07 20:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-04 14:24 bug#37623: 27.0.50; describe-key fails in tab-bar-mode Alex Branham
2019-10-07 20:34 ` Juri Linkov [this message]
2019-10-07 21:18   ` Alex Branham
2019-10-09 20:43     ` Juri Linkov
2019-10-09 21:05       ` Alex Branham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k19gpa53.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=37623@debbugs.gnu.org \
    --cc=alex.branham@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).