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

Hello, Thierry.

On Fri, Mar 18, 2022 at 13:37:43 +0000, Thierry Volpiatto wrote:
> Alan Mackenzie <acm@muc.de> writes:

> > 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.

> You are right, there is no reason for this particular one and also the
> private ones, however we used in the past to load all byte-* variables
> for a reason I don't remember, IMO it is not needed anymore to load byte-* vars
> private or not, so I removed this.

I think that all the byte-* variables are connected with byte
compilation.  But I also think that they are (?nearly?) all internal
variables, so it shouldn't be needed to copy them to an aynchronous
thread (?or process?).

> > Maybe any variables with "--" in their symbols should be filtered out
> > of the copying operation.

> Name space problem, byte-* vars and functions have no fixed prefix (not
> always).
 
OK.  I think you're saying that there are other variables with "--" that
you _do_ need to copy.

> > 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?

> My fault I didn't update my mail address in async source files, will do
> soon, sorry for this.

Well, we're back in communication again.  :-)  I've heard good things
about posteo.

> Thanks.

> -- 
> Thierry

-- 
Alan Mackenzie (Nuremberg, Germany).





  reply	other threads:[~2022-03-18 21:28 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
2022-03-18 13:37       ` Thierry Volpiatto
2022-03-18 21:28         ` Alan Mackenzie [this message]
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=YjT5gJNNJ65juUmp@ACM \
    --to=acm@muc.de \
    --cc=54433@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=thievol@posteo.net \
    /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.