all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 54433@debbugs.gnu.org, acm@muc.de
Subject: bug#54433: 29.0.50; Invalid read syntax: "#<" with async-bytecomp
Date: Fri, 18 Mar 2022 11:58:34 +0000	[thread overview]
Message-ID: <YjRz6lcabQo7tYUQ@ACM> (raw)
In-Reply-To: <87fsngm952.fsf@web.de>

Hello, Michael.

On Fri, Mar 18, 2022 at 00:50:17 +0100, Michael Heerdegen wrote:
> Alan Mackenzie <acm@muc.de> writes:

> > Could you please give a recipe for this situation, preferably starting
> > from emacs -Q?  I don't know how to use async-bytecomp.el, for
> > example.

> Here is the issue:

> https://github.com/jwiegley/emacs-async/issues/153

Thanks.  I've read it, now.

> But I don't think async or async-bytecomp is related to this issue at
> all.  It only hits an issue with vanilla Emacs.  I think it's not
> necessary for you to have a look at async, unless you are interested,
> also because I have a recipe for emacs -Q:

> Byte compile lisp/calendar/appt.el (I did that with B from dired); after
> that:

> byte-optimize--dynamic-vars ->
> (#<symbol original-date at 24141> #<symbol number at 24125>)

> The problem for async-bytecomp is then only that a result like this is
> not `read'able after being printed.

I made a mistake in my last post.  There's actually no reason
byte-optimize--dynamic-vars shouldn't contain symbols with position.
That's what it accumulates.  It is also meant to be a private variable
in the byte compilation (hence the "--" in its name).

Why is async-bytecomp copying byte-optimize--dynamic-vars?  There seems
to be no reason.  Maybe any variables with "--" in their symbols should
be filtered out of the copying operation.

Also, is printing followed by reading really the best way to get a copy
of a Lisp object?  There are several Lisp types, possibly most of them,
whose printed representation can't be read; things like buffers,
windows, processes, .....  I think only the really common objects, like
lists, vectors, strings, numbers have readable printed representations.

> Thierry has removed that variable from the list of handled variables for
> now which circumvents the problem.

I've had at least two Cc:s to Thierry at <thierry.volpiatto@gmail.com>
bounce with "address does not exist".  Do you know if Thierry has
changed his address, or could it just be Google playing more silly
games?

> Michael.

-- 
Alan Mackenzie (Nuremberg, Germany).





  parent reply	other threads:[~2022-03-18 11:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-17  2:55 bug#54433: 29.0.50; Invalid read syntax: "#<" with async-bytecomp Michael Heerdegen
2022-03-17 11:28 ` Alan Mackenzie
2022-03-17 23:50   ` Michael Heerdegen
2022-03-18  0:09     ` Michael Heerdegen
2022-03-18 11:58     ` Alan Mackenzie [this message]
2022-03-18 13:37       ` Thierry Volpiatto
2022-03-18 21:28         ` Alan Mackenzie
2022-03-19  6:17           ` Thierry Volpiatto
2022-03-24  1:38             ` Michael Heerdegen

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=YjRz6lcabQo7tYUQ@ACM \
    --to=acm@muc.de \
    --cc=54433@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    /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.