From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: styang@fastmail.com Newsgroups: gmane.emacs.bugs Subject: bug#47150: 28.0.50; Incorrect major-mode in minibuffer Date: Sun, 14 Mar 2021 19:57:09 -0500 Message-ID: <877dm9nsii.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26323"; mail-complaints-to="usenet@ciao.gmane.io" To: 47150@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 15 01:58:10 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 1lLbYg-0006iw-1J for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Mar 2021 01:58:10 +0100 Original-Received: from localhost ([::1]:49830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLbYe-0006EV-Jm for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Mar 2021 20:58:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLbYY-0006EM-5U for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 20:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51222) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLbYX-0001Bw-Ui for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 20:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLbYX-0000Ou-Tp for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 20:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: styang@fastmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Mar 2021 00:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47150 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.16157698491482 (code B ref -1); Mon, 15 Mar 2021 00:58:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Mar 2021 00:57:29 +0000 Original-Received: from localhost ([127.0.0.1]:34534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLbY1-0000Nq-6d for submit@debbugs.gnu.org; Sun, 14 Mar 2021 20:57:29 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:51438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLbXz-0000Ni-BH for submit@debbugs.gnu.org; Sun, 14 Mar 2021 20:57:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLbXy-0006Cn-UB for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 20:57:27 -0400 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:36621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLbXv-0000xD-V9 for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 20:57:26 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 02E322917 for ; Sun, 14 Mar 2021 20:57:20 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 14 Mar 2021 20:57:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=kefw6pvHlOy0vqdZmDZkmWjKDWWASgoZhmpScLOWF38=; b=FDsFqsOL mvDNfGPQDR2b2FFK3ZKCo755johr6gztE9WoL/mTnqbeFpkzoyMeYwlkVWkoxzsh wC07Ka8rGRjN5zFFBpPJ5QuaKrGG+OZB+Brh+paEgG7hxSRN8/5Qwow8uf4nyNhv P9Ynd0ZoG++CKKAqJwLKCHyuk43rbkmW0OmmOH6PWU6bov6hbqX7Qes/uxbWcoqr PvbVHgOC7MWctWKWaYBwMxu6embFJDcqdNYR837oYy5LFOfHPGQyPBiRKGep8Wxf FKiTps1Ap0orCqhT3HcVwT5/VofMHdkvPjdNAA9HYEj6qo9YBbqCG2O9SVlaFsXx DUAIC/FEFGZIpg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=kefw6pvHlOy0vqdZmDZkmWjKDWWAS goZhmpScLOWF38=; b=L7t7p6V+oKCQd7dGV+FmoAS7/8KbpRrhg6zg2nJ1lE3is 4Zk4SRRnHJ8txWvmqJpah8mI73ol8RUC/XGJ1dz/90rSpZfn5XNdC6vINI1Yciue qjOW/+2h+PcgC0rE5Qpe3F/ltMvtFj6RqbRMo3r9wKg2RUE9VImt97gfyzvzghQU UNBNXQrUveI3HzfuWs8Of1IrPphReoES0HDWc3aro7rPMdyp9hfaYqF9rlEffFMs 9gjkeCwdqFKQXdhh4k0xFi1dKShYxjajHzF38XzO+3UrkXVRW72QFNWMAUDIZwNc 9OvXASRgyyjnvojNwp181kCVOOWSxeWhhM6hxl+4Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddvkedgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttd dtnecuhfhrohhmpehsthihrghnghesfhgrshhtmhgrihhlrdgtohhmnecuggftrfgrthht vghrnhepveehvdffvdejteehhfdthfegfeejgfffgeeuvdeivdevvedvfeduhfdvfefhff ehnecukfhppeejfedrvddtkedrudegledrkeefnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepshhthigrnhhgsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Original-Received: from localhost (c-73-208-149-83.hsd1.il.comcast.net [73.208.149.83]) by mail.messagingengine.com (Postfix) with ESMTPA id E47EB240054 for ; Sun, 14 Mar 2021 20:57:19 -0400 (EDT) Received-SPF: pass client-ip=64.147.123.20; envelope-from=styang@fastmail.com; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-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:202396 Archived-At: The major-mode in the minibuffer is incorrectly set to fundamental-mode, even when it is the first one. Reproduce with the following steps: 1. emacs -q 2. Eval the following: (defun report-major-mode () (message "mini-buffer major-mode is %s" major-mode)) (add-hook 'minibuffer-setup-hook 'report-major-mode) 3. Press M-; to call eval-expression, which will report that the major-mode is fundamental-mode The offending commit is 636ef445af. In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.26, cairo version 1.17.4) of 2021-03-12 built on Desktop Repository revision: 592fabdc7f8d9c52c931843a153fdac67a302c30 Repository branch: makepkg Windowing system distributor 'System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-sound=alsa --with-modules --without-gconf --without-gsettings --with-native-compilation --with-pgtk --with-x-toolkit=gtk3 --without-xaw3d --without-m17n-flt --with-cairo --with-xwidgets --without-compress-install 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -fuse-ld=gold' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XIM XWIDGETS GTK3 ZLIB Important settings: value of $LC_CTYPE: zh_CN.UTF-8 value of $LANG: zh_CN.UTF-8 value of $XMODIFIERS: @im=fcitx locale-coding-system: utf-8-unix Major mode: ELisp/d Minor modes in effect: tooltip-mode: t global-eldoc-mode: t 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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail comp comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq byte-opt gv cl-loaddefs cl-lib bytecomp byte-compile cconv rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils china-util iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/pgtk-win pgtk-win term/common-win 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 facemenu 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 xwidget-internal dbusbind inotify dynamic-setting font-render-setting cairo move-toolbar gtk x-toolkit pgtk lcms2 multi-tty make-network-process nativecomp emacs) Memory information: ((conses 16 86740 7633) (symbols 48 7951 1) (strings 32 21797 2724) (string-bytes 1 749467) (vectors 16 16994) (vector-slots 8 376872 18158) (floats 8 31 79) (intervals 56 277 0) (buffers 992 14))