From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#25665: 26.0.50; [PATCH] Indicate prefix arg in minibuffer prompt for shell-command Date: Fri, 10 Feb 2017 11:19:20 -0500 Message-ID: References: <8760kjz4nv.fsf@calancha-pc> <87inojm0v5.fsf@users.sourceforge.net> <87a89un0jc.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1486743737 16719 195.159.176.226 (10 Feb 2017 16:22:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2017 16:22:17 +0000 (UTC) Cc: 25665@debbugs.gnu.org, Chunyang Xu To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 10 17:22:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccDxX-0003qS-Ly for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2017 17:22:07 +0100 Original-Received: from localhost ([::1]:44669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccDxd-00040k-8x for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2017 11:22:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ccDvb-0002MI-TY for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 11:20:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ccDvW-0001R9-TG for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 11:20:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36706) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ccDvW-0001R2-PW for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 11:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ccDvW-0005n7-GA for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 11:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Feb 2017 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25665 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 25665-submit@debbugs.gnu.org id=B25665.148674356822216 (code B ref 25665); Fri, 10 Feb 2017 16:20:02 +0000 Original-Received: (at 25665) by debbugs.gnu.org; 10 Feb 2017 16:19:28 +0000 Original-Received: from localhost ([127.0.0.1]:34905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccDuy-0005mG-Hp for submit@debbugs.gnu.org; Fri, 10 Feb 2017 11:19:28 -0500 Original-Received: from mail-oi0-f68.google.com ([209.85.218.68]:34473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ccDuw-0005m3-H6 for 25665@debbugs.gnu.org; Fri, 10 Feb 2017 11:19:27 -0500 Original-Received: by mail-oi0-f68.google.com with SMTP id w144so2868325oiw.1 for <25665@debbugs.gnu.org>; Fri, 10 Feb 2017 08:19:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=z1dScK7x0vkhUsxrdZtITUC1pIss+Lp5wdZQ2eWifqY=; b=t7L4aeE830X/vl5mA7fmOa5wz4evYzH55wgTTvsIJ2sf7lKoJpTsTZBYrFhlqd/o8E d66AM/XSoZm20GQ1WhxYep3wDD78q7V5zuvHQwAmcXKG6o8vX4PifDn/14FMKZ2EewSh Jmyw8l576fDjD7uwSkqqNwUH7O5RjOaxDfUKUX35F455plNgxNWvWSm6wsJN4muiYCk4 TYPOXsdNS90ghKLLd0PIbl1e3Pwp9ZH3R5Rq9+sbmu30ZisSR8XfnQ69RXjurEUxmYPr hLbkh45yQssHLAOPxM9TUCeJuTS0RURNhmPNcDXHKLZ45gLYYSLsUhjSWvT8f23w7Z3A 5w6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=z1dScK7x0vkhUsxrdZtITUC1pIss+Lp5wdZQ2eWifqY=; b=StIp46zEitB21zh/Y4IXPR1cWnVDp0zhHMpgPAygGlXFqr2jwwiZyerg4yBdK9Tky/ vxQtJ17mJ/+YqWQdmE8t9BxqpO9FJJcfSTUgoilehlG9jOVGLh4VQIn/YKrlGQ0INbRx my0811e2zPJDpqxSuud1MmYHcC2qtI2Y5Iu8ANHs/oF17dgLBLTc87IhcX78qt5GTIAU v3y0BV5lV1Ung+wRxxNs8zdymoLyUiKGATGG2NH7Xi1+ZPDRzp9y3xnp1Uz2DvDMBm6K 7YX9byyHum3lwYPL5qQxfGFG7VPVJZd/a+zSysp14tWMd8cKPVBd79YHG+YHykc0yopa sQVA== X-Gm-Message-State: AMke39ljbwLXIdvySVCCfWUmNZynew9AEjXu62R/ufJqyzVNt4PV8fUeE3nsV4rIYX5DW/pdur4FeOwGX5jAMQ== X-Received: by 10.202.62.138 with SMTP id l132mr5233573oia.128.1486743560959; Fri, 10 Feb 2017 08:19:20 -0800 (PST) Original-Received: by 10.157.21.117 with HTTP; Fri, 10 Feb 2017 08:19:20 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: Uug-Ai8wEmEGj5gMrnkiHb3Se_g 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: 208.118.235.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:129206 Archived-At: On Fri, Feb 10, 2017 at 2:13 AM, Tino Calancha wrote: >>> There are lots of commands in Emacs accepting a raw, >>> numeric prefix etc. If we change M-! prompt, we might >>> also want to tune the prompt for all of them. Do we want that? >> >> >> IMO yes, if the difference can be summarized in the prompt concisely >> enough. > > It might be a pain in the ass to follow such new policy: > emacs -Q: > C-x b foo RET > aeiou > I) > C-x C-s > II) > C-u C-x C-s > III) > C-u C-u C-x C-s > IV) > C-u C-u C-u C-x C-s > > All have the same prompt: > File to save in: ~/ I think this would fall under the case of too difficult to summarize into a prompt concisely. Furthermore, C-x C-s does not usually prompt at all so there is not much benefit anyway. But I would not object if someone could come up with reasonably short and informative modifications to the prompts.