From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: shell-command shouldn't require digging in history Date: Thu, 29 Jul 2004 08:08:21 +0800 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87oelz4qvd.fsf@jidanni.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1091144452 10946 80.91.224.253 (29 Jul 2004 23:40:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Jul 2004 23:40:52 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 30 01:40:45 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BqKVw-0004ir-00 for ; Fri, 30 Jul 2004 01:40:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BqKZ9-0007so-Nj for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Jul 2004 19:44:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BqKZ7-0007sj-B8 for bug-gnu-emacs@gnu.org; Thu, 29 Jul 2004 19:44:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BqKZ6-0007sX-Rc for bug-gnu-emacs@gnu.org; Thu, 29 Jul 2004 19:44:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BqKZ6-0007sU-Mb for bug-gnu-emacs@gnu.org; Thu, 29 Jul 2004 19:44:00 -0400 Original-Received: from [204.74.68.40] (helo=frodo.hserus.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BqKVp-0003O4-AE for bug-gnu-emacs@gnu.org; Thu, 29 Jul 2004 19:40:37 -0400 Original-Received: from tc218-187-83-97.2-7.dynamic.apol.com.tw ([218.187.83.97]:33447 helo=jidanni1) by frodo.hserus.net with asmtp (Cipher TLSv1:RC4-SHA:128) (Exim 4.41 #0) id 1BqKVm-000FDz-LV by authid with plain for ; Fri, 30 Jul 2004 05:10:35 +0530 Original-Received: from jidanni by jidanni1 with local (Exim 4.34) id 1BpyT8-0002FI-4h for bug-gnu-emacs@gnu.org; Thu, 29 Jul 2004 08:08:22 +0800 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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 Xref: main.gmane.org gmane.emacs.bugs:8574 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8574 Perhaps shell-command, shell-command-on-region, dired-do-shell-command could prompt the user with what they last did with them, as is the trend. Be sure to put the cursor at the end of the string so he can adjust it without further ado. In fact, put the cursor where he last had it, not necessarily the end.