From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: M-! in dired-mode Date: Sat, 1 Dec 2007 01:15:17 +0200 Message-ID: <200712010115.18034.pogonyshev@gmx.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196460939 16111 80.91.229.12 (30 Nov 2007 22:15:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2007 22:15:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 30 23:15:47 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IyE97-0007zL-93 for ged-emacs-devel@m.gmane.org; Fri, 30 Nov 2007 23:15:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyE8r-0005k4-AA for ged-emacs-devel@m.gmane.org; Fri, 30 Nov 2007 17:15:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IyE8o-0005hh-13 for emacs-devel@gnu.org; Fri, 30 Nov 2007 17:15:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IyE8l-0005cf-VL for emacs-devel@gnu.org; Fri, 30 Nov 2007 17:15:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyE8l-0005cF-MB for emacs-devel@gnu.org; Fri, 30 Nov 2007 17:15:19 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IyE8l-0003tV-8l for emacs-devel@gnu.org; Fri, 30 Nov 2007 17:15:19 -0500 Original-Received: (qmail invoked by alias); 30 Nov 2007 22:15:17 -0000 Original-Received: from unknown (EHLO [10.19.3.202]) [212.98.162.3] by mail.gmx.net (mp032) with SMTP; 30 Nov 2007 23:15:17 +0100 X-Authenticated: #16844820 X-Provags-ID: V01U2FsdGVkX1+BTXcUmK2B0R3x41j8C99IdrlS4t7YLB82NyV+vq RzpRBWpD6bfLYT User-Agent: KMail/1.7.2 Content-Disposition: inline X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:84384 Archived-At: Hi, M-! runs `shell-command' in `dired-mode'. However, I cannot figure when it runs on file under point and when without a file at all, it seems to be completely random. I mean, the buffer prompt does unambigously say whether it will be run on a file or not, but that prompt itself varies for no apparent reason and I couldn't find anything in help... Can anyone enlighten me (or just point to correct info node)? Paul