* bug#73860: 29.2; tetris on windows
@ 2024-10-18 12:01 Pierpaolo Bernardi
2024-10-18 12:20 ` Pierpaolo Bernardi
2024-10-18 12:54 ` Eli Zaretskii
0 siblings, 2 replies; 15+ messages in thread
From: Pierpaolo Bernardi @ 2024-10-18 12:01 UTC (permalink / raw)
To: 73860
Hello,
the game tetris does not work in my setup.
Using "emacs -q" makes no difference.
The emacs used is a binary distribution downloaded from gnu.org
the screen appears in this way:
(in case this will be mangled in the email, the playfield is populated with
control characters, shown as "^H", "^G", etc.)
Thank you!
--------
\0\0
\0\0
\0\0 Shapes: 00010
\0\0 Rows: 00000
Score: 00060
--------
In GNU Emacs 29.2 (build 2, x86_64-w64-mingw32) of 2024-01-18 built on
AVALON
Windowing system distributor 'Microsoft Corp.', version 10.0.19045
System Description: Microsoft Windows 10 Home (v10.0.2009.19045.5011)
Configured using:
'configure --with-modules --without-dbus --with-native-compilation=aot
--without-compress-install --with-tree-sitter --with-sqlite3
CFLAGS=-O2'
Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB
(NATIVE_COMP present but libgccjit not available)
Important settings:
value of $LANG: ITA
locale-coding-system: cp1252
Major mode: Tetris
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
buffer-read-only: t
line-number-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
None found.
Features:
(shadow mail-extr emacsbug message yank-media puny rfc822 mml mml-sec
epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils gomoku
solitaire hanoi mule-util cal-move cal-menu calendar cal-loaddefs view
sort help-mode rect tetris gamegrid misearch multi-isearch imenu go-mode
find-file ffap thingatpt etags fileloop generator xref project compile
text-property-search comint ansi-osc ansi-color ring time-date dired-aux
dired dired-loaddefs go-mode-autoloads package browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x
map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table
term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty
make-network-process native-compile emacs)
Memory information:
((conses 16 143593 8118)
(symbols 48 10267 0)
(strings 32 33933 1438)
(string-bytes 1 1028228)
(vectors 16 21693)
(vector-slots 8 445323 14364)
(floats 8 70 246)
(intervals 56 6098 45)
(buffers 984 25))
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
2024-10-18 12:01 bug#73860: 29.2; tetris on windows Pierpaolo Bernardi
@ 2024-10-18 12:20 ` Pierpaolo Bernardi
2024-10-18 12:58 ` Eli Zaretskii
2024-10-18 12:54 ` Eli Zaretskii
1 sibling, 1 reply; 15+ messages in thread
From: Pierpaolo Bernardi @ 2024-10-18 12:20 UTC (permalink / raw)
To: 73860
Screen capture: https://ibb.co/4VFXrLp
Cheers
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
2024-10-18 12:01 bug#73860: 29.2; tetris on windows Pierpaolo Bernardi
2024-10-18 12:20 ` Pierpaolo Bernardi
@ 2024-10-18 12:54 ` Eli Zaretskii
1 sibling, 0 replies; 15+ messages in thread
From: Eli Zaretskii @ 2024-10-18 12:54 UTC (permalink / raw)
To: Pierpaolo Bernardi; +Cc: 73860
> From: Pierpaolo Bernardi <olopierpa@gmail.com>
> Date: Fri, 18 Oct 2024 14:01:33 +0200
>
> the game tetris does not work in my setup.
>
> Using "emacs -q" makes no difference.
>
> The emacs used is a binary distribution downloaded from gnu.org
>
> the screen appears in this way:
>
> (in case this will be mangled in the email, the playfield is populated with
> control characters, shown as "^H", "^G", etc.)
I cannot reproduce this: the game works fine for me on MS-Windows,
both in GUI session and in -nw session. Maybe this is specific to the
Italian locale (although I couldn't imagine how that could affect the
game).
Can someone else reproduce this problem?
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
2024-10-18 12:20 ` Pierpaolo Bernardi
@ 2024-10-18 12:58 ` Eli Zaretskii
[not found] ` <CANY8u7Gh1e5dDySUedGuWdzV1uuuEwFTL0OgNZCDxEBtT_N=Tg@mail.gmail.com>
0 siblings, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2024-10-18 12:58 UTC (permalink / raw)
To: Pierpaolo Bernardi; +Cc: 73860
> From: Pierpaolo Bernardi <olopierpa@gmail.com>
> Date: Fri, 18 Oct 2024 14:20:43 +0200
>
> Screen capture: https://ibb.co/4VFXrLp
Please show all the steps you make to reproduce this, starting from
"emacs -Q".
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
[not found] ` <86ttd9mpa7.fsf@gnu.org>
@ 2024-10-18 18:27 ` Pierpaolo Bernardi
2024-10-18 18:44 ` Eli Zaretskii
2024-10-18 18:43 ` Pierpaolo Bernardi
1 sibling, 1 reply; 15+ messages in thread
From: Pierpaolo Bernardi @ 2024-10-18 18:27 UTC (permalink / raw)
To: Eli Zaretskii, 73860
On Fri, Oct 18, 2024 at 4:58 PM Eli Zaretskii <eliz@gnu.org> wrote:
> I guess it will work for you in GUI mode if you set tetris-use-glyphs
> to nil?
Yes.
> Can your Emacs display XPM images?
No.
> E.g., try the ones in etc/images/
> directory under the Emacs installation tree.
I have no etc directory in the Emacs installation tree.
I have: ..
drwxrwxrwx 1 romeo romeo 12288 2024-01-18 bin
drwxrwxrwx 1 romeo romeo 0 2024-01-18 include
drwxrwxrwx 1 romeo romeo 0 2024-01-18 lib
drwxrwxrwx 1 romeo romeo 0 2024-01-18 libexec
drwxrwxrwx 1 romeo romeo 0 2024-01-18 share
So, it looks like there's been an error in the packaging of this
binary release?
I'll try installing the most recent release, and report back...
Cheers
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
[not found] ` <86ttd9mpa7.fsf@gnu.org>
2024-10-18 18:27 ` Pierpaolo Bernardi
@ 2024-10-18 18:43 ` Pierpaolo Bernardi
1 sibling, 0 replies; 15+ messages in thread
From: Pierpaolo Bernardi @ 2024-10-18 18:43 UTC (permalink / raw)
To: Eli Zaretskii, 73860
On Fri, Oct 18, 2024 at 4:58 PM Eli Zaretskii <eliz@gnu.org> wrote:
> Can your Emacs display XPM images? E.g., try the ones in etc/images/
> directory under the Emacs installation tree.
Sorry, I had missed that the directory is in
emacs-29.2/share/emacs/29.2/etc/images,
I confirm that Emacs cannot show the xpm, files.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
2024-10-18 18:27 ` Pierpaolo Bernardi
@ 2024-10-18 18:44 ` Eli Zaretskii
2024-10-18 19:04 ` Pierpaolo Bernardi
0 siblings, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2024-10-18 18:44 UTC (permalink / raw)
To: Pierpaolo Bernardi, Corwin Brust; +Cc: 73860
> From: Pierpaolo Bernardi <olopierpa@gmail.com>
> Date: Fri, 18 Oct 2024 20:27:50 +0200
>
> On Fri, Oct 18, 2024 at 4:58 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > I guess it will work for you in GUI mode if you set tetris-use-glyphs
> > to nil?
>
> Yes.
OK.
> > Can your Emacs display XPM images?
>
> No.
How come? I think this is the cause of your problem, but it shouldn't
happen: every Emacs binary distribution on MS-Windows must be capable
of displaying XPM (because the tool-bar icons are XPM images). Do you
have libxpm-noX4.dll (or similarly-named) library in the same
directory as emacs.exe or somewhere on PATH?
> > E.g., try the ones in etc/images/
> > directory under the Emacs installation tree.
>
> I have no etc directory in the Emacs installation tree.
> I have: ..
> drwxrwxrwx 1 romeo romeo 12288 2024-01-18 bin
> drwxrwxrwx 1 romeo romeo 0 2024-01-18 include
> drwxrwxrwx 1 romeo romeo 0 2024-01-18 lib
> drwxrwxrwx 1 romeo romeo 0 2024-01-18 libexec
> drwxrwxrwx 1 romeo romeo 0 2024-01-18 share
The images should be under share/emacs/29.2/etc/images/.
> So, it looks like there's been an error in the packaging of this
> binary release?
If your installation lacks a libxpm DLL, then yes. It must be part of
the package.
Corwin, any ideas or suggestions?
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
2024-10-18 18:44 ` Eli Zaretskii
@ 2024-10-18 19:04 ` Pierpaolo Bernardi
2024-10-19 15:36 ` Corwin Brust
0 siblings, 1 reply; 15+ messages in thread
From: Pierpaolo Bernardi @ 2024-10-18 19:04 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Corwin Brust, 73860
On Fri, Oct 18, 2024 at 8:44 PM Eli Zaretskii <eliz@gnu.org> wrote:
> > > Can your Emacs display XPM images?
> >
> > No.
>
> How come? I think this is the cause of your problem, but it shouldn't
> happen: every Emacs binary distribution on MS-Windows must be capable
> of displaying XPM (because the tool-bar icons are XPM images). Do you
> have libxpm-noX4.dll (or similarly-named) library in the same
> directory as emacs.exe or somewhere on PATH?
No.
To be sure, I checked in the zip file that I downloaded and lixpm is not there.
Now I downloaded emacs-29.4.zip. I have not installed it yet, BUT the
file libXpm-nox4.dll is in the zip
I forgot to write that I use the .zip file. Maybe the .exe installer
did not have this problem, and that may be why nobody noticed before.
> > So, it looks like there's been an error in the packaging of this
> > binary release?
>
> If your installation lacks a libxpm DLL, then yes. It must be part of
> the package.
Looks like this was the case, and it has already been fixed in newer releases.
Thank you for the support!
Cheers
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
2024-10-18 19:04 ` Pierpaolo Bernardi
@ 2024-10-19 15:36 ` Corwin Brust
2024-10-19 15:45 ` Eli Zaretskii
2024-10-19 19:05 ` Pierpaolo Bernardi
0 siblings, 2 replies; 15+ messages in thread
From: Corwin Brust @ 2024-10-19 15:36 UTC (permalink / raw)
To: Pierpaolo Bernardi; +Cc: Eli Zaretskii, 73860
Hi. Coming to this thread too late to be of use, I fear. So it's
likely fine to ignore this "for the record" reply. Glad things are
sorted using the latest binary release. (Or please LMK if I may be
misunderstanding, believing that you are good to go.)
On Fri, Oct 18, 2024 at 2:04 PM Pierpaolo Bernardi <olopierpa@gmail.com> wrote:
>
> On Fri, Oct 18, 2024 at 8:44 PM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > > > Can your Emacs display XPM images?
> > >
> > > No.
> >
> > How come? I think this is the cause of your problem, but it shouldn't
> > happen: every Emacs binary distribution on MS-Windows must be capable
> > of displaying XPM (because the tool-bar icons are XPM images). Do you
> > have libxpm-noX4.dll (or similarly-named) library in the same
> > directory as emacs.exe or somewhere on PATH?
>
> No.
>
> To be sure, I checked in the zip file that I downloaded and lixpm is not there.
>
> Now I downloaded emacs-29.4.zip. I have not installed it yet, BUT the
> file libXpm-nox4.dll is in the zip
>
> I forgot to write that I use the .zip file. Maybe the .exe installer
> did not have this problem, and that may be why nobody noticed before.
>
Both zip and self-installer (exe) had this problem.
> > > So, it looks like there's been an error in the packaging of this
> > > binary release?
> >
> > If your installation lacks a libxpm DLL, then yes. It must be part of
> > the package.
>
> Looks like this was the case, and it has already been fixed in newer releases.
>
Quite correct. Apologies for the inconvenience my error caused.
> Thank you for the support!
>
> Cheers
>
Thank you for reporting the problem. (And also for the 10m I just
spent playing tetris. Alas, I am not better at this game than I
remember.) Your report could easily have been the first indication of
the problem; it is much appreciated.
I will also note, in passing, the existence of this pre-release for
Emacs 30 (30.0.91) from the alpha FTP site. I don't know of any
problems with it, but I also don't know if it has seen a great deal of
use.
https://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-30/?C=M;O=D
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
2024-10-19 15:36 ` Corwin Brust
@ 2024-10-19 15:45 ` Eli Zaretskii
2024-10-19 16:28 ` Corwin Brust
2024-10-19 19:05 ` Pierpaolo Bernardi
1 sibling, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2024-10-19 15:45 UTC (permalink / raw)
To: Corwin Brust; +Cc: olopierpa, 73860
> From: Corwin Brust <corwin@bru.st>
> Date: Sat, 19 Oct 2024 10:36:12 -0500
> Cc: Eli Zaretskii <eliz@gnu.org>, 73860@debbugs.gnu.org
>
> > Now I downloaded emacs-29.4.zip. I have not installed it yet, BUT the
> > file libXpm-nox4.dll is in the zip
> >
> > I forgot to write that I use the .zip file. Maybe the .exe installer
> > did not have this problem, and that may be why nobody noticed before.
> >
>
> Both zip and self-installer (exe) had this problem.
>
>
> > > > So, it looks like there's been an error in the packaging of this
> > > > binary release?
> > >
> > > If your installation lacks a libxpm DLL, then yes. It must be part of
> > > the package.
> >
> > Looks like this was the case, and it has already been fixed in newer releases.
> >
>
> Quite correct. Apologies for the inconvenience my error caused.
So let me see if I got this right: the Emacs 29.2 distribution didn't
include the libxpm DLL, but the 29.4 distribution does?
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
2024-10-19 15:45 ` Eli Zaretskii
@ 2024-10-19 16:28 ` Corwin Brust
2024-10-19 17:03 ` Eli Zaretskii
0 siblings, 1 reply; 15+ messages in thread
From: Corwin Brust @ 2024-10-19 16:28 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: olopierpa, 73860
On Sat, Oct 19, 2024 at 10:45 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> So let me see if I got this right: the Emacs 29.2 distribution didn't
> include the libxpm DLL, but the 29.4 distribution does?
>
Pawing through my local archive of released builds, I see:
29.2 was missing libxpm.dll
29.2_1 includes libxpm
I can do more thorough searches, for example pulling from what is on
the FTP servers, in case I have made some error maintaining my own
archives, and/or comprehensively contrasting the DLLs provided with
each version I've uploaded. Let me know if (what) may be useful.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
2024-10-19 16:28 ` Corwin Brust
@ 2024-10-19 17:03 ` Eli Zaretskii
0 siblings, 0 replies; 15+ messages in thread
From: Eli Zaretskii @ 2024-10-19 17:03 UTC (permalink / raw)
To: Corwin Brust; +Cc: olopierpa, 73860
> From: Corwin Brust <corwin@bru.st>
> Date: Sat, 19 Oct 2024 11:28:19 -0500
> Cc: olopierpa@gmail.com, 73860@debbugs.gnu.org
>
> On Sat, Oct 19, 2024 at 10:45 AM Eli Zaretskii <eliz@gnu.org> wrote:
> >
> > So let me see if I got this right: the Emacs 29.2 distribution didn't
> > include the libxpm DLL, but the 29.4 distribution does?
> >
>
> Pawing through my local archive of released builds, I see:
> 29.2 was missing libxpm.dll
> 29.2_1 includes libxpm
>
> I can do more thorough searches, for example pulling from what is on
> the FTP servers, in case I have made some error maintaining my own
> archives, and/or comprehensively contrasting the DLLs provided with
> each version I've uploaded. Let me know if (what) may be useful.
No, what you said is enough, thanks.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
2024-10-19 15:36 ` Corwin Brust
2024-10-19 15:45 ` Eli Zaretskii
@ 2024-10-19 19:05 ` Pierpaolo Bernardi
2024-10-19 19:48 ` Corwin Brust
1 sibling, 1 reply; 15+ messages in thread
From: Pierpaolo Bernardi @ 2024-10-19 19:05 UTC (permalink / raw)
To: Corwin Brust; +Cc: Eli Zaretskii, 73860
On Sat, Oct 19, 2024 at 5:36 PM Corwin Brust <corwin@bru.st> wrote:
> Thank you for reporting the problem. (And also for the 10m I just
> spent playing tetris. Alas, I am not better at this game than I
> remember.)
:)
To put this on the record: I confirm that tetris in the 29.4 binary
distribution works as expected for me.
Thank you Eli and Corwin
> I will also note, in passing, the existence of this pre-release for
> Emacs 30 (30.0.91) from the alpha FTP site. I don't know of any
> problems with it, but I also don't know if it has seen a great deal of
> use.
>
> https://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-30/?C=M;O=D
OK. I will start using it.
Cheers
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
2024-10-19 19:05 ` Pierpaolo Bernardi
@ 2024-10-19 19:48 ` Corwin Brust
2024-10-19 21:08 ` Pierpaolo Bernardi
0 siblings, 1 reply; 15+ messages in thread
From: Corwin Brust @ 2024-10-19 19:48 UTC (permalink / raw)
To: Pierpaolo Bernardi; +Cc: 73860-done
[-- Attachment #1: Type: text/plain, Size: 688 bytes --]
On Sat, Oct 19, 2024, 14:05 Pierpaolo Bernardi <olopierpa@gmail.com> wrote:
> On Sat, Oct 19, 2024 at 5:36 PM Corwin Brust <corwin@bru.st> wrote:
>
>
> To put this on the record: I confirm that tetris in the 29.4 binary
> distribution works as expected for me.
>
Yay! I am therefore closing this bug.
>
> > I will also note, in passing, the existence of this pre-release for
> > Emacs 30 (30.0.91) from the alpha FTP site. I don't know of any
> > problems with it, but I also don't know if it has seen a great deal of
> > use.
> >
> > https://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-30/?C=M;O=D
>
> OK. I will start using it.
>
>
> Many thanks!
>
>
[-- Attachment #2: Type: text/html, Size: 1454 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#73860: 29.2; tetris on windows
2024-10-19 19:48 ` Corwin Brust
@ 2024-10-19 21:08 ` Pierpaolo Bernardi
0 siblings, 0 replies; 15+ messages in thread
From: Pierpaolo Bernardi @ 2024-10-19 21:08 UTC (permalink / raw)
To: Corwin Brust; +Cc: 73860-done
Hello again,
I downloaded emacs-30.0.91.zip. Working great for now :)
EXCEPT that this zip too is missing libXpm-nox4.dll. So the report
which started this thread is also valid for this distribution.
Copying the libxpm file in the bin directory fixes this.
Cheers
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2024-10-19 21:08 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-18 12:01 bug#73860: 29.2; tetris on windows Pierpaolo Bernardi
2024-10-18 12:20 ` Pierpaolo Bernardi
2024-10-18 12:58 ` Eli Zaretskii
[not found] ` <CANY8u7Gh1e5dDySUedGuWdzV1uuuEwFTL0OgNZCDxEBtT_N=Tg@mail.gmail.com>
[not found] ` <86ttd9mpa7.fsf@gnu.org>
2024-10-18 18:27 ` Pierpaolo Bernardi
2024-10-18 18:44 ` Eli Zaretskii
2024-10-18 19:04 ` Pierpaolo Bernardi
2024-10-19 15:36 ` Corwin Brust
2024-10-19 15:45 ` Eli Zaretskii
2024-10-19 16:28 ` Corwin Brust
2024-10-19 17:03 ` Eli Zaretskii
2024-10-19 19:05 ` Pierpaolo Bernardi
2024-10-19 19:48 ` Corwin Brust
2024-10-19 21:08 ` Pierpaolo Bernardi
2024-10-18 18:43 ` Pierpaolo Bernardi
2024-10-18 12:54 ` Eli Zaretskii
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.