From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#19064: bug#17272: bug#19064: bug#17272: bug#19064: 25.0.50; `message' overwrites `y-or-n-p' prompt, so user misses it Date: Tue, 19 Nov 2019 11:11:35 +0000 Message-ID: References: <8ea0a3fa-5169-4493-bd54-3ebe47836a35@default> <87wps1m7co.fsf@web.de> <87y4chjdop.fsf@gnus.org> <87o8ys3131.fsf@gnus.org> <875zjx6hs6.fsf@mail.linkov.net> <87sgmy3x22.fsf@gnus.org> <871rugbqmy.fsf@mail.linkov.net> <87d0dxyh7z.fsf@gnus.org> <53c55db5-d623-4946-af2e-d141e7bc7acd@default> <87sgmrpir5.fsf@web.de> <87mucya2a7.fsf@web.de> <87mucy4cb2.fsf@web.de> <621b98dc-0fe9-4eef-9e11-7580fb446e97@default> <87k1822ocn.fsf@web.de> <87lfsfmtk0.fsf@mail.linkov.net> <874kz3gibu.fsf@gnus.org> <87bltaw3xz.fsf@mail.linkov.net> <87r224x54p.fsf@mail.linkov.net> <87v9rgnv0o.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000480a030597b121f9" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="196165"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Michael Heerdegen , 17272@debbugs.gnu.org, Lars Ingebrigtsen , 19064@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 19 12:12:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iX1Qe-000oq8-JJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Nov 2019 12:12:16 +0100 Original-Received: from localhost ([::1]:44026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX1Qc-0003Dn-U3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Nov 2019 06:12:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46199) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX1QV-0003Db-6w for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 06:12:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX1QT-0000Ub-T1 for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 06:12:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37859) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iX1QT-0000UT-QM for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 06:12:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iX1QT-0003LU-KW for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 06:12:05 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Nov 2019 11:12:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19064 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 19064-submit@debbugs.gnu.org id=B19064.157416191512838 (code B ref 19064); Tue, 19 Nov 2019 11:12:05 +0000 Original-Received: (at 19064) by debbugs.gnu.org; 19 Nov 2019 11:11:55 +0000 Original-Received: from localhost ([127.0.0.1]:46678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iX1QI-0003Ky-Vv for submit@debbugs.gnu.org; Tue, 19 Nov 2019 06:11:55 -0500 Original-Received: from mail-il1-f178.google.com ([209.85.166.178]:34531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iX1QG-0003KM-GV; Tue, 19 Nov 2019 06:11:52 -0500 Original-Received: by mail-il1-f178.google.com with SMTP id p6so19277071ilp.1; Tue, 19 Nov 2019 03:11:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v5f+4RoW5+DsQLt2L2s4loRQpdPzjh3yIvIlXaw3uJM=; b=XOLtPXEt8xlw40soD7DNe734mOF/AUF+Jv+a02uxWzH/1oanBXuYi6mRrwc7RYkwkv DyQaKmZOBE5Csl6JXYVgsBNLkqLFqL7ucpug42HCqNNUhJ6o0rnceQaRsy3xKD/8KAdw 3fsJNxdLKRbGh7BEvlY72ZZCcj/FVJdjRYE6QbsVWb8h3qsQ7hYoCrZ6SynkOiLbCb/P bYxaSghRQHAosZC4nWNUgj4Hp1zc6cRqtJoQ0UTbWbGdyAbm9zS1nb2lH4IChvFyE4Iv 6J3jT9ZiWmF6bFnjchswAsgCBmS3b0CNCPmZbXl914dlZXjosMBYSgLhpUN170AJdvJ4 KFMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v5f+4RoW5+DsQLt2L2s4loRQpdPzjh3yIvIlXaw3uJM=; b=maK2zPzDRrajf+kBX2CUVd63UYjXzQicvpBTHCvH8616yfPCu3WMND3QvNlH6moJx1 VUis6vJYQq3PV6lupjJfoXrdQlz7Q4FtEIdBdHufDsvOKpQ8mUmUCchWch15CwRsjTfF 0UciBwNyxlRaFwTE3193FGrhKUiDVKCtWlWLigdgxOFrx5IjFeYSF8zAR26LvcIocWYI ZqD2noJHPnKt8RYH+sJUUZ1FG0NBfNQucGLVbM6u87NhpjcJX35yUm5e9YXysajSUbtJ 6rNOavT8vnTYK2hextPQeAyHW0NjbCPR+KWdI7anL61xDrP1Lf4+wSSNWVBsxXoHiUbN Exmg== X-Gm-Message-State: APjAAAUKc/XOZkBKUsraBrBPLr0XnQD9NA5SddySx+TCJgFnoyZCz4wd 2nmpFMO15bgJufXDjtF31fXMH12Qgjnl8GA7xfI= X-Google-Smtp-Source: APXvYqwGbvQRC6CAmHGqv5yi439zslouYR+b7GF4gEoUjWWLu0kAkbwmZGrOPBh5dMP2y21VVgjtimQR+j95qHI6ldU= X-Received: by 2002:a92:1513:: with SMTP id v19mr20864182ilk.125.1574161906926; Tue, 19 Nov 2019 03:11:46 -0800 (PST) In-Reply-To: <87v9rgnv0o.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171966 Archived-At: --000000000000480a030597b121f9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello everyone, I can't confirm 100% if this is the right bug to report this to, but the recent changes by Juri, which make yes-or-no-p use the minibuffer for reading, break fido-mode's icomplete-magic-kill command (apologies if that's not the exact name). That command prompts the user for confirmation before attempting a file deletion or buffer kill. This is done inside the minibuffer. I haven't followed the whole discussion so I don't know if you're aware of this problem. Either way, is there an alternative for modes such as fido-mode? Thanks, Jo=C3=A3o On Tue, Nov 19, 2019, 08:14 Lars Ingebrigtsen wrote: > Juri Linkov writes: > > > The variable name is =E2=80=98message-in-echo-area=E2=80=99. After a l= ittle testing, > > it seems to handle all such cases well: > > I have not tested the patch, but it looks good to me. Tiny comment: > > > usage: (message FORMAT-STRING &rest ARGS) */) > > (ptrdiff_t nargs, Lisp_Object *args) > > +{ > > + if (NILP (Vmessage_in_echo_area) > > The doc string of `message' (and documentation) should mention this > variable, and this should also be mentioned in NEWS. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > > > > --000000000000480a030597b121f9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello everyone,

I can't confirm 100% if this is the right bug to report this to, bu= t the recent changes by Juri, which make yes-or-no-p use the minibuffer for= reading,=C2=A0 break fido-mode's icomplete-magic-kill command (apologi= es if that's not the exact name).

That command prompts the user for confirmation before attempt= ing a file deletion or buffer kill. This is done inside the minibuffer.

I haven't followed the = whole discussion so I don't know if you're aware of this problem. E= ither way, is there an alternative for modes such as fido-mode?

Thanks,
Jo= =C3=A3o

On Tue, Nov 19, 2019, 08:14 Lars Ingebrigtsen <larsi@gnus.org> wrote:
Juri Linkov <juri@linkov.net> writes:

> The variable name is =E2=80=98message-in-echo-area=E2=80=99.=C2=A0 Aft= er a little testing,
> it seems to handle all such cases well:

I have not tested the patch, but it looks good to me.=C2=A0 Tiny comment:
>=C2=A0 usage: (message FORMAT-STRING &rest ARGS)=C2=A0 */)
>=C2=A0 =C2=A0 (ptrdiff_t nargs, Lisp_Object *args)
> +{
> +=C2=A0 if (NILP (Vmessage_in_echo_area)

The doc string of `message' (and documentation) should mention this
variable, and this should also be mentioned in NEWS.

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no



--000000000000480a030597b121f9--