• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/emacs-92/emacs/lisp/term/

Lines Matching +defs:from +defs:encoding

28 ;; Mac-win.el:  this file is loaded from ../lisp/startup.el when it recognizes
30 ;; pertaining to Mac are processed and removed from the command line. The
39 ;; These are the standard X switches from the Xt Initialize.c file of
198 `x-invocation-args', from which the X-related things are extracted, first
1047 "The list of X colors from the `rgb.txt' file.
1113 (defun mac-add-charset-info (xlfd-charset mac-text-encoding)
1120 (list xlfd-charset mac-text-encoding
1121 (cdr (assq mac-text-encoding
1165 ((encoding-vector
1177 ;; Mapping of the following characters are changed from the
1191 (make-translation-table-from-vector encoding-vector))
1197 ((encoding-vector
1223 (make-translation-table-from-vector encoding-vector))
1235 "Coding system derived from the system script code.")
1258 (defconst mac-text-encoding-ascii #x600
1259 "ASCII text encoding.")
1261 (defconst mac-text-encoding-mac-japanese-basic-variant #x20001
1262 "MacJapanese text encoding without Apple double-byte extensions.")
1266 (let* ((encoding
1269 mac-text-encoding-mac-japanese-basic-variant))
1272 (or encoding coding-system)))))
1275 (if (eq encoding mac-text-encoding-mac-japanese-basic-variant)
1281 (unless (mac-code-convert-string data nil mac-text-encoding-ascii)
1290 (let (data encoding)
1299 (setq encoding mac-text-encoding-mac-japanese-basic-variant)
1308 (or encoding coding-system) nil)))))
1353 ;;; from x-get-selection-value.
1439 ;; from what we remebered them to be last time we did a
1457 ;; from what we remebered them to be last time we did a
1476 ;; selection from clipboard (if we are supposed to) and primary,
1603 (defun mac-bytes-to-integer (bytes &optional from to)
1604 (or from (setq from 0))
1606 (let* ((len (- to from))
1612 (aref bytes (+ from (if (eq (byteorder) ?B) i
1637 ;; optional parameter keyAESearchText from the Spotlight search.
1670 (defun mac-bytes-to-text-range (bytes &optional from to)
1676 (or from (setq from 0))
1678 (and (= (- to from) (+ 4 4 2))
1679 (list (mac-bytes-to-integer bytes from (+ from 4))
1680 (mac-bytes-to-integer bytes (+ from 4) (+ from 8))
1681 (mac-bytes-to-integer bytes (+ from 8) to))))
2163 "The text from the Services menu can be accessed with \\[yank]")))))
2482 (defun create-fontset-from-mac-roman-font (font &optional resolved-font
2484 "Create a fontset from a Mac roman font FONT.
2496 (create-fontset-from-ascii-font font resolved-font fontset-name)))
2531 ;; Add Mac-encoding fonts unless ETL fonts are installed.
2535 ;; characters decoded from mac-roman encoding (ascii, latin-iso8859-1,
2537 (create-fontset-from-fontset-spec
2543 (create-fontset-from-x-resource)
2545 ;; Try to create a fontset from a font specification which comes
2546 ;; from initial-frame-alist, default-frame-alist, or X resource.
2563 ;; Create a fontset from FONT. The fontset name is
2564 ;; generated from FONT.
2566 (string= "roman" (aref xlfd-fields xlfd-regexp-encoding-subnum)))
2567 (create-fontset-from-mac-roman-font font resolved-name "startup")
2568 (create-fontset-from-ascii-font font resolved-name "startup")))))
2586 ;; sizes there already (from command line).
2723 ;; in emacs.c if invoked from the WindowServer (with -psn_* option).
2727 ;; Darwin 6- pty breakage is now controlled from the C code so that