From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56085: 29.0.50; y-or-n-p-use-read-key+xterm-mouse-mode issue on xterm. Date: Sun, 19 Jun 2022 13:28:23 +0200 Message-ID: <20220619112823.g2qhh43gp53peh6q@Ergus> References: <20220619112823.g2qhh43gp53peh6q.ref@Ergus> Reply-To: Ergus Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31201"; mail-complaints-to="usenet@ciao.gmane.io" To: 56085@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 19 13:29:10 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o2t77-0007zi-LP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jun 2022 13:29:09 +0200 Original-Received: from localhost ([::1]:45408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2t76-0005Kg-8Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jun 2022 07:29:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2t70-0005JO-D3 for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 07:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2t70-00087W-4j for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 07:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2t6z-0002NJ-Sn for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 07:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ergus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jun 2022 11:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56085 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16556381169068 (code B ref -1); Sun, 19 Jun 2022 11:29:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jun 2022 11:28:36 +0000 Original-Received: from localhost ([127.0.0.1]:50721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2t6a-0002MB-0M for submit@debbugs.gnu.org; Sun, 19 Jun 2022 07:28:36 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2t6Y-0002M4-Ix for submit@debbugs.gnu.org; Sun, 19 Jun 2022 07:28:34 -0400 Original-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 ) id 1o2t6Y-0005Hm-D2 for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 07:28:34 -0400 Original-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 ) id 1o2t6V-00084n-Aw for bug-gnu-emacs@gnu.org; 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 FYIn2A7zZoCbR72mShV.Ab9DZVYhOiBphYfbgJw2pmIPFzUdBjHDKvO9YZpW88XU2B9PmQoCaXL6 VjtA7tq6f2o5IRQOWpcvVDNOd3B_txIsDUCZrCacJ7YVXmjffHxVyIGoQnzX5QAt4cHwy39E575C 3FBw9Q62.5vcsVoRcv.uyUvU6AK2eBm4XN4y9xXigDah3BR4FcPoKfKeq2fVciIce0zZnpQeFHoc f18noRjTBcdYKF3TPpSsM.fBC8I35tMJAtLedyxXEo1A8eMY4imgyvNBD57cj5_F3lXhARlckOLb 4DkmwgVC0fORh8Vo7ilgNq82qcSVn_JtLZZhaFB_k66yAXUKYLh7RqqriRuSFcjOqMeR6VpYk42x oEE6UzHG2.JYPWHVNaVuB2ywj.PT74n16Q23_1JL.J3SKa4qcgZv01JbJ1KfGPbULSVoY2cep08g SZAK77iYtuSA0.xQrgrViRPIrpWbcSP8zYwvxTqqHR25lS9HoVLJHUSk7cUQsyWurBJbOJ7eC8za e87ahnEt5WCgJiMT4Rcz7zQaY3Hlsrola9RUVkYuVBFnocZY5ciVutl8eslnsWbWhu3myapEGxd4 vQd8cT6UZsX8eRkhDgNB8bydckAK02SeYLUKJg5jff2Epih1wnhSeANCihFqkixzR2dczfDHhqoZ hwmScpBAKtoizWFAtNePG72JJK2wd1dESrzP_xEMxe X-Sonic-MF: Original-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 Original-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) Content-Disposition: inline X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.128.32; envelope-from=spacibba@aol.com; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234773 Archived-At: 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))