From: Michael Heerdegen <michael_heerdegen@web.de>
To: Alan Mackenzie <acm@muc.de>
Cc: John Wiegley <jwiegley@gmail.com>,
Lars Ingebrigtsen <larsi@gnus.org>,
54079@debbugs.gnu.org,
Thierry Volpiatto <thierry.volpiatto@gmail.com>
Subject: bug#54079: 29.0.50; Method dispatching eratically fails
Date: Wed, 16 Mar 2022 20:22:14 +0100 [thread overview]
Message-ID: <87fsnh7leh.fsf@web.de> (raw)
In-Reply-To: <YjHPfTolj3hdwboM@ACM> (Alan Mackenzie's message of "Wed, 16 Mar 2022 11:52:29 +0000")
Alan Mackenzie <acm@muc.de> writes:
> I don't know, as yet. Almost certainly, the symbols with position are
> somehow escaping from the compilation context. It looks like something
> in magit. Possibly, I'll need to ask the magit maintainer to call
> byte-run-strip-symbol-positions (which _surely_ ought to be renamed to
> strip_symbol_positions) where these SWPs escape. (Possibly in a macro).
Evaluating the following expression gives me a result containing symbols
with positions. Is this expected? Does not happen in emacs -Q, but in
my session.
#+begin_src emacs-lisp
(let ((include-regexp "\\`\\(?:load-path\\'\\|byte-\\)")
(bindings))
(mapatoms
(lambda (sym)
(let* ((sname (and (boundp sym) (symbol-name sym)))
(value (and sname (symbol-value sym))))
(when (and sname
(or (null include-regexp)
(string-match include-regexp sname))
(not (string-match "-syntax-table\\'" sname)))
(unless (or (stringp value)
(memq value '(nil t))
(numberp value)
(vectorp value))
(setq value `(quote ,value)))
(setq bindings (cons value bindings)
bindings (cons sym bindings))))))
bindings)
#+end_src
That gives me:
(#<symbol magit-log-margin at 854429>
#<symbol magit-status-mode-map at 854375>
#<symbol helm-source-global-mark-ring at 785224>
#<symbol my-magit-log-standard-args at 799360>
#<symbol my-helm-source-ediff-current-file at 798535>
#<symbol helm-source-my-external-command-history at 786886>
#<symbol helm-source-my-external-command-not-found at 786729>
#<symbol helm-source-my-external-commands at 786482>
#<symbol my-helm-do-asynchronous-shell-command-history at 782092>
#<symbol my-helm-elisp-completion-at-point--current-pattern at 767706>
#<symbol debbugs-gnu-mode-map at 753120>
#<symbol debbugs-gnu-phrase-prompt at 752550>
#<symbol meta-mode-map at 732486>
#<symbol LaTeX-mode-map at 732050>
#<symbol meta-mode-map at 731547>
#<symbol slime-volleyball-mode-map at 726893>
#<symbol proced-format-alist at 677873>
#<symbol proced-grammar-alist at 677841>
#<symbol bbdb-records at 665737>
#<symbol org-todo-state-map at 663167>
#<symbol calendar-mode-map at 655782>
#<symbol mines-mode-map at 653366>
#<symbol message-mode-map at 652702>
#<symbol mail-mode-map at 652419>
#<symbol locate-command at 648823>
#<symbol locate-prompt-for-command at 648696>
#<symbol locate-make-command-line at 648660>
#<symbol scheme-mode-map at 648523>
#<symbol lisp-mode-map at 648394>
#<symbol conf-mode-map at 596162>
#<symbol ispell-local-dictionary at 591900> my-helm-eww-input-history
#<symbol eww-history at 569895>
#<symbol eshell-rm-removes-directories at 558353>
#<symbol eshell-visual-commands at 558318>
#<symbol edebug-backtrace-buffer at 508499>
#<symbol edebug-trace-buffer at 507825>
#<symbol wdired-mode-map at 503468>
#<symbol warning-suppress-log-types at 476716>
#<symbol find-cmd-widget-regex-media-file at 364490> dg-date
#<symbol calc-group-digits at 306798>
#<symbol calc-full-float-format at 306746>
#<symbol calc-float-format at 306699>
#<symbol calc-prefer-frac at 306653>
#<symbol calc-language at 304105>
#<symbol calc-help-map at 297613>
#<symbol calc-mode-map at 297474>
#<symbol calc-group-char at 294322>
#<symbol calc-group-digits at 294226>
#<symbol calc-simplify-mode at 294098>
#<symbol calc-prefer-frac at 294042>
#<symbol calc-symbolic-mode at 293982>
#<symbol calc-angle-mode at 293925>
#<symbol var-EvalRules at 291659>
#<symbol calc-highlight-selections-with-faces at 291239>
#<symbol apropos-mode-map at 287698>
#<symbol gnus-message-buffer at 238830>
#<symbol gnus-message-buffer at 238673>
#<symbol gnus-summary-buffer at 238492>
#<symbol gnus-summary-buffer at 238331>
#<symbol gnus-article-buffer at 238167>
#<symbol gnus-article-buffer at 238006>
#<symbol enable-temp-map at 232360>
#<symbol my-toggle-map at 227323> cl-struct-my-command-register-tags
#<symbol ps-header-lines at 160592>
#<symbol ps-right-header at 160565>
#<symbol ps-left-header at 160539>
#<symbol ps-header-font-size at 160508>
#<symbol ps-header-title-font-size at 160471>
#<symbol ps-spool-buffer at 160444>
#<symbol ps-font-size at 160420>
#<symbol frameset--reuse-list at 100801>
#<symbol frameset--action-map at 100763>
#<symbol frameset--target-display at 100721> uncached mark default-low default-high default score)
Doesn't look magit specific.
> In the meantime, could you possibly raise a fresh bug report for this
> one, please, and give a complete recipe for reproducing the bug.
Still appropriate with the new information?
TIA,
Michael.
next prev parent reply other threads:[~2022-03-16 19:22 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-21 0:12 bug#54079: 29.0.50; Method dispatching eratically fails Michael Heerdegen
2022-02-21 1:14 ` Michael Heerdegen
2022-03-04 16:12 ` Lars Ingebrigtsen
2022-02-21 3:16 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-21 4:21 ` Michael Heerdegen
2022-02-22 23:55 ` Michael Heerdegen
2022-02-23 0:27 ` Michael Heerdegen
2022-02-23 0:47 ` Michael Heerdegen
2022-03-04 2:08 ` Michael Heerdegen
2022-03-04 19:11 ` Alan Mackenzie
2022-03-05 16:37 ` Alan Mackenzie
2022-03-05 17:57 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-05 19:00 ` Alan Mackenzie
2022-03-05 23:01 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-05 18:19 ` Eli Zaretskii
2022-03-05 19:07 ` Alan Mackenzie
2022-03-06 2:19 ` Michael Heerdegen
2022-03-08 19:28 ` Alan Mackenzie
2022-03-08 19:53 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-08 20:48 ` Alan Mackenzie
2022-03-08 21:03 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-09 17:42 ` Alan Mackenzie
2022-03-09 18:06 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-09 20:32 ` Alan Mackenzie
2022-03-09 22:04 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-11 22:01 ` Alan Mackenzie
2022-03-12 4:23 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-13 16:49 ` Alan Mackenzie
2022-03-14 12:10 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-09 4:10 ` Michael Heerdegen
2022-03-09 17:29 ` Alan Mackenzie
2022-03-16 1:44 ` Michael Heerdegen
2022-03-16 11:52 ` Alan Mackenzie
2022-03-16 19:22 ` Michael Heerdegen [this message]
2022-03-17 2:58 ` Michael Heerdegen
2022-03-16 19:29 ` Alan Mackenzie
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=87fsnh7leh.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=54079@debbugs.gnu.org \
--cc=acm@muc.de \
--cc=jwiegley@gmail.com \
--cc=larsi@gnus.org \
--cc=thierry.volpiatto@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).