From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#62709: 29.0.60; quail-minibuffer-message prevents set-mark-command from activating region in minibuffer Date: Fri, 07 Apr 2023 16:24:55 +0530 Message-ID: <87pm8gezcw.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="35873"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 62709@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 07 12:56:25 2023 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 1pkjlZ-0009A0-Q8 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Apr 2023 12:56:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkjlF-0002Ay-Es; Fri, 07 Apr 2023 06:56:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkjlC-00029q-Is for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 06:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkjlC-0000gw-Aa for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 06:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pkjlB-0000Ub-QG for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 06:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Apr 2023 10:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62709 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.16808649071699 (code B ref -1); Fri, 07 Apr 2023 10:56:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Apr 2023 10:55:07 +0000 Original-Received: from localhost ([127.0.0.1]:55780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkjkI-0000RG-Oi for submit@debbugs.gnu.org; Fri, 07 Apr 2023 06:55:07 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:40068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkjkG-0000Qu-FO for submit@debbugs.gnu.org; Fri, 07 Apr 2023 06:55:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkjkF-0001wT-Qs for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 06:55:03 -0400 Original-Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkjkD-0000Gg-3t for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 06:55:03 -0400 Original-Received: by mail-pj1-x1043.google.com with SMTP id 60-20020a17090a09c200b0023fcc8ce113so1013002pjo.4 for ; Fri, 07 Apr 2023 03:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680864899; x=1683456899; h=mime-version:message-id:date:user-agent:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=2EzDWuB56zyQrPQmqxJzJYsQmMCYSgpUvwFh0JmPduE=; b=CNTCyU+ZOPkPmbtRB0KHds8ZzdWvkm+bq31zoECPWPg4KcrwHjZ/Es2mCFWv/owfZF Xs240N1ii4AD6LFVXm1EBnU3jA9kgKktR16cIm0SLCql++dXi1KVLEzK5AcnIZPM1cN7 mrLd4P6cL/RuqXWzqBq6i0QQdLwZ2Nzm4Lv2InxILi1WyRTAPcvEB2kDoWabK6nzxyC3 GTzGlYxtNs7xcq7L+UVD74+UAlbii35a/1oMyc50ON1PWKPTPjqSacTzGgMktVRwKMRs 50tJUa+uyseAwLZhlGjceZStsH7jp/6/kF2v/vT0q74fx61RV7hhwKy8Gfl3v/fXqP7S MaAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680864899; x=1683456899; h=mime-version:message-id:date:user-agent:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2EzDWuB56zyQrPQmqxJzJYsQmMCYSgpUvwFh0JmPduE=; b=a+UWjJP+5sB0qZWZDcWH58qB2s1RBAFcIrsTdFXiRwZyDhwx8A/QfUyfB5L1NRMNPg BYtVV22ykGHUwX5ReY/loEenea/3b0FPwyVhnYHuvmEnEpBOXbhmgRoKViGa2vUt/h23 Y2CMOO0JrlQ0ICgV0Ax4mOgf6OdQf2liyAkB7m1xrL7s4Ak5qcnvYJ75uiDZLrnoBl7B h+pOYJ8yrrYjIot9iwVoLSSAab4uzaKHVX8LmHjCedpXxTWRN/EJYNQFX2sVad0QF0eu P3xz7J9Bd0pvEYBKxmw4oRzpDOBZj1vPThvHlIgPTEnvRSRNT3p9Q7NUl94jRt2hzDah uqtQ== X-Gm-Message-State: AAQBX9dMVH8D1rXngXREPAIQDsi1dT0+2nbr0OblvFeEBOVflQLGyQ9B iEXR52kCiupIutuEaNKGJPj+kK2n2XRFlw== X-Google-Smtp-Source: AKy350aa33ojtJaL8b3pEhlFc/h7YhpcnuEHVIDYSWolHFLcr2Zje91ENZAAnrpM3vCOrQd91H3t5g== X-Received: by 2002:a17:902:cf46:b0:1a1:b506:6fe with SMTP id e6-20020a170902cf4600b001a1b50606femr2041839plg.29.1680864898610; Fri, 07 Apr 2023 03:54:58 -0700 (PDT) Original-Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id s11-20020a170902988b00b001991f3d85acsm2672926plp.299.2023.04.07.03.54.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 03:54:58 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::1043; envelope-from=visuweshm@gmail.com; helo=mail-pj1-x1043.google.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 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259385 Archived-At: To reproduce the issue, one must activate an input method that eventually calls `quail-minibuffer-message' to insert the guidance string and the "title" of the input method at the end of the minibuffer. - To observe the problem, first define a dummy Quail input method (quail-define-package "none" "asdf" "none") - Then activate recursive minibuffers M-: (setq enable-recursive-minibuffers t) RET - Now open a minibuffer (C-x C-f is a good one) then activate the "none" input method. - Now type M-x set-mark-command RET and note how the region is not active. This problem goes away if you redefine `quail-minibuffer-message' to simply echo the string by saying (defalias 'quail-minibuffer-message #'message) Furthermore, the comment above `quail-minibuffer-message' says ;; Quail specific version of minibuffer-message. It displays STRING ;; with timeout 1000000 seconds instead of two seconds. but even with that redefinition, the guidance string is printed just fine (minus the extra square brackets that message adds). AFAICT, the guidance string contains text properties but the title of the input method doesn't. In GNU Emacs 29.0.60 (build 2, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2023-03-23 built on astatine Repository revision: be8147c53f9dd2d896c27d5b32bf4f38b0af9b3f Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure --with-sound=alsa --with-x-toolkit=lucid --with-json --without-xaw3d --without-gconf --without-libsystemd --without-cairo' Configured features: ACL DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XFT XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_MONETARY: ta_IN.UTF-8 value of $LC_NUMERIC: ta_IN.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: csv-field-index-mode: t bug-reference-prog-mode: t recentf-mode: t shell-dirtrack-mode: t server-mode: t paredit-mode: t eros-mode: t flymake-mode: t pdf-occur-global-minor-mode: t minibuffer-depth-indicate-mode: t repeat-mode: t display-time-mode: t display-battery-mode: t delete-selection-mode: t xterm-mouse-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t use-hard-newlines: t tab-bar-history-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t undelete-frame-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow emacsbug edebug shr-color ind-util csv-mode csv-mode-autoloads ement-taxy svg-lib pcmpl-gnu url-http url-gw org-pdftools org-noter org-num oc-basic org-element org-persist avl-tree calcalg2 calc-poly calc-units calc-prog calc-trail calc-undo calc-arith calc-misc calc-vec calc-yank calccomp calc-bin calc-alg calc-menu calc-aent calc-ext calc calc-loaddefs calc-macs conf-mode icomplete ffap net-utils view autorevert image-crop rfc2104 debug backtrace etags fileloop generator imenu-xref tabify man skeleton pdf-sync pdf-annot facemenu pdf-outline pdf-links ob-gnuplot ob-fortran ob-python python compat ob-julia ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-shell ob-racket async ob-async cdlatex texmathp org-attach org-id org-refile ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi org-tempo tempo ol-man org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs org-version org-compat org-macs pdf-history bug-reference misc wdired dabbrev url-cache url-auth eww xdg url-queue mm-url reveal noutline outline vc-annotate vc-filewise gnuplot-context gnuplot info-look pulse xref mule-util typo msb rect ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util shortdoc log-edit add-log vc-dir f90 cus-start avy tramp-cmds cl-print help-fns radix-tree image-file image-converter pcmpl-unix display-line-numbers ement-room-list ement ement-notify notifications ement-room ement-lib ement-api ement-structs plz color ement-macros taxy-magit-section magit-section taxy ewoc dns misearch multi-isearch dired-aux gnus-dired tramp-cache time-stamp tramp-sh tramp tramp-loaddefs trampver tramp-integration tramp-compat ls-lisp recentf tree-widget flyspell ispell ecomplete smerge-mode flow-fill mm-archive sort gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check qp gnus-async gnus-bcklg gnus-ml network-stream nsm nndraft nnmh nnmaildir nnagent nnml vc-backup log-view pcvs-util vc diff vc-git diff-mode vc-dispatcher nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig nntp gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util mail-utils range mm-util mail-prsvr sh-script smie treesit executable files-x shell-command+ cursor-sensor shell pcomplete face-remap server paredit edmacro kmacro eros time-date checkdoc lisp-mnt flymake-proc flymake project thingatpt wordel-autoloads sokoban-autoloads ement-autoloads svg-lib-autoloads taxy-magit-section-autoloads magit-section-autoloads dash-autoloads taxy-autoloads plz-autoloads nov-autoloads esxml-autoloads kv-autoloads transmission-autoloads lua-mode-autoloads nix-mode-autoloads gnuplot-autoloads devdocs-autoloads julia-mode-autoloads racket-mode-autoloads eros-autoloads writegood-mode-autoloads siege-mode-autoloads paredit-autoloads puni-autoloads expand-region-autoloads filladapt-autoloads compose scroll-other-window org-pdftools-autoloads org-noter-autoloads change-env-autoloads math-delimiters-autoloads doct-autoloads ob-async-autoloads async-autoloads emacs-ob-racket-autoloads valign-autoloads cdlatex-autoloads auctex-autoloads tex-site pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet pdf-isearch let-alist pdf-misc imenu pdf-tools 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 eieio eieio-core json map byte-opt url-vars compile comint ansi-osc ansi-color ring cus-edit wid-edit pdf-view password-cache jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode dired-x dired dired-loaddefs exif pdf-tools-autoloads tablist-autoloads typo-autoloads mb-depth repeat visual-fill-autoloads olivetti-autoloads time format-spec battery dbus filenotify xml dom tamil99 quail disp-table lacarte-autoloads shell-command-plus-autoloads delsel easy-mmode xt-mouse cus-load avy-autoloads finder-inf icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs warnings icons filecache imenu-xref-autoloads derived chemtable-autoloads molar-mass-autoloads vc-backup-autoloads compat-autoloads saveplace-pdf-view saveplace bookmark text-property-search pp saveplace-pdf-view-autoloads rx pcase inspector-autoloads xr-autoloads straight-autoloads cl-seq info cl-extra help-mode straight subr-x cl-macs gv cl-loaddefs cl-lib bytecomp byte-compile vz-nh-theme vz-options-theme rmc iso-transl tooltip cconv 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 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 3239675 543854) (symbols 48 53579 557) (strings 32 367026 33804) (string-bytes 1 38672819) (vectors 16 177851) (vector-slots 8 3247188 386527) (floats 8 10625 2907) (intervals 56 280522 15666) (buffers 976 266))