From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Marshall Newsgroups: gmane.emacs.bugs Subject: bug#47969: 28.0.50; Losing minibuffer focus in trying M-x command Date: Fri, 23 Apr 2021 14:00:13 +0100 Message-ID: <24706.50397.801563.461736@capuchin.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23855"; mail-complaints-to="usenet@ciao.gmane.io" To: 47969@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 23 15:02:25 2021 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 1lZvRw-00063e-LI for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 15:02:24 +0200 Original-Received: from localhost ([::1]:48978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZvRv-0006Pv-Ko for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 09:02:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZvQc-0005dm-AO for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 09:01:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZvQc-0008W9-07 for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 09:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZvQb-0004Ht-Vi for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 09:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Marshall Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Apr 2021 13:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47969 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.161918283316431 (code B ref -1); Fri, 23 Apr 2021 13:01:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2021 13:00:33 +0000 Original-Received: from localhost ([127.0.0.1]:36407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZvQ9-0004Gw-5n for submit@debbugs.gnu.org; Fri, 23 Apr 2021 09:00:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:47684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZvQ8-0004Gp-AK for submit@debbugs.gnu.org; Fri, 23 Apr 2021 09:00:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZvQ7-00059i-Vn for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 09:00:32 -0400 Original-Received: from know-smtprelay-omc-5.server.virginmedia.net ([80.0.253.69]:53448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZvQ3-00086i-HL for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 09:00:31 -0400 Original-Received: from capuchin.co.uk ([82.0.180.44]) by cmsmtp with ESMTP id ZvPtlpagF52czZvPtlu82e; Fri, 23 Apr 2021 14:00:17 +0100 X-Originating-IP: [82.0.180.44] X-Spam: 0 X-Authority: v=2.3 cv=WpQFz+Xv c=1 sm=1 tr=0 cx=a_exe a=ZmEqW+an5eg7eqPGYFwV/Q==:117 a=ZmEqW+an5eg7eqPGYFwV/Q==:17 a=kj9zAlcOel0A:10 a=3YhXtTcJ-WEA:10 a=aR16PxjQAAAA:8 a=Gezk92GOy8B0H7chPXMA:9 a=CjuIK1q_8ugA:10 a=zbFvvTOBjyH4ze5LlUjX:22 Original-Received: from poulenc.faure (unknown [192.168.0.153]) by capuchin.co.uk (Postfix) with ESMTPS id 4D25319F349 for ; Fri, 23 Apr 2021 14:00:17 +0100 (BST) X-Mailer: VM 8.2.0b under 28.0.50 (x86_64-pc-linux-gnu) X-CMAE-Envelope: MS4wfEOfYPmNa02tP2mX/poNd/1jAhd35+YXpB9x0ACIDinYVz3Bo3+CcOKzfRNgnLkf3hNo7bUZ7t4GTRx8LLHsMI8XhFo1zJOMrMI1gpcFLWQnXKVVJE7g UBdA3fshmeYlkCapa7GaVS7Eqqb8ISqiiJqIdZ14yoob8c4eh0MuMVcJ Received-SPF: none client-ip=80.0.253.69; envelope-from=robert@capuchin.co.uk; helo=know-smtprelay-omc-5.server.virginmedia.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 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:204736 Archived-At: I've been finding - in last 12 months - that sometimes when I do M-x and type something the cursor has moved to the main window in that frame, and the desired command ends up in that window if it is a 'normal' buffer or does more drastic things if (for example) in dired. from Ch l in one of these cases x ;; execute-extended-command ;; handle-select-window g ;; revert-buffer n ;; dired-next-line u ;; dired-unmark s ;; dired-sort-toggle-or-edit you'll see that my intention of typing M-x gnus has been subverted and the commands are happening in a dired buffer! I have (setq mouse-autoselect-window 1) but I don't think I'm pausing long enough (and it doesn't see to kick in anyway from a minibuffer) that handle-select-window is clearly the problem but not sure where it is coming from, and it is happening very rarely so I'd prefer not to set a break there. (plasma desktop environment - in case that's relevant) Robert In GNU Emacs 28.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0) of 2021-04-15 built on poulenc Repository revision: 3b84f8f47c1e2ad2842e3f5ce38823d3083ad12a Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12009000 System Description: Ubuntu 20.10 Configured using: 'configure --with-xpm=ifavailable' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Help Minor modes in effect: which-function-mode: t shell-dirtrack-mode: t global-hi-lock-mode: t hi-lock-mode: t desktop-save-mode: t recentf-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/robert/elisp/dired-async hides /home/robert/.emacs.d/elpa/async-20191030.2138/dired-async /home/robert/elisp/async hides /home/robert/.emacs.d/elpa/async-20191030.2138/async Features: (shadow emacsbug vm-digest cal-move vm-mark gnus-fun imgur log-view pcvs-util shortdoc help-fns radix-tree smerge-mode diff dabbrev tabify man url-cache pp gnutls smtpmail shr-color find-dired grep canlock bbdb-message footnote rx sort smiley gnus-cite flow-fill mm-archive mail-extr gnus-bcklg gnus-async qp gnus-ml disp-table gnus-topic cursor-sensor nndraft nnmh nnfolder gnus-agent gnus-srvr gnus-score nnvirtual gnus-msg gnus-cache bbdb-gnus network-stream nntp sendmail bbdb-vm bbdb-mua bbdb-com crm bbdb bbdb-site timezone vm-pine vm-edit vm-rfaddons vm-reply vm-imap vm-save vm-virtual vm-summary-faces vm-delete vm-pop vm-undo vm-sort vm-thread vm-mime vm-toolbar vm-menu tapestry vm-window vm-folder vm-crypto vm-summary vm-mouse vm-page vm-motion vm-minibuf vm-message vm-misc vm-macro vm-autoloads vm-vars vm-version vm misearch multi-isearch dcl-mode tempo tramp-archive tramp-gvfs tramp-cache zeroconf perl-mode score-mode conf-mode view python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat ls-lisp rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-enc xmltok arc-mode archive-mode vc-bzr eimp vc-dir ewoc vc mule-util markdown-mode make-mode org-element avl-tree generator ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs format-spec find-func add-log which-func vc-cvs flyspell ispell tex-mode compile shell pcomplete comint ansi-color ring cl-extra help-mode mhtml-mode css-mode eww xdg url-queue thingatpt shr kinsoku svg mm-url gnus nnheader gnus-util rmail rmail-loaddefs text-property-search mail-utils color js imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sgml-mode facemenu dom vc-git diff-mode easy-mmode vc-dispatcher bug-reference reveal sh-script smie executable dired-aux dired-x dired dired-loaddefs twittering-mode advice identica-mode url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny longlines parse-time iso8601 time-date xml cl cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs diary-lib diary-loaddefs cal-menu calendar cal-loaddefs server tbemail org-install hi-lock edmacro kmacro desktop frameset recentf tree-widget wid-edit paren bbdb-loaddefs finder-inf info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type 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 elisp-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 cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 2462049 258618) (symbols 48 109522 26) (strings 32 717647 33266) (string-bytes 1 19958259) (vectors 16 292703) (vector-slots 8 4204652 233649) (floats 8 1278 963) (intervals 56 245326 77) (buffers 992 703))