GNU bug report logs - #25665
26.0.50; [PATCH] Indicate prefix arg in minibuffer prompt for shell-command

Previous Next

Package: emacs;

Reported by: Chunyang Xu <mail <at> xuchunyang.me>

Date: Thu, 9 Feb 2017 15:12:01 UTC

Severity: wishlist

Tags: patch, wontfix

Found in version 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: npostavs <at> users.sourceforge.net
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 25665 <at> debbugs.gnu.org, Chunyang Xu <mail <at> xuchunyang.me>
Subject: bug#25665: 26.0.50; [PATCH] Indicate prefix arg in minibuffer prompt for shell-command
Date: Thu, 09 Feb 2017 17:54:22 -0500
On Thu, Feb 9, 2017 at 11:53 AM, Tino Calancha <tino.calancha <at> gmail.com> 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.  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.

>
> Having a short prompt is also good because there are more space
> in the line for the command;

Yes, it's better to keep the prompt short if possible.  Still, having
the extra feedback might be worth it.

> a short prompt is also better while tipying
> a long command: sometimes you want to change something at the beginning:
> < ; `beginning-of-buffer'

If the command is a single line, you can use C-a instead to avoid the prompt.

> Now you need to `C-f' several times to jump out of the prompt.  The more
> verbose prompt, the more `C-f' you need.

M-e leaves the prompt immediately.




This bug report was last modified 5 years and 329 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.