unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrey Orst <andreyorst@gmail.com>
To: Andrea Corallo <andrea_corallo@yahoo.it>
Cc: 42108@debbugs.gnu.org
Subject: bug#42108: 28.0.50; treemacs no longer work on native-comp branch
Date: Tue, 30 Jun 2020 17:07:45 +0300	[thread overview]
Message-ID: <CAAKhXoYU+PjFDxLtntjrG8nZCebmxs9mOR4XhX8gwHiEe7Wn7g@mail.gmail.com> (raw)
In-Reply-To: <1410975511.323078.1593512410982@mail.yahoo.com>


[-- Attachment #1.1: Type: text/plain, Size: 857 bytes --]

I've figured out why this error did not happen to me at my home PC. I'm
using desktop-save-mode, and at work it loaded some buffer that enables
yasnippet support, thus immediately producing error. At home I mostly work
with text files, that I don't enable snippets, so error got unnoticed.

I've set `debug-on-error' to t, and here's the trace:



On Tue, Jun 30, 2020 at 1:20 PM Andrea Corallo <andrea_corallo@yahoo.it>
wrote:

> Mmh strange, here seams back stable since yesterday's fix.
>
> Perhaps you can make sure the all the old eln has been removed
> (including the one related to the packages).
>
> The way to debug is to identify the function that is failing, build a
> reproducer and see
> what's going wrong, I know is a bit generic tho :/
>
> If you find a reproducer I'll jump into.
>
> Thanks!
>
>   Andrea
>
>

-- 
Best regards,
Andrey Orst

[-- Attachment #1.2: Type: text/html, Size: 1472 bytes --]

[-- Attachment #2: trace --]
[-- Type: application/octet-stream, Size: 4220 bytes --]

Debugger entered--Lisp error: (void-variable --cl-rest--)
  yas--define-snippets-2(#s(yas--table :name "org-mode" :hash #<hash-table equal 0/65 0xfc9713> :uuidhash #<hash-table equal 0/65 0x100b34f> :parents nil :direct-keymap (keymap)) "kbd" "<kbd>$1</kbd>$0" "kbd" nil nil nil "/home/andreyorst/.config/emacs/snippets/org-mode/k..." nil nil)
  apply(yas--define-snippets-2 #s(yas--table :name "org-mode" :hash #<hash-table equal 0/65 0xfc9713> :uuidhash #<hash-table equal 0/65 0x100b34f> :parents nil :direct-keymap (keymap)) ("kbd" "<kbd>$1</kbd>$0" "kbd" nil nil nil "/home/andreyorst/.config/emacs/snippets/org-mode/k..." nil nil))
  yas--define-snippets-1(("kbd" "<kbd>$1</kbd>$0" "kbd" nil nil nil "/home/andreyorst/.config/emacs/snippets/org-mode/k..." nil nil) #s(yas--table :name "org-mode" :hash #<hash-table equal 0/65 0xfc9713> :uuidhash #<hash-table equal 0/65 0x100b34f> :parents nil :direct-keymap (keymap)))
  yas-define-snippets(org-mode (("kbd" "<kbd>$1</kbd>$0" "kbd" nil nil nil "/home/andreyorst/.config/emacs/snippets/org-mode/k..." nil nil)))
  yas--load-directory-2("/home/andreyorst/.config/emacs/snippets/org-mode" org-mode)
  yas--load-directory-1("/home/andreyorst/.config/emacs/snippets/org-mode" org-mode)
  apply(yas--load-directory-1 ("/home/andreyorst/.config/emacs/snippets/org-mode" org-mode))
  #f(compiled-function (&rest args2) #<bytecode -0x1670aca4031bd959>)()
  yas--load-pending-jits()
  yas-load-directory("/home/andreyorst/.config/emacs/snippets" t)
  yas--load-snippet-dirs(nil)
  yas-reload-all()
  (progn (if (member 'yas-shortest-key-until-whitespace yas-key-syntaxes) yas-key-syntaxes (setq yas-key-syntaxes (cons 'yas-shortest-key-until-whitespace yas-key-syntaxes))) (yas-reload-all) t)
  (condition-case err (progn (if (member 'yas-shortest-key-until-whitespace yas-key-syntaxes) yas-key-syntaxes (setq yas-key-syntaxes (cons 'yas-shortest-key-until-whitespace yas-key-syntaxes))) (yas-reload-all) t) ((debug error) (funcall use-package--warning60 :config err)))
  (closure (t) nil (condition-case err (progn (if (member 'yas-shortest-key-until-whitespace yas-key-syntaxes) yas-key-syntaxes (setq yas-key-syntaxes (cons 'yas-shortest-key-until-whitespace yas-key-syntaxes))) (yas-reload-all) t) ((debug error) (funcall use-package--warning60 :config err))))()
  eval-after-load-helper("/home/andreyorst/.config/emacs/straight/build/yasn...")
  do-after-load-evaluation("/home/andreyorst/.config/emacs/straight/build/yasn...")
  yas-reload-all()
  #f(compiled-function (symbol new) #<bytecode -0x1b7540973ed0e5cb>)(yas-snippet-dirs ("/home/andreyorst/.config/emacs/snippets"))
  custom-initialize-reset(yas-snippet-dirs (list yas--default-user-snippets-dir))
  custom-declare-variable(yas-snippet-dirs (list yas--default-user-snippets-dir) "List of top-level snippet directories.\n\nEach eleme..." :type (choice (directory :tag "Single directory") (repeat :tag "List of directories" (choice (directory) (variable)))) :set #f(compiled-function (symbol new) #<bytecode -0x1b7540973ed0e5cb>))
  yas-minor-mode()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook c-mode-common-hook c++-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook c-mode-common-hook c++-mode-hook))
  run-mode-hooks(c++-mode-hook)
  c++-mode()
  set-auto-mode-0(c++-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer cpu.cc> "~/grid/cmodel/modules/cpu/cpu.cc" nil nil "~/grid/cmodel/modules/cpu/cpu.cc" (2781 43))
  find-file-noselect("/home/andreyorst/grid/cmodel/modules/cpu/cpu.cc" nil nil nil)
  find-file("/home/andreyorst/grid/cmodel/modules/cpu/cpu.cc")
  treemacs-visit-node-no-split(nil)
  treemacs-visit-node-default()
  treemacs-doubleclick-action((double-mouse-1 (#<window 9 on  *Treemacs-Scoped-Buffer-#<frame emacs@t232.cs.niisi.ras.ru 0x24e2a10>*> 939 (110 . 1115) 20467682 nil 939 (12 . 50) nil (7 . 15) (8 . 17)) 2))
  funcall-interactively(treemacs-doubleclick-action (double-mouse-1 (#<window 9 on  *Treemacs-Scoped-Buffer-#<frame emacs@t232.cs.niisi.ras.ru 0x24e2a10>*> 939 (110 . 1115) 20467682 nil 939 (12 . 50) nil (7 . 15) (8 . 17)) 2))
  command-execute(treemacs-doubleclick-action)

  reply	other threads:[~2020-06-30 14:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1187550445.9622186.1593454018533.ref@mail.yahoo.com>
2020-06-28 10:48 ` bug#42108: 28.0.50; treemacs no longer work on native-comp branch Andrey Orst
2020-06-28 20:29   ` Andrea Corallo
2020-06-29  8:52     ` Andrey Orst
2020-06-29 10:46       ` Andrey Orst
2020-06-29 18:06   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-06-30  6:37     ` Andrey Orst
2020-06-30  9:06       ` Andrey Orst
2020-06-30 10:20         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-06-30 14:07           ` Andrey Orst [this message]
2020-06-30 15:17             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-06-30 19:44               ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-07-01 14:02                 ` Andrey Orst
2020-07-01 15:05                   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=CAAKhXoYU+PjFDxLtntjrG8nZCebmxs9mOR4XhX8gwHiEe7Wn7g@mail.gmail.com \
    --to=andreyorst@gmail.com \
    --cc=42108@debbugs.gnu.org \
    --cc=andrea_corallo@yahoo.it \
    /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).