From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Chunyang Xu 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 12:23:54 +0800 Message-ID: References: <8760kjz4nv.fsf@calancha-pc> <83r3373y3f.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1486700713 23502 195.159.176.226 (10 Feb 2017 04:25:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2017 04:25:13 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 26.0.50.2 Cc: 25665@debbugs.gnu.org, Tino Calancha To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 10 05:25:09 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 1cc2lh-0005eF-E8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2017 05:25:09 +0100 Original-Received: from localhost ([::1]:41697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc2lj-0007qC-PE for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2017 23:25:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc2ld-0007og-H8 for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 23:25:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cc2la-0000uk-CX for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 23:25:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cc2la-0000uf-8t for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 23:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cc2la-0003s3-0j for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 23:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chunyang Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Feb 2017 04:25:01 +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.148670064714813 (code B ref 25665); Fri, 10 Feb 2017 04:25:01 +0000 Original-Received: (at 25665) by debbugs.gnu.org; 10 Feb 2017 04:24:07 +0000 Original-Received: from localhost ([127.0.0.1]:33660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cc2kh-0003qr-38 for submit@debbugs.gnu.org; Thu, 09 Feb 2017 23:24:07 -0500 Original-Received: from smtpbgbr2.qq.com ([54.207.22.56]:40788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cc2kf-0003qH-K1 for 25665@debbugs.gnu.org; Thu, 09 Feb 2017 23:24:06 -0500 X-QQ-mid: bizesmtp4t1486700631tpi12az28 Original-Received: from Chunyangs-MacBook-Air.local (unknown [114.236.198.223]) by esmtp4.qq.com (ESMTP) with id ; Fri, 10 Feb 2017 12:23:50 +0800 (CST) X-QQ-SSF: 0110000000000040F410B00A0000000 X-QQ-FEAT: mo1k4QclioRRsr+CQjp/ZdL40q0XvM+71QRGu0EkOJw2dcNzaGE0B2r8VSXCO zPzjYrq62GUOfKN+v0n6wkLjhWXC4doNo7TIodglsmwzKLx0VRMfJA58W9FIf8iMVXmkpaY j1Xe8pQ8zALIG6oqZR6I8zJ4b/wyZgcK+tEfATUwPDFvF9I/bZLC9sAl5c2Ozh4WAqTMF3+ ycd/d1q9ynEszQHHlaX4JCD2v24VO7V+L2l5SaxN7Z/vkdg2VT/4RLCeLHteYx78= X-QQ-GoodBg: 0 In-reply-to: <83r3373y3f.fsf@gnu.org> X-QQ-SENDSIZE: 520 X-QQ-Bgrelay: 1 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:129176 Archived-At: Eli Zaretskii writes: >> From: Tino Calancha >> Date: Fri, 10 Feb 2017 01:53:56 +0900 >> Cc: 25665@debbugs.gnu.org, tino.calancha@gmail.com >> >> I am not sure about this. >> The meaning of the prefix argument must be explained in the docstring. >> That and the manual are the source of documentation, not the prompt. >> >> Having a short prompt is also good because there are more space >> in the line for the command; a short prompt is also better while tipying >> a long command: sometimes you want to change something at the beginning: >> < ; `beginning-of-buffer' >> Now you need to `C-f' several times to jump out of the prompt. The more >> verbose prompt, the more `C-f' you need. >> >> Just my opinion. Let's see what other people think. > > I think it goes against Emacs conventions. We have quite a few > commands that insert output into the current buffer when invoked with > an argument. but many of these commands don't have a minibuffer prompt, such as 'C-x C-e', so we don't need to worry about them. I just notice that 'C-u C-s' ('isearch-forward') is also showing the meaning of prefix argument in the minibuffer prompt: C-s I-search: C-u C-s Regexp I-search: (of course you can think it is trying to use the same prompt as 'C-M-s')