From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: a strange error with list-registers (and better-registers)
Date: Wed, 20 Jul 2022 15:19:38 -0400 [thread overview]
Message-ID: <jwvfsiv7fvh.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87lesn96b1.fsf@mat.ucm.es> (Uwe Brauer's message of "Wed, 20 Jul 2022 17:01:38 +0200")
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
next prev parent reply other threads:[~2022-07-20 19:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-20 15:01 a strange error with list-registers (and better-registers) Uwe Brauer
2022-07-20 19:19 ` Stefan Monnier [this message]
2022-07-20 22:40 ` Michael Heerdegen
2022-07-21 0:00 ` Stefan Monnier
2022-07-22 15:10 ` Uwe Brauer
2022-07-22 15:07 ` Uwe Brauer
2022-07-22 19:55 ` Stefan Monnier
2022-07-23 5:08 ` Uwe Brauer
2022-07-23 13:57 ` Stefan Monnier
2022-07-23 16:36 ` Uwe Brauer
2022-07-23 5:30 ` [remove all text properties in a region] (was: a strange error with list-registers (and better-registers)) Uwe Brauer
2022-07-23 14:00 ` [remove all text properties in a region] Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvfsiv7fvh.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.