From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jim Blandy" Newsgroups: gmane.emacs.devel Subject: Re: space, M-x Date: Mon, 10 Nov 2008 09:47:48 -0800 Message-ID: <8f2776cb0811100947ka9c15acn4e9e9956927840de@mail.gmail.com> References: <86ljvs91kv.fsf@comm.utoronto.ca> <86fxlz8q85.fsf@comm.utoronto.ca> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226339350 15442 80.91.229.10 (10 Nov 2008 17:49:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2008 17:49:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Gilaras Drakeson" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 10 19:27:22 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1KzbTt-0001DZ-Gg for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2008 19:27:21 +0100 Original-Received: from localhost ([127.0.0.1]:39086 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kzass-0007KB-VI for ged-emacs-devel@m.gmane.org; Mon, 10 Nov 2008 12:49:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kzari-0006ZR-QC for emacs-devel@gnu.org; Mon, 10 Nov 2008 12:47:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kzarg-0006XZ-S7 for emacs-devel@gnu.org; Mon, 10 Nov 2008 12:47:53 -0500 Original-Received: from [199.232.76.173] (port=48675 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kzarg-0006XQ-H7 for emacs-devel@gnu.org; Mon, 10 Nov 2008 12:47:52 -0500 Original-Received: from yw-out-1718.google.com ([74.125.46.154]:62725) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kzarg-00032E-5n for emacs-devel@gnu.org; Mon, 10 Nov 2008 12:47:52 -0500 Original-Received: by yw-out-1718.google.com with SMTP id 9so1020438ywk.66 for ; Mon, 10 Nov 2008 09:47:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=Q7VLQcbqXf4IwOW78mr++5V0+hDE9dHABfnz8wiJOGY=; b=dKGMO8pPnvDt4T9CbMuSh/TWAnxs1vDBf7URerkHuY4+jyAsyP8A0zxpPnI2713P8M +NsdyZZSeZb4nVZPtXtH8J91kIKBOJaYnSxLnIm7q9Ny9cAVOlQc8CEML7+rwz6yOA1U HguZ3vbOY/Us7j4h7z9FexFb2oHUM3nutrveM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=bwEt1bU3uXNA0U1EPry3iGQS8hYT25tIRNXuWrrqgzjiq4/+H3GgL0FjFrieMwvFQi Wp6VyMoBnfhfgRgrCObqE2ddsMlK1m8gIyEsPTceenwfsSGnVZ4GRarIji1rAmodcS61 doRgRqxwJurtEE+KqeTg8oZz77SBUfzogw00c= Original-Received: by 10.142.238.12 with SMTP id l12mr2524295wfh.222.1226339270331; Mon, 10 Nov 2008 09:47:50 -0800 (PST) Original-Received: by 10.142.128.7 with HTTP; Mon, 10 Nov 2008 09:47:48 -0800 (PST) In-Reply-To: <86fxlz8q85.fsf@comm.utoronto.ca> Content-Disposition: inline X-Google-Sender-Auth: cd7a3bb1838b58f7 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105536 Archived-At: On Mon, Nov 10, 2008 at 9:07 AM, Gilaras Drakeson wrote: >> This may be marginally more convenient than "C-8 0 M-x set-fill-column >> RET" in some cases, indeed (basically in the cases where you've >> started M-x before realizing you needed to pass a prefix arg). > > I am looking for two improvements: > > One is the ability to enter the arguments "naturally", the way you use a > shell. It is more comfortable to see the whole command (with arguments) > on the same line/in the same area. Sometimes the user wants to go back > and edit previous arguments, or even the command name. In the current sources, you can type M-x set-fill-column RET and then use M-p to find previous values. > The other is to have the command and its arguments in the history. > Imagine that you want to (do-thing arg1-1 arg2), then (do-thing arg1-2 > arg2), (do-thing arg1-3 arg2), etc. Currently doing this can be a > hassle, unless you use eval-expression in which case you lose the other > benefits of M-x, e.g., hand-crafted tab completion. It would be handier > if you could type "replace-regex" and see the arguments to your > previous invocations of replace-regex. You can type M-% replace-regexp RET M-p to see previous regular expressions, can't you? >>> M-x make-directory M-space ~/ >> >> But I don't see what's the point of this one. >> >> M-x make-directory RET ~/ >> >> works just as well, doesn't it? > > Yes, the logical order of entering non-prefix commands are fine. The > other argument about the history of previous commands still holds, > though. M-p works here, too. Perhaps what you're after here is having Emacs's M-x history behave a bit more like bash's command history, where stepping back into the history retrieves both a command and its arguments.