From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Fwd: Preventing drag & drop the dired way Date: Tue, 10 May 2005 12:40:41 +0200 Message-ID: <858y2ntlcm.fsf@lola.goethe.zz> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115723019 15215 80.91.229.2 (10 May 2005 11:03:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 May 2005 11:03:39 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 10 13:03:35 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVSVH-0003BY-MM for ged-emacs-devel@m.gmane.org; Tue, 10 May 2005 13:02:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVSdn-0003ws-HV for ged-emacs-devel@m.gmane.org; Tue, 10 May 2005 07:11:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DVSKF-0004pb-6b for emacs-devel@gnu.org; Tue, 10 May 2005 06:50:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DVSKA-0004oi-KU for emacs-devel@gnu.org; Tue, 10 May 2005 06:50:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVSK8-0004fm-DH for emacs-devel@gnu.org; Tue, 10 May 2005 06:50:48 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DVSGk-000386-Iu for emacs-devel@gnu.org; Tue, 10 May 2005 06:47:18 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DVS9b-0003aJ-Ib for emacs-devel@gnu.org; Tue, 10 May 2005 06:39:55 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id B24021C46518; Tue, 10 May 2005 12:40:41 +0200 (CEST) Original-To: Emacs development In-Reply-To: (Reiner Steib's message of "Tue, 10 May 2005 11:43:44 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:36941 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36941 Reiner Steib writes: > I would have suggested to use `dired-mode-hook' to reset the dnd > variables to their standard values. But this won't work because the > DND setup is done after running the hooks in `dired-mode'. That would appear to be a mistake: the purpose of the hook variables is to establish user preferences at a late point in the load sequence. > I think it is reasonable that a user prefers to have the default > drop behavior in dired. Shouldn't we have an option for this? I'd > suggest the following patch. Okay to install? It would appear more sensible to fix the hook executation to come last. Actually, your patch does that, too. It looks reasonable to me. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum