Variable: command-line-ns-option-alist

command-line-ns-option-alist is a variable defined in startup.el.gz.

Value

Large value
(("-NSAutoLaunch" 1 ns-ignore-1-arg)
 ("-NXAutoLaunch" 1 ns-ignore-1-arg)
 ("-macosx" 0 ignore)
 ("-NSHost" 1 ns-ignore-1-arg)
 ("-_NSMachLaunch" 1 ns-ignore-1-arg)
 ("-MachLaunch" 1 ns-ignore-1-arg)
 ("-NXOpen" 1 ns-ignore-1-arg)
 ("-NSOpen" 1 ns-handle-nxopen)
 ("-NXOpenTemp" 1 ns-ignore-1-arg)
 ("-NSOpenTemp" 1 ns-handle-nxopentemp)
 ("-GSFilePath" 1 ns-handle-nxopen)
 ("-name" 1 x-handle-name-switch)
 ("-title" 1 x-handle-switch title)
 ("-T" 1 x-handle-switch title)
 ("-r" 0 x-handle-switch reverse t)
 ("-rv" 0 x-handle-switch reverse t)
 ("-reverse" 0 x-handle-switch reverse t)
 ("-fn" 1 x-handle-switch font)
 ("-font" 1 x-handle-switch font)
 ("-ib" 1 x-handle-numeric-switch internal-border-width)
 ("-g" 1 x-handle-geometry)
 ("-geometry" 1 x-handle-geometry)
 ("-fg" 1 x-handle-switch foreground-color)
 ("-foreground" 1 x-handle-switch foreground-color)
 ("-bg" 1 x-handle-switch background-color)
 ("-background" 1 x-handle-switch background-color)
 ("-itype" 0 x-handle-switch icon-type t)
 ("-i" 0 x-handle-switch icon-type t)
 ("-iconic" 0 x-handle-iconic icon-type t)
 ("-cr" 1 x-handle-switch cursor-color)
 ("-vb" 0 x-handle-switch vertical-scroll-bars t)
 ("-hb" 0 x-handle-switch horizontal-scroll-bars t)
 ("-bd" 1 x-handle-switch)
 ("--name" 1 x-handle-name-switch)
 ("--title" 1 x-handle-switch title)
 ("--reverse-video" 0 x-handle-switch reverse t)
 ("--font" 1 x-handle-switch font)
 ("--internal-border" 1 x-handle-numeric-switch internal-border-width)
 ("--foreground-color" 1 x-handle-switch foreground-color)
 ("--background-color" 1 x-handle-switch background-color)
 ("--mouse-color" 1 x-handle-switch mouse-color)
 ("--icon-type" 0 x-handle-switch icon-type t)
 ("--iconic" 0 x-handle-iconic)
 ("--cursor-color" 1 x-handle-switch cursor-color)
 ("--vertical-scroll-bars" 0 x-handle-switch vertical-scroll-bars t)
 ("--border-color" 1 x-handle-switch border-width))

Documentation

Alist of NS options.

Each element has the form
  (NAME NUMARGS HANDLER FRAME-PARAM VALUE)
where NAME is the option name string, NUMARGS is the number of arguments that the option accepts, HANDLER is a function to call to handle the option. FRAME-PARAM (optional) is the frame parameter this option specifies, and VALUE is the value which is given to that frame parameter
(most options use the argument for this, so VALUE is not present).

Source Code

;; Defined in /usr/src/emacs/lisp/startup.el.gz
(defconst command-line-ns-option-alist
  '(("-NSAutoLaunch" 1 ns-ignore-1-arg)
    ("-NXAutoLaunch" 1 ns-ignore-1-arg)
    ("-macosx" 0 ignore)
    ("-NSHost" 1 ns-ignore-1-arg)
    ("-_NSMachLaunch" 1 ns-ignore-1-arg)
    ("-MachLaunch" 1 ns-ignore-1-arg)
    ("-NXOpen" 1 ns-ignore-1-arg)
    ("-NSOpen" 1 ns-handle-nxopen)
    ("-NXOpenTemp" 1 ns-ignore-1-arg)
    ("-NSOpenTemp" 1 ns-handle-nxopentemp)
    ("-GSFilePath" 1 ns-handle-nxopen)
    ;;("-bw" .              x-handle-numeric-switch)
    ;;("-d" .               x-handle-display)
    ;;("-display" .         x-handle-display)
    ("-name" 1 x-handle-name-switch)
    ("-title" 1 x-handle-switch title)
    ("-T" 1 x-handle-switch title)
    ("-r" 0 x-handle-switch reverse t)
    ("-rv" 0 x-handle-switch reverse t)
    ("-reverse" 0 x-handle-switch reverse t)
    ("-fn" 1 x-handle-switch font)
    ("-font" 1 x-handle-switch font)
    ("-ib" 1 x-handle-numeric-switch internal-border-width)
    ("-g" 1 x-handle-geometry)
    ("-geometry" 1 x-handle-geometry)
    ("-fg" 1 x-handle-switch foreground-color)
    ("-foreground" 1 x-handle-switch foreground-color)
    ("-bg" 1 x-handle-switch background-color)
    ("-background" 1 x-handle-switch background-color)
;    ("-ms" 1 x-handle-switch mouse-color)
    ("-itype" 0 x-handle-switch icon-type t)
    ("-i" 0 x-handle-switch icon-type t)
    ("-iconic" 0 x-handle-iconic icon-type t)
    ;;("-xrm" .             x-handle-xrm-switch)
    ("-cr" 1 x-handle-switch cursor-color)
    ("-vb" 0 x-handle-switch vertical-scroll-bars t)
    ("-hb" 0 x-handle-switch horizontal-scroll-bars t)
    ("-bd" 1 x-handle-switch)
    ;; ("--border-width" 1 x-handle-numeric-switch border-width)
    ;; ("--display" 1 ns-handle-display)
    ("--name" 1 x-handle-name-switch)
    ("--title" 1 x-handle-switch title)
    ("--reverse-video" 0 x-handle-switch reverse t)
    ("--font" 1 x-handle-switch font)
    ("--internal-border" 1 x-handle-numeric-switch internal-border-width)
    ;; ("--geometry" 1 ns-handle-geometry)
    ("--foreground-color" 1 x-handle-switch foreground-color)
    ("--background-color" 1 x-handle-switch background-color)
    ("--mouse-color" 1 x-handle-switch mouse-color)
    ("--icon-type" 0 x-handle-switch icon-type t)
    ("--iconic" 0 x-handle-iconic)
    ;; ("--xrm" 1 ns-handle-xrm-switch)
    ("--cursor-color" 1 x-handle-switch cursor-color)
    ("--vertical-scroll-bars" 0 x-handle-switch vertical-scroll-bars t)
    ("--border-color" 1 x-handle-switch border-width))
  "Alist of NS options.
Each element has the form
  (NAME NUMARGS HANDLER FRAME-PARAM VALUE)
where NAME is the option name string, NUMARGS is the number of arguments
that the option accepts, HANDLER is a function to call to handle the option.
FRAME-PARAM (optional) is the frame parameter this option specifies,
and VALUE is the value which is given to that frame parameter
\(most options use the argument for this, so VALUE is not present).")