all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rodrigo Morales <moralesrodrigo1100@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 59408@debbugs.gnu.org
Subject: bug#59408: Emacs infinitely load when opening .py file
Date: Sun, 20 Nov 2022 11:49:15 -0500	[thread overview]
Message-ID: <CAGxMbPZaAXP1SnTCqbpme_nYyLOLjmvhHwU-1G5HtcYe3E=ZWw@mail.gmail.com> (raw)
In-Reply-To: <83leo56goz.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2078 bytes --]

> Can you try the master branch of the Emacs Git repository, and see if
> your actual Python file loads reasonably fast with Emacs 29?

Done. I compiled Emacs from master branch, and I didn't find that
issue when opening my actual Python file, so, as you said, it seems
that the problem has been fixed in Emacs 29.

For the record, I compiled Emacs from the commit shown below (last
commit in master branch as of the time of this writing)

```
$ git log -n 1
commit 8874cd908c0ea0e2200f6f4f596bf645e76a0c0c (HEAD -> master,
origin/master, origin/HEAD)
Author: Po Lu <luangruo@yahoo.com>
Date:   Sun Nov 20 21:01:10 2022 +0800

    Coalesce duplicate scroll valuator handling code

    Also, write more commentary.

    * src/xterm.c (xi_populate_scroll_valuator): New function.
    Describe the meaning of each field in xi_scroll_valuator_t.
    (xi_populate_device_from_info, xi_handle_new_classes): Factor
    out duplicate code to that function.
```

On Sun, Nov 20, 2022 at 5:52 AM Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Rodrigo Morales <moralesrodrigo1100@gmail.com>
> > Date: Sun, 20 Nov 2022 05:35:34 -0500
> >
> > I've attached a file named "main.py". I've tried opening it with
> > "emacs -Q main.py" in a tty and Emacs infinitely loads.
> >
> > # Reproducing the bug
> >
> > 1. Open the file I've attached in this message with "emacs -Q main.py".
> >
> > At this point, Emacs will infinitely load (at least that's what I can
> > infer since I waited 30 seconds and then decided to kill the process)
>
> Thanks.  I can reproduce this in Emacs 28, but not in Emacs 29.  So I think
> this bug was already fixed for the upcoming Emacs 29 release.
>
> > It's worth mentioning that the attached file is a simplified version
> > of the file that I was editing. When I first found this bug, I was
> > editing a .py file with more lines and I found this infinite loading
> > when I executed M-x occur and searched for any string.
>
> Can you try the master branch of the Emacs Git repository, and see if your
> actual Python file loads reasonably fast with Emacs 29?
>

[-- Attachment #2: Type: text/html, Size: 2740 bytes --]

  reply	other threads:[~2022-11-20 16:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-20 10:35 bug#59408: Emacs infinitely load when opening .py file Rodrigo Morales
2022-11-20 10:52 ` Eli Zaretskii
2022-11-20 16:49   ` Rodrigo Morales [this message]
2022-11-20 17:17     ` Eli Zaretskii

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='CAGxMbPZaAXP1SnTCqbpme_nYyLOLjmvhHwU-1G5HtcYe3E=ZWw@mail.gmail.com' \
    --to=moralesrodrigo1100@gmail.com \
    --cc=59408@debbugs.gnu.org \
    --cc=eliz@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.