From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: # in my waste basket Date: Wed, 14 Oct 2009 09:18:03 -0400 Message-ID: References: <87tyy2lae7.fsf@thinkpad.tsdh.de> <87vdiiff5m.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255526461 18664 80.91.229.12 (14 Oct 2009 13:21:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2009 13:21:01 +0000 (UTC) Cc: Tassilo Horn , Lennart Borgman , Emacs-Devel devel To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 14 15:20:47 2009 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 1My3lU-0006Ek-RL for ged-emacs-devel@m.gmane.org; Wed, 14 Oct 2009 15:19:41 +0200 Original-Received: from localhost ([127.0.0.1]:52242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My3lT-00037A-Ne for ged-emacs-devel@m.gmane.org; Wed, 14 Oct 2009 09:19:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My3k3-0002ii-Vp for emacs-devel@gnu.org; Wed, 14 Oct 2009 09:18:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My3jz-0002gN-16 for emacs-devel@gnu.org; Wed, 14 Oct 2009 09:18:11 -0400 Original-Received: from [199.232.76.173] (port=45008 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My3jy-0002gD-Qm for emacs-devel@gnu.org; Wed, 14 Oct 2009 09:18:06 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:12140 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My3jx-00078l-GB for emacs-devel@gnu.org; Wed, 14 Oct 2009 09:18:06 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqYEACts1UpMCqsb/2dsb2JhbACBUddEhC4Eh3U X-IronPort-AV: E=Sophos;i="4.44,557,1249272000"; d="scan'208";a="47536667" Original-Received: from 76-10-171-27.dsl.teksavvy.com (HELO pastel.home) ([76.10.171.27]) by ironport2-out.pppoe.ca with ESMTP; 14 Oct 2009 09:18:04 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id BF9CC7F5B; Wed, 14 Oct 2009 09:18:03 -0400 (EDT) In-Reply-To: <87vdiiff5m.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Wed, 14 Oct 2009 19:23:01 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:116134 Archived-At: > `delete-file' should make the decision based on whether it is > called-interactively-p. `dired-remove-file' can use > `call-interactively' to pass that information to it. But with call-interactively, it can't specify the file to delete. Maybe a better way is to have 2 functions. A low-level one (what used to be `delete-file') that is not meant for interactive use and that is a file operation, and a higher-level one for interactive use which is not a file operation and which uses the Trash if applicable. Stefan