GNU bug report logs - #56085
29.0.50; y-or-n-p-use-read-key+xterm-mouse-mode issue on xterm.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ergus <spacibba@HIDDEN>; dated Sun, 19 Jun 2022 11:29:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Jun 2022 11:28:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 19 07:28:36 2022
Received: from localhost ([127.0.0.1]:50721 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o2t6a-0002MB-0M
	for submit <at> debbugs.gnu.org; Sun, 19 Jun 2022 07:28:36 -0400
Received: from lists.gnu.org ([209.51.188.17]:52902)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <spacibba@HIDDEN>) id 1o2t6Y-0002M4-Ix
 for submit <at> debbugs.gnu.org; Sun, 19 Jun 2022 07:28:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36624)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <spacibba@HIDDEN>) id 1o2t6Y-0005Hm-D2
 for bug-gnu-emacs@HIDDEN; Sun, 19 Jun 2022 07:28:34 -0400
Received: from sonic304-9.consmr.mail.bf2.yahoo.com ([74.6.128.32]:46419)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <spacibba@HIDDEN>) id 1o2t6V-00084n-Aw
 for bug-gnu-emacs@HIDDEN; Sun, 19 Jun 2022 07:28:33 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048;
 t=1655638108; bh=PhPJzIhzk8OL6/HXiuQtt9FaCOjBxx764lLqMUajTJg=;
 h=Date:From:To:Subject:References:From:Subject:Reply-To;
 b=Mv4gOBynJv6rTH+oDrZ+Mx4W/Df6U6g95UY+5sfl3+33YUCY8K3XN91F2mqkJ03I05y54rq7Q3MZIXrGEGUNaVGMvQHhHtUNg3eSiCh+zhSlTzIoLALpVNWpsxEUTV4NvuSDjSUgWQTXradAl8j+b4jYlQsKU+yWyV9qg1Fnjc+AduQiIKBicErTXYoCGbyylU9VSfJ6Cn7wnBSbNgkdgpFNw54PPAeWBrKPhaM7KH1PpqWNDH8TaAmuDd3dqxWePOvLjygM1K5/VnymjYYkPQPaKn4UiZ2mqAMRIAw/T9Ou86akSc5Fj+NWgdoYaVqy31drJd451oeEZNEmdC7iGw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1655638108; bh=2P73fvTPnYZIiv4EALG4dJbI8xrPLVjtheQMtE0h4ec=;
 h=X-Sonic-MF:Date:From:To:Subject:From:Subject;
 b=ZWXhwmFnZvZM8JzzZn8EvICxmmSZcwwrKDj0L4oTMJMMrcmM5Bb2/BY8zkJm5OkDqBY+NiToIW3l8R0KotKWqy5X2SqsfDISZt+LZzfgzNfGXIR2xThM5r80hHLjTZmdTQYgR+E+3XZyxHdGPSAfqQtDurvB/Tvl5eseT9BbELuHR6wT763zQYhjos7GdCoH2YxHp8TkrpWOC3tYE23UgLMZ0zrshGF7lEpej7OnhaZ/pu6W/ovOYz7YrBHGoAvPcnrekPAMOA2prI9y3Nu03wLeiIp126a1MgvhRXIGLl8jVktJU6XlJXPepx5Au2OSVriOO2xNL4At2toW2yWs6g==
X-YMail-OSG: CEQZLC0VM1nmPBlqqDJyxVyMVO8UDrjYzj0sh8XYTcACVdCSCsSo.JUyNioBgHZ
 dMBqYpXe6x7IaGnjzpN0KkXRPmGHjuYv5CVrovO7m6wnyba8O1bC7RSbdjT3JaIzWMatbHykxF5F
 FYIn2A7zZoCbR72m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
X-Sonic-MF: <spacibba@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic304.consmr.mail.bf2.yahoo.com with HTTP; Sun, 19 Jun 2022 11:28:28 +0000
Received: by hermes--canary-production-ir2-c9bf9d9bc-jgw49 (Yahoo Inc. Hermes
 SMTP Server) with ESMTPA ID 8572e81d51ef25edddb92d42dad15c86; 
 Sun, 19 Jun 2022 11:28:25 +0000 (UTC)
Date: Sun, 19 Jun 2022 13:28:23 +0200
From: Ergus <spacibba@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; y-or-n-p-use-read-key+xterm-mouse-mode issue on xterm.
Message-ID: <20220619112823.g2qhh43gp53peh6q@Ergus>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
References: <20220619112823.g2qhh43gp53peh6q.ref@Ergus>
X-Mailer: WebService/1.1.20280
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol
Content-Length: 3758
Received-SPF: pass client-ip=74.6.128.32; envelope-from=spacibba@HIDDEN;
 helo=sonic304-9.consmr.mail.bf2.yahoo.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi:

The behavior of the prompt in xterm emacs and the echo area seems to
conflict somehow.

emacs -Q
(xterm-mouse-mode)
(setq y-or-n-p-use-read-key t)
(y-or-n-p "PROMPT")

If I move the mouse now the then the text in the echo area hides and
reappears because emacs tries to print the mouse bindings.

I need to press the some key to see the prompt again.

When there are multiple prompts (like shutting down + ask if want to
save some buffer) the problem actually gets worst.

Best,
Ergus


In GNU Emacs 29.0.50 (build 19, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6)
  of 2022-06-18 built on Ergus
Repository revision: 8b45e7c6811215a0b70ade840c96e920cdb1569f
Repository branch: master
System Description: Arch Linux

Configured using:
  'configure --prefix=/home/ergo/.local/ --with-mailutils --with-json
  --with-x-toolkit=gtk3 --with-xft --with-modules --with-cairo
  --with-harfbuzz --with-native-compilation
  '--program-transform-name=s/^ctags$/ctags.emacs/''

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

Important settings:
   value of $LANG: en_US.UTF-8
   locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
   xterm-mouse-mode: t
   tooltip-mode: t
   global-eldoc-mode: t
   eldoc-mode: t
   show-paren-mode: t
   electric-indent-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   line-number-mode: t
   indent-tabs-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 sort mail-extr emacsbug comp comp-cstr warnings rx cl-seq
cl-macs cl-extra help-mode message mailcap yank-media rmc puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search seq mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date
cl-loaddefs cl-lib xt-mouse term/tmux term/xterm xterm gv subr-x
byte-opt bytecomp byte-compile cconv iso-transl tooltip eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd 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 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 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 dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 87017 8764)
  (symbols 48 7336 0)
  (strings 32 20501 1695)
  (string-bytes 1 767002)
  (vectors 16 12725)
  (vector-slots 8 220854 13055)
  (floats 8 34 791)
  (intervals 56 442 0)
  (buffers 992 13))




Acknowledgement sent to Ergus <spacibba@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#56085; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 19 Jun 2022 11:30:01 UTC

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