Solution found on carbon-emacs' mailing list on google groups
here. This worked on my environment (Mac OSX 10.6.5, Carbon Emacs 1.6.0, MS Word Mac 14.0.1).
I auto-answer: add the following to your .emacs (credits:
http://superuser.com/questions/68328/carbon-emacs-yank-results-in-images)
;; === Fix the "copy-paste from MS Word" issue on Mac OS X ===
;; prohibit pasting of TIFFs
(defun x-selection-value (type)
(let ((data-types '(public.file-url
public.utf16-plain-text
com.apple.traditional-mac-plain-text))
text)
(while (and (null text) data-types)
(setq text (condition-case nil
(x-get-selection type (car data-types))
(error nil)))
(setq data-types (cdr data-types)))
(if text
(remove-text-properties 0 (length text) '(foreign-selection nil)
text))
text))
 |
Winter -> Season of hot stew, even here in Texas. |
Comments