unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Visuwesh <visuweshm@gmail.com>
Cc: 62709@debbugs.gnu.org
Subject: bug#62709: 29.0.60; quail-minibuffer-message prevents set-mark-command from activating region in minibuffer
Date: Fri, 07 Apr 2023 14:14:33 +0300	[thread overview]
Message-ID: <83y1n4nduu.fsf@gnu.org> (raw)
In-Reply-To: <87pm8gezcw.fsf@gmail.com> (message from Visuwesh on Fri, 07 Apr 2023 16:24:55 +0530)

> From: Visuwesh <visuweshm@gmail.com>
> Date: Fri, 07 Apr 2023 16:24:55 +0530
> 
> - 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).

I'd prefer to solve the problem that prevents the region from becoming
active, without changing how Quail shows its messages.  Can you try
finding such a solution, or at least explaining why
quail-minibuffer-message prevents the region from becoming active in
this case?

Thanks.





  reply	other threads:[~2023-04-07 11:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-07 10:54 bug#62709: 29.0.60; quail-minibuffer-message prevents set-mark-command from activating region in minibuffer Visuwesh
2023-04-07 11:14 ` Eli Zaretskii [this message]
2023-04-07 11:51   ` Visuwesh
2023-04-07 14:39     ` Visuwesh
2023-04-07 14:57       ` Eli Zaretskii
2023-04-07 15:09         ` Visuwesh
2023-04-07 15:33           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y1n4nduu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=62709@debbugs.gnu.org \
    --cc=visuweshm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).