bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54079: 29.0.50; Method dispatching eratically fails


From: Michael Heerdegen
Subject: bug#54079: 29.0.50; Method dispatching eratically fails
Date: Wed, 16 Mar 2022 20:22:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]