From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: delete-file to trash Date: Sun, 23 May 2010 19:20:44 -0400 Message-ID: <878w7amchf.fsf@stupidchicken.com> References: <877hmvxyuv.fsf@stupidchicken.com> <87hblz1hxi.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274656868 6575 80.91.229.12 (23 May 2010 23:21:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 23 May 2010 23:21:08 +0000 (UTC) Cc: Leo , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 24 01:21:01 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OGKTZ-0004D3-VA for ged-emacs-devel@m.gmane.org; Mon, 24 May 2010 01:20:58 +0200 Original-Received: from localhost ([127.0.0.1]:59041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGKTZ-00086n-5L for ged-emacs-devel@m.gmane.org; Sun, 23 May 2010 19:20:57 -0400 Original-Received: from [140.186.70.92] (port=54822 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGKTT-00086g-94 for emacs-devel@gnu.org; Sun, 23 May 2010 19:20:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGKTR-0005bj-91 for emacs-devel@gnu.org; Sun, 23 May 2010 19:20:51 -0400 Original-Received: from pantheon-po14.its.yale.edu ([130.132.50.23]:57097) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGKTR-0005bb-66 for emacs-devel@gnu.org; Sun, 23 May 2010 19:20:49 -0400 Original-Received: from furry (adsl-99-58-202-102.dsl.wlfrct.sbcglobal.net [99.58.202.102]) (authenticated bits=0) by pantheon-po14.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o4NNKj8N016640 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 23 May 2010 19:20:46 -0400 Original-Received: by furry (Postfix, from userid 1000) id DFA21C057; Sun, 23 May 2010 19:20:44 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Sun, 23 May 2010 09:37:22 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:125156 Archived-At: Stefan Monnier writes: >>> PS: And yes, for interactive calls to delete-file, the `allow-trash' >>> should be non-nil, I think. >> Yeah, but omitted means nil. Hmm. > > We're talking interactive calls, so it doesn't have to be omitted. > We can set its value to anything we want. Yeah, there are commands (e.g. shell-command-on-region and clone-buffer) for which an omitted prefix argument means t. I was hoping we could avoid adding more, because most commands do the opposite. But I guess there's no completely clean solution to this particular problem.