unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: <david@ngdr.net>
To: Eli Zaretskii <eliz@gnu.org>, <larsi@gnus.org>
Cc: 49599@debbugs.gnu.org
Subject: bug#49599: REPORT error BAD CONS CELL
Date: Sat, 17 Jul 2021 11:00:56 -0600	[thread overview]
Message-ID: <0cf2976d771a3a3c2e4453db89379ad4@127.0.0.1> (raw)
In-Reply-To: <83pmvh4fwp.fsf@gnu.org>

Well Gentlemen, this has turned out to be an interesting issue.

The error message comes from my code, which processes and displays keymap
information.  I wrote the part of the code that raised the error message
at
least 20 years ago and had forgotten about it.  Today, I extended the
message
to identify where it comes from.

The display code has been used many thousands of times, displaying many
keymaps, in Emacs versions dating back possibly as far as 18.59.  The code
has
been in use constantly since that time.  As suggested by what has
happened,
this is the first time that a problem has been flagged in normal use.

The format of Emacs' keymaps has been extended considerably in recent
years,
and the global-map element in question:
(tab-bar menu-item "tab bar" ignore :filter tab-bar-make-keymap)
is different enough to have caused the message.  Overall, this issue is an
example of how changing Emacs specifications can cause downstream, i.e.,
user,
problems.

I apologise for the bug report, there is no bug.  However, interesting
issues
have been raised, which I hope I have explained well enough to give cause
for
thought.

dajo


On Sat, 17 Jul 2021 09:23:50 +0300, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Fri, 16 Jul 2021 17:15:33 -0600
>> From: <david@ngdr.net>
>> 
>> Apparently the global-map has a couple of bad cons cells in it.  I got
>> the
>> following message when I was processing the map.  After that are a few
>> entries
>> from the map itself.
>> 
>> REPORT error BAD CONS CELL (menu-item tab bar ignore :filter
>> tab-bar-make-keymap)
>> (please work out how you did it if you can) press any key to continue.
>> 
>> ..
>> (mouse-4 . mwheel-scroll)
>> (XF86WakeUp . ignore)
>> (tool-bar menu-item tool bar ignore :filter tool-bar-make-keymap)
>> (tab-bar menu-item tab bar ignore :filter tab-bar-make-keymap)
>> (C-f10 . buffer-menu-open)
>> (f10 . menu-bar-open)
>> ..
> 
> Please show the code which triggers this message.
> 
> Thanks.





  reply	other threads:[~2021-07-17 17:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-16 23:15 bug#49599: REPORT error BAD CONS CELL david
2021-07-17  6:23 ` Eli Zaretskii
2021-07-17 17:00   ` david [this message]
2021-07-17 17:31     ` Eli Zaretskii
2021-07-17 14:13 ` Lars Ingebrigtsen

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=0cf2976d771a3a3c2e4453db89379ad4@127.0.0.1 \
    --to=david@ngdr.net \
    --cc=49599@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    /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).