Mercurial > hg > xemacs-beta
view tests/Dnd/README @ 5583:10f179710250
Deprecate #'remassoc, #'remassq, #'remrassoc, #'remrassq.
src/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
* fns.c (remassoc_no_quit):
* fns.c (remrassq_no_quit):
* fns.c (syms_of_fns):
* fontcolor-tty.c (Fregister_tty_color):
* fontcolor-tty.c (Funregister_tty_color):
* fontcolor-tty.c (Ffind_tty_color):
* lisp.h:
Remove Fremassq, Fremrassq, Fremassoc, Fremrassoc, they're
XEmacs-specific functions and Lisp callers should use (delete*
... :key #'car) anyway. Keep the non-Lisp-visible _no_quit
versions, calling FdeleteX from C with the appropriate arguments
is ungainly.
lisp/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
* obsolete.el:
* obsolete.el (assq-delete-all):
* packages.el (package-provide):
* packages.el (package-suppress):
* mule/cyrillic.el ("Cyrillic-KOI8"):
* mule/cyrillic.el (koi8-u):
* mule/general-late.el (posix-charset-to-coding-system-hash):
* mule/latin.el:
* mule/latin.el (for):
* cl-extra.el:
* cl-extra.el (cl-extra):
* loadup.el (load-history):
Change any uses of #'remassq, #'remassoc and friends to calling
#'delete* with an appropriate key argument. Provide compatibility
implementations, mark them obsolete.
man/ChangeLog addition:
2011-10-09 Aidan Kehoe <kehoea@parhasard.net>
* lispref/lists.texi (Association Lists):
Don't document #'remassoc, #'remassq and friends in detail;
they're XEmacs-specific and (delete* ... :key #'car) is
preferable.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 09 Oct 2011 12:55:51 +0100 |
parents | bc4f2511bbea |
children |
line wrap: on
line source
* Sun May 3 1998 Oliver Graf <ograf@fga.de> This path contains test code for the new XEmacs Drag'n'Drop code. To test the code do the following: 1) call 'bash droptest.sh' to create the test files in /tmp 2) load and eval droptest.el in XEmacs 3) Try to do some internal DnD by using the sources and targets in the new buffer 4) Do some external DnD: 4a) CDE: use dtfile and dtpad 4b) MSWindows: well, explorer should do. But only file data should work, and I don't know if the test already handles this. The misc-user-event now also responds as a button-x-event to the event-* query functions. The function of a drag is called dragdrop-drop-dispatch as you can see in droptest.el. From within the function you can access the actual misc-user-event through the current-mouse-event variable. Short description of the object part of a drop misc-user-event: ( TYPE . DATA ) TYPE is either the symbol dragdrop_MIME or the symbol dragdrop_URL DATA is a list of URL strings if TYPE is dragdrop_URL if TYPE is dragdrop_MIME DATA is either a string which contains the MIME data, or it is a list of ( CONTENT-TYPE CONTENT-ENCODING MIME-DATA ) CONTENT-TYPE is encoded for tm-view (list, first element type, rest key.value conses) CONTENT-ENCODING is a string MIME-DATA is a string CONTENT-TYPE and -ENCODING can be directly supplied to mime/viewer-mode.