From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#5423: Multiline y-or-n prompt in files.el Date: Thu, 19 Nov 2020 10:33:28 +0100 Message-ID: <87pn49n11z.fsf@gmx.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15541"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stefan Kangas , 5423@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 19 10:35:34 2020 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 1kfgLm-0003vn-HX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 10:35:34 +0100 Original-Received: from localhost ([::1]:45442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfgLl-0004lw-Cw for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 04:35:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfgKI-00048F-Cs for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2020 04:34:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54910) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfgKI-000353-2o for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2020 04:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kfgKH-0007hK-VH for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2020 04:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Nov 2020 09:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5423 X-GNU-PR-Package: emacs Original-Received: via spool by 5423-submit@debbugs.gnu.org id=B5423.160577843729577 (code B ref 5423); Thu, 19 Nov 2020 09:34:01 +0000 Original-Received: (at 5423) by debbugs.gnu.org; 19 Nov 2020 09:33:57 +0000 Original-Received: from localhost ([127.0.0.1]:38223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfgKD-0007gy-Dp for submit@debbugs.gnu.org; Thu, 19 Nov 2020 04:33:57 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:47369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfgKA-0007ge-6o for 5423@debbugs.gnu.org; Thu, 19 Nov 2020 04:33:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605778424; bh=FUNt5t1FGOBjb6yqn4haYl8QiX+HOuAXfCExm5YyTpA=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=CqnTMdFzkyd1HkFLB4T/W5IwZTdFUIRoZxA5x50IRVADXYPRAcoL6qytCfh7ITRGR +swMh29QII194CtGRfRrDszAiJ+5qvzAXYKcbxOk6hLpppyvQhgeUqMBGw+yD8AWXQ xJxUwtXXGQQH22Pd7VRJrqo0uSHC3p8+FvuBAWOc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-jhalfs ([92.73.77.20]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MHG8g-1kSQlU2Piq-00DED9; Thu, 19 Nov 2020 10:33:44 +0100 In-Reply-To: (Stefan Monnier's message of "Thu, 19 Nov 2020 00:15:04 -0500") X-Provags-ID: V03:K1:uWGrk36tLtv237Y9lyMpQEcElQiWhIPMqL2bWBhixrF8bkVScVH A+jiOxH+T6tT8X3buKNAB05ZococZv73nHHzlxwHLYaL2cahtmVDH95YIZCGg4a9UTf8WDr 3HLzoDxS+UxXyaZvsFS7k7/jUu1f/FC775zcbaqiSQGjltotvOTyFxZ7xt4RB4AvOVf6qEJ 8cYZaCTtbdrC4xwzQsiqw== X-UI-Out-Filterresults: notjunk:1;V03:K0:e9EE7Jp2p5Q=:55EUmdTDxC/DQ6wUJl9Kzn gbAghPm/8Jgs5RPR4QhcNebXl3DQDvN8m7P3j97yC/yYtqbVSRW1cURF6Ce9XqW+FX18fHJ9J 3G3k7t2WRIMIqm9cwQfNGgbMMedSJW3kxqJlNs7OowZJu/kzj/y4MGq9i9pk/Ok77nYB7bkOB WF5BQagTwFUlBL8H6Kx8wGDHhtnq6DsEkn3594DIRC6JJbuOnBCvRdItU7JWdPjyIaJlCx/GG sGrbvNUMClp2RBqJ9n1DQIRw5Xq6UECcXZ1fiq+YpLMxhGbMQFkuQgSIKG2cSwqBpFgqljgCd iDbjzVl9n88KZQc9FBZCT2PcktLN3IG/0Z9pXE5H3A5pGZ51JLlb+fBXEpKdPNOcnZ5g7uafg WUCoIjR6WblvjtZhyRZDeUcKyd8QadKQbi4p/R+m3T9sMCgjVAewxdpfCwyBrpS0ISRh7BfhB xBK3PRJBMhmkxy5mST7vJOqdcrraWoJsQuDjAERtf7uSslPJk+tVVGaxyabSoYV6mnNFBa7lg NVROihx6CE2U0oLZ3SJ5E/E3mFY7hyqcZfNhLGTIKCJyBX9C+vCCm2CIQS5mt5yVeX7332UEa ozjbYdk+EwMN9fZmQsVlV4SjEocrfbmLbZX0NAYE+An9KNaM/sBLv5qz0On3WgRMSlor1Ff/1 Mh3cTq7r1qWd/ndDZGaeg9rgQak3awTA83P3AYCyIR3VBtDi9gVcSX1/MnR563bZVpYTNd//U OsdbCYeu+e9t2lQ1rtUuMxoafSkt5iWww7FbsihOsrpHSbNgU+GjUc5JuwZ4VZxk4VHwtNFu 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:193711 Archived-At: On Thu, 19 Nov 2020 00:15:04 -0500 Stefan Monnier wrote: >>> find-file-noselect has a multiline y-or-n-p prompt if the file is >>> already visited and modified (and in a different rawness). That only >>> works when the minibuffer can be resized, sadly. In my case (separate >>> minibuffer), I only see the beginning of the prompt. >> >> That was 10 years ago, so just to check in: is this still an issue? > > I'd be surprised if it's been fixed, but I must admit that I can't > remember how to trigger this, I'm not sure just what you meant with "beginning of the prompt", but what I see is only the last line of the entire prompt message: "The file test is already visited literally, meaning no coding system handling, format conversion, or local variables. You have edited the buffer. Now you have asked to visit the file normally, but Emacs can visit a file in only one way at a time. Do you want to save the file, and visit it normally instead? " To reproduce: $ touch /tmp/test $ emacs -Q --eval "(setq resize-mini-windows nil)" /tmp/test M-x find-file-literally RET /tmp/test RET => The minibuffer displays only: Do you want to save the file, and visit it literally instead? (y or no) By repeatedly typing `C-p' you can see the entire message line by line. Tested on current master. (There also seems to be another separate bug: that with the above recipe the prompt message seems inappropriate.) Steve Berman