| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* lisp/yank-media.el (yank-media--utf-16-p): Factor out into its
own function for easier testing and fix the code.
|
|
|
|
|
| |
* lisp/yank-media.el (yank-media-types--format): Check that we
really have some nuls.
|
| |
|
|
|
|
|
| |
* lisp/yank-media.el (yank-media-types): Make the prefix include
data types not supported by the backend, too.
|
|
|
|
|
| |
* lisp/yank-media.el (yank-media--get-selection): Switch back to
gui-backend-get-selection until gui-get-selection is re-fixed.
|
|
|
|
|
| |
* lisp/yank-media.el (yank-media--get-selection): Fix thinko after
previous change.
|
|
|
|
|
|
|
| |
* lisp/yank-media.el (yank-media--get-selection): Put the
nul-massaging code...
(yank-media-types--format): ... here instead, and decode utf-16
better.
|
|
|
|
|
| |
* lisp/yank-media.el (yank-media-types): New command.
(yank-media-types--format): Helper command.
|
|
|
|
|
|
|
|
|
| |
* lisp/textmodes/sgml-mode.el (html-mode):
* lisp/gnus/message.el (message-mode):
* doc/lispref/frames.texi (Yanking Media): Adjust.
* lisp/yank-media.el (yank-media): Adjust doc string.
(yank-media-handler): Rename from `register-' because that may
cause confusion with register.el functions.
|
|
|
|
|
|
|
| |
* lisp/yank-media.el (yank-media--get-selection): Use
gui-backend-get-selection instead of the higher-level function
which guesses wrong on the charset on many types.
(yank-media): Fix the case where there's only one match.
|
|
|
|
| |
* lisp/yank-media.el (register-yank-media-handler): Expand doc string.
|
|
|
|
|
| |
* lisp/yank-media.el (yank-media): Fix logic when there's several
different handler functions.
|
|
|
|
|
| |
* lisp/yank-media.el (yank-media--get-selection): Fix typo in
previous change.
|
|
|
|
|
| |
* lisp/yank-media.el (yank-media--get-selection): Some programs
nul-terminate text/* strings. Fix that.
|
|
* doc/emacs/killing.texi (Clipboard): Refer to it.
* doc/lispref/frames.texi (Yanking Media): Document the mechanism.
* lisp/yank-media.el: New file.
* lisp/gnus/message.el (message-mode): Register a yank handler for
images.
(message-insert-screenshot): Factor out image code from here...
(message--yank-media-image-handler): ... to here.
|