unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org, Jason Rumney <jasonr@gnu.org>
Subject: Re: [patch] enhanced mac drag-n-drop
Date: Thu, 7 Apr 2005 17:18:12 +0200	[thread overview]
Message-ID: <53087d133382cd79e77e039fe64f500e@swipnet.se> (raw)
In-Reply-To: <m24qeibtjp.fsf@Sean-ORourkes-Computer.local>

> Jason Rumney <jasonr@gnu.org> writes:
>>> We should break out what you can use in a general dnd.el file.
>
> Second, the XDND version has message decoding mixed throughout the
> Lisp code.  This is implementation-dependent, so IMHO it should be
> done before Lisp gets ahold of the data, or at least before the
> platform-independent part.  Examples include splitting URL-list
> strings into separate URLs and matching on the XDND command names.

This is one thing that I won't remove from Lisp.  For example, the 
format of URLs from Netscape/Mozilla has changed several times.  More 
and more new types are being added by Gnome and KDE file managers.  
Having the decoding of all that in Lisp is so much more flexible and 
much easier to modify, maintain and debug than having it in C.  If a 
general part is made, the decodings will be done in the platform 
specific parts, that's obvious.

>
> Third, there are the drop types, which have both different encodings
> (platform-dependent) and different default actions (platform-
> independent).  For the latter, it would be nice to agree on a set of
> names (e.g. text, URL, file).

I don't follow, what kind of action is text, URL, file?  An action 
would be more like insert-text, open-file or some such.

> Finally, the "suggested action" in XDND will be very useful on Mac, so
> I hope it stays around.

As it is part of the protocol in both XDND and Motif, it will not go 
anywhere.  I'll try to include some generalization of the concept.

	Jan D.

  reply	other threads:[~2005-04-07 15:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-06  0:53 [patch] enhanced mac drag-n-drop Sean O'Rourke
2005-04-06 11:37 ` Stefan Monnier
2005-04-06 16:17 ` Jan D.
2005-04-06 18:12   ` Sean O'Rourke
2005-04-06 19:22     ` Jan D.
     [not found]     ` <uwtrfsjhv.fsf@jasonrumney.net>
2005-04-07  4:36       ` Jan D.
2005-04-07  6:59         ` Jason Rumney
2005-04-07 13:33           ` Sean O'Rourke
2005-04-07 15:18             ` Jan D. [this message]
2005-04-11 19:39           ` Jan D.
2005-04-09 11:00 ` YAMAMOTO Mitsuharu
2005-04-09 13:46   ` Jan D.
2005-04-10  2:03     ` YAMAMOTO Mitsuharu
2005-04-10  5:47       ` Jan D.
2005-04-10 14:42       ` Stefan Monnier
2005-04-11  1:56         ` Richard Stallman
2005-04-11  3:35           ` Stefan Monnier
2005-04-11  9:49             ` YAMAMOTO Mitsuharu
2005-04-11 16:39               ` Stefan Monnier
2005-04-12  8:24                 ` YAMAMOTO Mitsuharu
2005-04-12  2:58             ` Richard Stallman
2005-04-12  3:59               ` Stefan Monnier
2005-04-12 17:24                 ` Richard Stallman
2005-04-11  1:56       ` Richard Stallman

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=53087d133382cd79e77e039fe64f500e@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@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).