GNU bug report logs - #61346
29.0.60; archive misbehaviors

Previous Next

Package: emacs;

Reported by: Ruijie Yu <ruijie <at> netyu.xyz>

Date: Tue, 7 Feb 2023 11:43:01 UTC

Severity: normal

Tags: unreproducible

Found in version 29.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61346 in the body.
You can then email your comments to 61346 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#61346; Package emacs. (Tue, 07 Feb 2023 11:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ruijie Yu <ruijie <at> netyu.xyz>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 07 Feb 2023 11:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ruijie Yu <ruijie <at> netyu.xyz>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.60; archive misbehaviors
Date: Tue, 07 Feb 2023 18:32:23 +0800
CC: Ruijie Yu <ruijie <at> netyu.xyz>

Hello, somewhere in the master branch has the following misbehaviors on
archives -- at least on zip variant.

$ touch 1 2 && zip z 1 2 && mv z.zip z
$ emacs -Q z

Observe the following behaviors:

1. Point initially is at the filename "1", and moves forward 1 character
(after "1") after a short (around 200 - 500 ms) delay.

2. After (1), while holding either control key, point moves to BOL after
summary line (line 7 col 1); echo area displays "Mark set" until the key
is released.

3. After (1), while holding either shift key, the "copy" button on the
tool bar is temporarily enabled until the key is released; echo area
displays "Mark set" for a brief period (around 50 - 200 ms).

4. After (1), while holding left meta key (I cannot test the right one
as I repurposed this key), the echo area displays "There is no other
window" until the key is released.

None of these behaviors happen in my "known good" build.

I don't have time to debug it ATM, so I have put down the versions and
configurations below for others to investigate -- hopefully that is
enough information.

I also just realized that the master build uses X whereas my normal
build uses PGTK -- how do I enable PGTK directly from `make' so I can
make an apple-to-apple comparison?

Thanks.

-------
Problematic version info (built using `make all` and invoked using
`src/emacs ...`):

In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.36, cairo version 1.17.6) of 2023-02-07 built on fw.net.yu
Repository revision: 5642bf0b9726ea299a670e7393695148f31c619b
Repository branch: HEAD
Windowing system distributor 'The X.Org Foundation', version 11.0.12201007
System Description: Arch Linux

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

-------
Known good version info:

In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.36, cairo version 1.17.6) of 2023-01-05 built on ruijie
Repository revision: 8a18369afdc3a873881e7b19b75e94ca96791c84
Repository branch: makepkg
System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
 --with-modules --without-libotf --without-m17n-flt --without-gconf
 --with-native-compilation=yes --with-xinput2 --with-pgtk
 --without-xaw3d --with-sound=no --with-tree-sitter --without-gpm
 --without-compress-install
 '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
 -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
 -fstack-clash-protection -fcf-protection'
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK
PNG RSVG SECCOMP SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER
WEBP XIM GTK3 ZLIB

-------

Best,


RY




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61346; Package emacs. (Tue, 07 Feb 2023 12:40:02 GMT) Full text and rfc822 format available.

Message #8 received at 61346 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ruijie Yu <ruijie <at> netyu.xyz>
Cc: 61346 <at> debbugs.gnu.org
Subject: Re: bug#61346: 29.0.60; archive misbehaviors
Date: Tue, 07 Feb 2023 14:39:14 +0200
> Date: Tue, 07 Feb 2023 18:32:23 +0800
> From:  Ruijie Yu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> CC: Ruijie Yu <ruijie <at> netyu.xyz>
> 
> Hello, somewhere in the master branch has the following misbehaviors on
> archives -- at least on zip variant.
> 
> $ touch 1 2 && zip z 1 2 && mv z.zip z
> $ emacs -Q z
> 
> Observe the following behaviors:
> 
> 1. Point initially is at the filename "1", and moves forward 1 character
> (after "1") after a short (around 200 - 500 ms) delay.
> 
> 2. After (1), while holding either control key, point moves to BOL after
> summary line (line 7 col 1); echo area displays "Mark set" until the key
> is released.
> 
> 3. After (1), while holding either shift key, the "copy" button on the
> tool bar is temporarily enabled until the key is released; echo area
> displays "Mark set" for a brief period (around 50 - 200 ms).
> 
> 4. After (1), while holding left meta key (I cannot test the right one
> as I repurposed this key), the echo area displays "There is no other
> window" until the key is released.

I cannot reproduce any of these strange behaviors.

It sounds like Emacs sees keys pressed that you don't actually press?
What does "C-h l" say after the above?

> In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
>  3.24.36, cairo version 1.17.6) of 2023-02-07 built on fw.net.yu
> Repository revision: 5642bf0b9726ea299a670e7393695148f31c619b

This repository revision is quite old (about 2 weeks), but the date
you built it is from today.  Can you update from Git and rebuild?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61346; Package emacs. (Tue, 07 Feb 2023 13:52:01 GMT) Full text and rfc822 format available.

Message #11 received at 61346 <at> debbugs.gnu.org (full text, mbox):

From: Ruijie Yu <ruijie <at> netyu.xyz>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 61346 <at> debbugs.gnu.org
Subject: Re: bug#61346: 29.0.60; archive misbehaviors
Date: Tue, 07 Feb 2023 21:42:57 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Tue, 07 Feb 2023 18:32:23 +0800
>> From:  Ruijie Yu via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>>
>> CC: Ruijie Yu <ruijie <at> netyu.xyz>
>>
>> Hello, somewhere in the master branch has the following misbehaviors on
>> archives -- at least on zip variant.
>>
>> $ touch 1 2 && zip z 1 2 && mv z.zip z
>> $ emacs -Q z
>>
>> Observe the following behaviors:
>>
>> 1. Point initially is at the filename "1", and moves forward 1 character
>> (after "1") after a short (around 200 - 500 ms) delay.
>>
>> 2. After (1), while holding either control key, point moves to BOL after
>> summary line (line 7 col 1); echo area displays "Mark set" until the key
>> is released.
>>
>> 3. After (1), while holding either shift key, the "copy" button on the
>> tool bar is temporarily enabled until the key is released; echo area
>> displays "Mark set" for a brief period (around 50 - 200 ms).
>>
>> 4. After (1), while holding left meta key (I cannot test the right one
>> as I repurposed this key), the echo area displays "There is no other
>> window" until the key is released.
>
> I cannot reproduce any of these strange behaviors.
>
> It sounds like Emacs sees keys pressed that you don't actually press?
> What does "C-h l" say after the above?
>
>> In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
>>  3.24.36, cairo version 1.17.6) of 2023-02-07 built on fw.net.yu
>> Repository revision: 5642bf0b9726ea299a670e7393695148f31c619b
>
> This repository revision is quite old (about 2 weeks), but the date
> you built it is from today.  Can you update from Git and rebuild?

Hello Eli,

I do not know why, but after I came back from a meal and actually did
"git pull master" instead of "git fetch" to get the latest changes, I no
longer see these issues either -- it is quite strange, and I do not know
of any difference in my system.  I wasn't able to reproduce this issue
even in the old worktree in which I originally discovered the issue.

I think at least at the moment this bug can be closed, and I will keep
it in the back of my mind and report back when I face it again.

Best,


RY




Added tag(s) unreproducible. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 07 Feb 2023 14:52:02 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Tue, 07 Feb 2023 14:52:03 GMT) Full text and rfc822 format available.

Notification sent to Ruijie Yu <ruijie <at> netyu.xyz>:
bug acknowledged by developer. (Tue, 07 Feb 2023 14:52:03 GMT) Full text and rfc822 format available.

Message #18 received at 61346-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ruijie Yu <ruijie <at> netyu.xyz>
Cc: 61346-done <at> debbugs.gnu.org
Subject: Re: bug#61346: 29.0.60; archive misbehaviors
Date: Tue, 07 Feb 2023 16:51:26 +0200
tags 61346 unreproducible
thanks

> From: Ruijie Yu <ruijie <at> netyu.xyz>
> Cc: 61346 <at> debbugs.gnu.org
> Date: Tue, 07 Feb 2023 21:42:57 +0800
> 
> 
> I do not know why, but after I came back from a meal and actually did
> "git pull master" instead of "git fetch" to get the latest changes, I no
> longer see these issues either -- it is quite strange, and I do not know
> of any difference in my system.  I wasn't able to reproduce this issue
> even in the old worktree in which I originally discovered the issue.
> 
> I think at least at the moment this bug can be closed, and I will keep
> it in the back of my mind and report back when I face it again.

Ok, closing.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61346; Package emacs. (Thu, 09 Feb 2023 11:00:02 GMT) Full text and rfc822 format available.

Message #21 received at 61346 <at> debbugs.gnu.org (full text, mbox):

From: Gregory Heytings <gregory <at> heytings.org>
To: Ruijie Yu <ruijie <at> netyu.xyz>
Cc: 61346 <at> debbugs.gnu.org
Subject: Re: bug#61346: 29.0.60; archive misbehaviors
Date: Thu, 09 Feb 2023 10:59:02 +0000
>
> how do I enable PGTK directly from `make' so I can make an 
> apple-to-apple comparison?
>

make configure=--with-pgtk





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Mar 2023 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.