[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a strange error with list-registers (and better-registers)
From: |
Stefan Monnier |
Subject: |
Re: a strange error with list-registers (and better-registers) |
Date: |
Wed, 20 Jul 2022 15:19:38 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Please make it a `M-x report-emacs-bug`.
The problem is that the register you saved contained a string which
contained some text properties whose value cannot be printed in
a readable way. The register code should catch the problem
when writing the file (e.g. by stripping this property).
Stefan
Uwe Brauer [2022-07-20 17:01:38] wrote:
> Hi
>
> I am running GNU emacs master from a couple of weeks ago. I very
> frequently use list-registers (and better-registers to save these
> registers (require 'better-registers) ;Version:1.175
> (better-registers-install-save-registers-hook) (load
> better-registers-save-file)
>
> better-registers-save-file is a variable defined in ‘better-registers.el’.
>
> Its value is "~/.emacsregisters.el"
>
>
>
> Now the point is when I restart emacs, sometimes it complains about the
> content of that register file. I solve this issue by deleting this
> specific register entry, it seems somehow a problem that is connected
> with the fonts used. Frankely the entry looks very boated and containing
> unnecessary information (I have seen also bloated information in my
> .abbrev but not to this extend
>
> May be somebody who is acquainted with this sort of information give me
> a hint.
> Here comes the bug trace
> ,----
> |
> | Debugger entered--Lisp error: (invalid-read-syntax "#" 1 0)
> | read(#<buffer *load*>)
> | edebug--read(read #<buffer *load*>)
> | apply(edebug--read read #<buffer *load*>)
> | #f(advice-wrapper :around read edebug--read)(#<buffer *load*>)
> | eval-buffer(#<buffer *load*> nil
> | "/home/oub/ALLES/HGs/init_files/.emacsregisters.el" nil t) ; Reading at
> | buffer position 27963
> |
> load-with-code-conversion("/home/oub/ALLES/HGs/init_files/.emacsregisters.el"
> | "/home/oub/ALLES/HGs/init_files/.emacsregisters.el" nil nil)
> | load("/home/oub/ALLES/HGs/init_files/.emacsregisters.el" nil nil t)
> | load-file("~/ALLES/HGs/init_files/.emacsregisters.el")
> | funcall-interactively(load-file
> "~/ALLES/HGs/init_files/.emacsregisters.el")
> | call-interactively(load-file nil nil)
> | command-execute(load-file)
> |
> `----
>
> Caused by: file attached
>
>
> Regards
>
> Uwe Brauer