From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha 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:05:29 +0900 (JST) Message-ID: References: <8760kjz4nv.fsf@calancha-pc> <87inojm0v5.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1486695971 15825 195.159.176.226 (10 Feb 2017 03:06:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2017 03:06:11 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: 25665@debbugs.gnu.org, Chunyang Xu , Tino Calancha To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 10 04:06:07 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 1cc1XB-0003ml-Id for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2017 04:06:05 +0100 Original-Received: from localhost ([::1]:41513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc1XH-0006kr-CY for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2017 22:06:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc1XB-0006kY-Np for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 22:06:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cc1X8-0005qV-IN for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 22:06:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cc1X8-0005qR-GC for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 22:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cc1X8-00024q-7Q for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 22:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Feb 2017 03:06: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.14866959417955 (code B ref 25665); Fri, 10 Feb 2017 03:06:02 +0000 Original-Received: (at 25665) by debbugs.gnu.org; 10 Feb 2017 03:05:41 +0000 Original-Received: from localhost ([127.0.0.1]:33644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cc1Wm-00024F-Rj for submit@debbugs.gnu.org; Thu, 09 Feb 2017 22:05:41 -0500 Original-Received: from mail-pf0-f194.google.com ([209.85.192.194]:33169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cc1Wl-000240-At for 25665@debbugs.gnu.org; Thu, 09 Feb 2017 22:05:39 -0500 Original-Received: by mail-pf0-f194.google.com with SMTP id e4so1489651pfg.0 for <25665@debbugs.gnu.org>; Thu, 09 Feb 2017 19:05:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=eAW35IUt6lw0VJB93MhFhOeWHjwCwfmlZ8PUakZ3zBM=; b=qFDlEgnxO2ID/Gg8xvkgbckZID8eHeJeiaRD5jbOQzououYgFEIxBtvGV34PxxVUaa 8Jb4s38bByIHvFQ+WeBchTkBfefkNhtWmteE6NOgy34ucbEU9egdM/OnDD7n3q7mZdIE 5hlw/JnNiI0KytH+s1RkLrHt7lvP2+FzaqzmDSlSL8/WjUpgUwpXcENwb3hvu+UIBISa aaWDl2m8RywceuifI133AKSuSMsIAPWly1VSCvFHpYbBq9+LYnc+x81PapPJxtZBfRxc p8pCJFrF+VDnEEhBENyP84Dz4svLqCZs8I12TtgOKddM/Rwob2EmBTDwiC/hKZwXb0C+ HGFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=eAW35IUt6lw0VJB93MhFhOeWHjwCwfmlZ8PUakZ3zBM=; b=JHEJe0RfqbKmwvZmUb6flsAHLIQwwlBHtrehYf1TFqU+d+9YYZ91eCci9x6D3qGP9F wytC9BW221SP7MdNgdfCCPbpVnfRltCGXK+Mtey2bXuhVIGTeNW+RObRtnFjgZkz6nsS 8VTvlJPnnVc1p3MALMibJwYA6bbPDpy+GUCb31BERydIcyKpH3mlY6eR+y2T8ksqGMfN kHEQp8wVLoOsziVzlkz1GyCDIKmAny4nhfsO6dRH9Jsk518PBKNp42X/7aL4p4iwquFl wnb6n9wpy9qEVWQup/bcfUsUYSbrughN37i7Z4Tf4nX+opN3rlJYYlgYZ0BCJ+6as5B7 9SvA== X-Gm-Message-State: AMke39kdwxD4sFpjt2ooUBMpteb5vI+YwHJPth1OjYcokdunEn2VUD28M973JHC7QUjKgw== X-Received: by 10.99.145.68 with SMTP id l65mr7889516pge.12.1486695933521; Thu, 09 Feb 2017 19:05:33 -0800 (PST) Original-Received: from calancha-pc (104.81.147.124.dy.bbexcite.jp. [124.147.81.104]) by smtp.gmail.com with ESMTPSA id b21sm411748pfl.87.2017.02.09.19.05.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Feb 2017 19:05:32 -0800 (PST) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <87inojm0v5.fsf@users.sourceforge.net> 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:129174 Archived-At: On Thu, 9 Feb 2017, npostavs@users.sourceforge.net wrote: > On Thu, Feb 9, 2017 at 11:53 AM, Tino Calancha wrote: > >> The meaning of the prefix argument must be explained in the docstring. >> That and the manual are the source of documentation, not the prompt. > > But it's nice if Emacs gives you a different prompt, so that you can be > sure you typed in the command correctly. Confirmation for having typed C-u? Well, sometimes some keys in old keyboards die... ;-) > Just like M-& gives a > different prompt from M-!, even though you could figure out the > different meaning just by reading the docstring of each command. These are different commands so its Emacs (and whatever editor) convention to how a different prompt. The OP suggests to use a different prompt for the same command w/ or w/o prefix. 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?