emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/frames.texi,v


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] Changes to emacs/lispref/frames.texi,v
Date: Wed, 12 Jul 2006 08:34:36 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     YAMAMOTO Mitsuharu <mituharu>   06/07/12 08:34:36

Index: frames.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/lispref/frames.texi,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -b -r1.107 -r1.108
--- frames.texi 8 Jul 2006 18:09:50 -0000       1.107
+++ frames.texi 12 Jul 2006 08:34:36 -0000      1.108
@@ -1694,12 +1694,33 @@
 only; if the clipboard holds other types of data, Emacs treats the
 clipboard as empty.
 
address@hidden scrap support (for Mac OS)
+On Mac OS, selection-like data transfer between applications is
+performed through a mechanism called @dfn{scraps}.  The clipboard is a
+particular scrap named @code{com.apple.scrap.clipboard}.  Types of scrap
+data are called @dfn{scrap flavor types}, which are identified by
+four-char codes such as @code{TEXT}.  Emacs associates a selection with
+a scrap, and a selection type with a scrap flavor type via
address@hidden and @code{mac-ostype} properties, respectively.
+
address@hidden
+(get 'CLIPBOARD 'mac-scrap-name)
+     @result{} "com.apple.scrap.clipboard"
+(get 'com.apple.traditional-mac-plain-text 'mac-ostype)
+     @result{} "TEXT"
address@hidden example
+
+Conventionally, selection types for scrap flavor types on Mac OS have
+the form of @acronym{UTI, Uniform Type Identifier} such as
address@hidden,
address@hidden, and @code{public.file-url}.
+
 @defopt x-select-enable-clipboard
 If this is address@hidden, the Emacs yank functions consult the
 clipboard before the primary selection, and the kill functions store in
 the clipboard as well as the primary selection.  Otherwise they do not
 access the clipboard at all.  The default is @code{nil} on most systems,
-but @code{t} on MS-Windows.
+but @code{t} on MS-Windows and Mac.
 @end defopt
 
 @node Drag and Drop




reply via email to

[Prev in Thread] Current Thread [Next in Thread]