unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: Fwd: Preventing drag & drop the dired way
Date: Tue, 10 May 2005 12:40:41 +0200	[thread overview]
Message-ID: <858y2ntlcm.fsf@lola.goethe.zz> (raw)
In-Reply-To: <v9y8anju0f.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Tue, 10 May 2005 11:43:44 +0200")

Reiner Steib <reinersteib+gmane@imap.cc> 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

  reply	other threads:[~2005-05-10 10:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-10  9:43 Fwd: Preventing drag & drop the dired way Reiner Steib
2005-05-10 10:40 ` David Kastrup [this message]
2005-05-11 16:27   ` Richard Stallman
2005-05-11 19:39     ` Reiner Steib
2005-05-11 13:56 ` Johan Bockgård
2005-05-12  8:30   ` Richard Stallman
2005-05-12 15:53     ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=858y2ntlcm.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).