home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / NEWS < prev    next >
Encoding:
Text File  |  1993-04-08  |  160.3 KB  |  4,304 lines

  1. This is Lucid GNU Emacs.  It is based on an early version of Emacs version 19
  2. from the Free Software Foundation.
  3.  
  4. Why Another Version of Emacs?
  5. =============================
  6.  
  7. Lucid's latest product, Energize, is a C/C++ development environment.  Rather
  8. than invent (and force our users to learn) a new user-interface, we chose to
  9. build part of our environment on top of the world's best editor, GNU Emacs.
  10. (Though our product is commercial, the work we did on GNU Emacs is free
  11. software, and is useful without having to purchase our product.)
  12.  
  13. We needed a version of Emacs with mouse-sensitive regions, multiple fonts,
  14. the ability to mark sections of a buffer as read-only, the ability to detect
  15. which parts of a buffer has been modified, and many other features.
  16.  
  17. Why Not Epoch?
  18. ==============
  19.  
  20. For our purposes, the existing version of Epoch was not sufficient; it did
  21. not allow us to put arbitrary pixmaps/icons in buffers, `undo' did not
  22. restore changes to regions, regions did not overlap and merge their
  23. attributes in the way we needed, and several other things.
  24.  
  25. We could have devoted our time to making Epoch do what we needed (and, in
  26. fact, we spent some time doing that) but, since the FSF planned to include
  27. Epoch-like features in their version 19, we decided that our efforts would 
  28. be better spent improving Emacs19 instead of Epoch.  
  29.  
  30. Our original hope was that our changes to Emacs would be incorporated into
  31. the "official" v19.  However, scheduling conflicts arose, and we found that,
  32. given the amount of work still remaining to be done, we didn't have time to
  33. merge with the FSF's code.  Consequently, we have released our work as a
  34. forked branch of Emacs, instead of delaying any longer.
  35.  
  36. Work has begun on a merger of Epoch and Lucid Emacs.  It seems likely that 
  37. the next release of Epoch will be based on Lucid Emacs instead of GNU Emacs
  38. from the FSF.  At some point, Lucid Emacs and Epoch will probably be the 
  39. same thing.
  40.  
  41. No Warranty
  42. ===========
  43.  
  44. Lucid Emacs is distributed under exactly the same terms as GNU Emacs, and
  45. thus has no warranty of any kind.
  46.  
  47. However, if you have received this version of Emacs with Energize, then it is
  48. covered by your Energize support contract.  If you have received it through
  49. some other means, then you may buy a support contract for it from Lucid.
  50. Send mail to lucid-info@lucid.com for more information about Lucid Emacs or
  51. Energize.
  52.  
  53. What's Different?
  54. =================
  55.  
  56. Lucid Emacs *currently* requires an X Window System environment to run,
  57. though it will not be much work to make it run on dumb ttys again.  We plan
  58. to do this eventually.
  59.  
  60. We have not personally tried to compile this version of Emacs under anything
  61. but SunOS 4.1 on SparcStations, though others have successfully done so.  We
  62. are very eager to get feedback about portability problems from those who
  63. compile it on other systems.
  64.  
  65. We have reimplemented the basic input model in a more general way; instead of
  66. X input being a special-case of the normal ASCII input stream, Emacs has a
  67. concept of "input events", and ASCII characters are a subset of that.  The
  68. events that Emacs knows about are not X events, but are a generalization of
  69. them, so that Emacs can eventually be ported to different window systems.
  70.  
  71. We have reimplemented keymaps so that sequences of events can be stored into
  72. them instead of just ASCII codes; it is possible to, for example, bind 
  73. different commands to each of the chords Control-h, Control-H, Backspace,
  74. Control-Backspace, and Super-Shift-Backspace.  Key bindings, function key
  75. bindings, and mouse bindings live in the same keymaps.
  76.  
  77. Input and display of all ISO-8859-1 characters is supported.
  78.  
  79. You can have multiple X windows ("screens" in Emacs terminology).
  80.  
  81. Our Emacs has objects called "extents" and "faces", which are roughly
  82. analogous to Epoch's "buttons," "zones," and "styles."  An extent is a region
  83. of text (a start position and an end position) and a face is a collection of
  84. textual attributes like fonts and colors.  Every extent is displayed in some
  85. "face", so changing the properties of a face immediately updates the display 
  86. of all associated extents.  Faces can be screen-local: you can have a region
  87. of text which displays with completely different attributes when its buffer
  88. is viewed from a different X window.
  89.  
  90. The display attributes of faces may be specified either in lisp or through
  91. the X resource manager.
  92.  
  93. There may be some display glitches if all the fonts of a screen are not the
  94. same height in pixels.  Any of the used fonts may be variable-width, but tabs
  95. will not be displayed sensibly.  We hope to improve this soon.
  96.  
  97. Emacs use the MIT "Xt" toolkit instead of raw Xlib calls, which makes it be
  98. a more well-behaved X citizen (and also improves portability).  A result of
  99. this is that it is possible to include other Xt "Widgets" in the Emacs
  100. window.  Also, Emacs understands the standard Xt command-line arguments.
  101.  
  102. Emacs understands the X11 "Selection" mechanism; it's possible to define
  103. and customize selection converter functions and new selection types from 
  104. elisp, without having to recompile Emacs.
  105.  
  106. Emacs now supports the Zmacs/Lispm style of region highlighting, where the
  107. region between the point and mark is highlighted when in its "active" state.
  108.  
  109. Emacs has a menubar, whose contents are customizable from emacs-lisp.
  110. This menubar looks Motif-ish, but does not require Motif.  If you already
  111. own Motif, however, you can configure Emacs to use a *real* Motif menubar
  112. instead.  If you have OLIT ("OpenLook Intrinsics"), you can use an
  113. OpenWindows-like menubar.
  114.  
  115. Emacs can ask questions using popup dialog boxes.  Any command executed from
  116. a menu will ask yes/no questions with dialog boxes, while commands executed
  117. via the keyboard will use the minibuffer.
  118.  
  119. The initial load-path is computed at run-time, instead of at compile-time.
  120. This means that if you move the Emacs executable and associated directories
  121. to somewhere else, you don't have to recompile anything.
  122.  
  123. You can specify what the title of the Emacs windows and icons should be
  124. with the variables `screen-title-format' and `screen-icon-title-format',
  125. which have the same syntax as `mode-line-format'.
  126.  
  127. Emacs now supports floating-point numbers.
  128.  
  129. Emacs now knows about timers directly, instead of them being simulated by
  130. a subprocess.
  131.  
  132. Emacs understands truenames, and can be configured to notice when you are
  133. visiting two names of the same file.  See the variables find-file-use-truenames
  134. and find-file-compare-truenames.
  135.  
  136. If you're running on a sun SparcStation, you can specify sound files for
  137. Emacs to play instead of the default X beep.  See the documentation of the
  138. function load-sound-file and the variable sound-alist.
  139.  
  140. Random changes to the emacs-lisp library: (some of this was not written by
  141. us, but is included because it's free software and we think it's good stuff)
  142.  
  143.   - there is a new optimizing byte-compiler
  144.   - there is a new abbrev-based mail-alias mechanism
  145.   - the -*- line can contain local-variable settings
  146.   - there is a new TAGS package
  147.   - there is a new VI-emulation mode (evi)
  148.   - there is a new implementation of Dired
  149.   - there is a new implementation of Isearch
  150.  
  151. There are many more specifics in the "Miscellaneous Changes" section, below.
  152.  
  153. The online Emacs Manual is relatively up-to-date, but the Emacs-Lisp Manual
  154. is not.
  155.  
  156. Here are some more specifics:
  157.  
  158. The Input Model
  159. ===============
  160.  
  161. The fundamental unit of input is an "event" instead of a character.  An
  162. event is a new data type that contains several pieces of information.
  163. There are several kinds of event, and corresponding accessor and utility
  164. functions.  We tried to abstract them so that they would apply equally
  165. well to a number of window systems.
  166.  
  167.  key_press_event    
  168.     event_channel    A token representing which keyboard generated it.
  169.             For this kind of event, this is a screen object.
  170.             (This is for eventual support of multiple displays.)
  171.     timestamp        When it happened
  172.     key            What keysym this is; an integer or a symbol.
  173.             If this is an integer, it will be in the printing
  174.             ASCII range: >32 and <127.
  175.     modifiers        Bucky-bits on that key: control, meta, etc.
  176.             For most keys, Shift is not a bit; that is implicit
  177.             in the keyboard layout.
  178.  button_press_event
  179.  button_release_event
  180.     event_channel    A token representing which mouse generated it.
  181.             For this kind of event, this is a screen object.
  182.     timestamp        When it happened
  183.     button        What button went down or up.
  184.     modifiers        Bucky-bits on that button: shift, control, meta, etc.
  185.     x, y        Where it was at the button-state-change (in pixels).
  186.  
  187.  pointer_motion_event
  188.     event_channel    A token representing which mouse generated it.
  189.             For this kind of event, this is a screen object.
  190.     timestamp        When it happened
  191.     x, y        Where it was after it moved (in pixels).
  192.  
  193.  process_event
  194.     timestamp        When it happened
  195.     process        the emacs "process" object in question
  196.  
  197.  timeout_event
  198.     timestamp        Now (really, when the timeout was signalled)
  199.     function        The elisp function to call for this timeout.  It is
  200.                 called with one argument, the event.
  201.     object        Some lisp object associated with this timeout, to
  202.                 make it easier to tell them apart.
  203.  
  204.  eval_event
  205.     timestamp        When it happened.
  206.     function        An elisp function to call with this event object.
  207.     object        Anything.
  208.             This kind of event is used internally; sometimes the
  209.             window system interface would like to inform Emacs of
  210.             some user action (such as focusing on another screen)
  211.             but needs that to happen synchronously with the other
  212.             user input, like keypresses.
  213.  
  214.  menu_event
  215.     timestamp        When it happened.
  216.     function        An elisp function to call with this event object.
  217.     object        Anything.
  218.             This is similar to an eval_event, except that it is
  219.             generated by selections in the menubar.  It is a
  220.             "command" event, like key and mouse presses (and 
  221.             unlike mouse motion, process output, and enter and
  222.             leave window hooks.)  In many ways, eval_events are
  223.             not the same as key- or menu-events.
  224.  
  225.  magic_event
  226.             No user-serviceable parts within.  This is for things
  227.             like KeymapNotify and ExposeRegion events and so on
  228.             that Emacs itself doesn't care about, but which it
  229.             must do something with for proper interaction with
  230.             the window system.
  231.  
  232.             Magic_events are handled somewhat asynchronously, just
  233.             like subprocess filters.  However, occasionally a 
  234.             magic_event needs to be handled synchronously; in that
  235.             case, the asynchronous handling of the magic_event will
  236.             push an eval_event back onto the queue, which will be 
  237.             handled synchronously later.  This is why eval_events
  238.             exist.
  239.  
  240. The function `next-event' blocks and returns one of the above-described 
  241. event objects.  The function `dispatch-event' takes an event  and processes
  242. it in the appropriate way.
  243.  
  244. For a process-event, dispatch-event calls the process's handler; for a
  245. mouse-motion event, the mouse-motion-handler hook is called, and so on.
  246. For magic-events, dispatch-event does window-system-dependent things,
  247. including calling some non-window-system-dependent hooks: map-screen-hook,
  248. unmap-screen-hook, mouse-enter-screen-hook, and mouse-leave-screen-hook.
  249.  
  250. The function `next-command-event' calls `next-event' until it gets a key 
  251. or button from the user (that is, not a process, motion, timeout, or 
  252. magic event).  If it gets an event that is not a key or button, it calls
  253. `dispatch-event' on it immediately and reads another one.  The
  254. next-command-event function could be implemented in elisp, though it isn't.
  255.  
  256. Read-char calls next-command-event; if it doesn't get an event that can be
  257. converted to an ASCII character, it signals an error.  Otherwise it returns
  258. an integer.
  259.  
  260. The variable `last-command-char' always contains an integer, or nil (if the
  261. last read event has no ASCII equivalent, as when it is a mouse-click or a
  262. non-ASCII character chord.)
  263.  
  264. The new variable `last-command-event' holds an event object, that could be
  265. a non-ASCII character, a button click, a menu selection, etc.
  266.  
  267. The variable `unread-command-char' no longer exists, and has been replaced
  268. by `unread-command-event'.  With the new event model, it is incorrect for
  269. code to do (setq unread-command-char (read-char)), because all user-input
  270. can't be represented as ASCII characters.  *** This is an incompatible 
  271. change.  Code which sets `unread-command-char' must be updated to use the
  272. combination of `next-command-event' and `unread-command-event' instead.
  273.  
  274. The functions `this-command-keys' and `recent-keys' return a vector of
  275. event objects, instead of a string of ASCII characters.  *** This also
  276. is an incompatible change.
  277.  
  278. Almost nothing happens at interrupt level; the SIGIO handler only looks at
  279. the X event queue for KeyPress events which map to ^G, and sets `quit-flag'
  280. when appropriate.  All redisplay happens in the main thread of the process.
  281.  
  282. We envision the dumb-tty handler functions doing function-key handling at
  283. the lowest level.  So the terminal-specific code would set up some data
  284. structure that would cause the key sequences that some ttys generate for
  285. function keys to be converted to 'f1 and so on before next-event saw them.
  286. We haven't implemented dumb-tty handling yet, but we will soon.
  287.  
  288.  
  289. Keymaps
  290. =======
  291.  
  292. Instead of keymaps being alists or obarrays, they are a new primary data
  293. type.  The only user access to the contents of a keymap is through the
  294. existing keymap-manipulation functions, and a new function, map-keymap.
  295. *** This means that existing code that manipulates keymaps may need to 
  296. be changed.
  297.  
  298. One of our goals with the new input and keymap code was to make more
  299. character combinations available for binding, besides just ASCII and
  300. function keys.  We want to be able bind different commands to Control-a 
  301. and Control-Shift-a; we also want it to be possible for the keys Control-h
  302. and Backspace (and Control-M and Return, and Control-I and Tab, etc) to
  303. be distinct.
  304.  
  305. One of the most common complaints that new Emacs users have is that backspace
  306. is help.  The answer is to play around with the keyboard-translate-table, or
  307. be lucky enough to have a system administrator who has done this for you
  308. already; but if it were possible to bind backspace and C-h to different
  309. things, then (under a window manager at least) both backspace and delete
  310. would delete a character, and ^H would be help.  There's no need to deal 
  311. with xmodmap, kbd-translate-table, etc.
  312.  
  313. Here are some more examples: suppose you want to bind one function to Tab, 
  314. and another to Control-Tab.  This can't be done if Tab and Control-I are the
  315. same thing.  What about control keys that have no ASCII equivalent, like
  316. Control-< ?  One might want that to be bound to set-mark-at-point-min.  We
  317. want M-C-Backspace to be kill-backward-sexp.  But we want M-Backspace to be
  318. kill-backward-word.  Again, this can't be done if Backspace and C-h are
  319. indistinguishable.
  320.  
  321. The user represents keys as a string of ASCII characters (when possible and
  322. convenient), or as a vector of event objects, or as a vector of "key 
  323. description lists", that looks like (control a), or (control meta delete) 
  324. or (shift f1).  The order of the modifier-names is not significant, so
  325. (meta control x) and (control meta x) are the same.
  326.  
  327. Define-key knows how to take any of the above representations and store them
  328. into a keymap.  When Emacs wants to return a key sequence (this-command-keys,
  329. recent-keys, keyboard-macros, and read-key-sequence, for example) it returns
  330. a vector of event objects.  Keyboard macros can also be represented as ASCII
  331. strings or as vectors of key description lists.  
  332.  
  333. *** This is an incompatible change: code which calls this-command-keys,
  334. recent-keys, read-key-sequence, or manipulates keyboard-macros probably
  335. needs to be changed so that it no longer assumes that the returned value
  336. is a string.
  337.  
  338. Control-Shift-a is specified as (control A), not (control shift a), since A
  339. is a two-case character.  But for keys that don't have an upper case
  340. version, like F1, Backspace, and Escape, you use the (shift backspace) syntax.
  341.  
  342. See the docstring for our version of define-key, reproduced below in the
  343. `Changed Functions' section.  Note that when the KEYS argument is a string,
  344. it has the same semantics as the v18 define-key.
  345.  
  346.  
  347. Xt Integration
  348. ==============
  349.  
  350. The heart of the event loop is implemented in terms of the XtNextEvent,
  351. and uses Xt's concept of timeouts and file-descriptor callbacks,
  352. eliminating a large amount of system-dependent code (Xt does it for you.)
  353.  
  354. If Emacs is compiled with support for X, we plan to have it use the Xt
  355. event loop even when Emacs is not running on an X display (the Xt event
  356. loop supports this.)  This will make it possible to run Emacs on a dumb
  357. tty, and later connect it to one or more X servers.  We hope also to make
  358. it possible to later connect an existing Emacs process to additional ttys.
  359. (Our intent at this point is not to have an Emacs that is being used by
  360. multiple people at the same time: it is to make it possible for someone to
  361. go home, log in on a dialup line, and connect to the same Emacs process
  362. that is running under X in their office without having to recreate their
  363. buffer state and so on.)
  364.  
  365. If Emacs is not compiled with support for X, then it will instead use
  366. more general code, something like what v18 does; but this way of doing
  367. things is a lot more modular.
  368.  
  369. (Linking Emacs with Xt seems to only add about 300k to the executable size,
  370. compared with an Emacs linked with Xlib only.)
  371.  
  372.  
  373. X Selections
  374. ============
  375.  
  376. We have reimplemented X Selection handling to be more general than before.
  377. Almost all of it is implemented in emacs-lisp now, so it's possible to 
  378. define new selection data types without having to recompile Emacs.
  379.  
  380. variable selection-converter-alist:
  381. An alist associating selection-types (such as STRING and TIMESTAMP) with
  382. functions.  These functions will be called with three args: the name of the
  383. selection (typically PRIMARY, SECONDARY, or CLIPBOARD); a desired type to
  384. which the selection should be converted; and the local selection value
  385. (whatever had been passed to `x-own-selection').  These functions should
  386. return the value to send to the X server (typically a string).  A return
  387. value of nil means that the conversion could not be done.  A return value
  388. that is the symbol NULL means that a side-effect was executed, and there
  389. is no meaningful return value.
  390.  
  391. variable x-lost-selection-hooks:
  392. A function or functions to be called after the X server has notified us
  393. that Emacs has lost the selection.  The function(s) will be called with one
  394. argument, a symbol naming the selection (typically PRIMARY, SECONDARY, or
  395. CLIPBOARD.)
  396.  
  397. variable x-sent-selection-hooks:
  398. A function or functions to be called after Emacs has responded to some
  399. other client's request for the value of a selection that we own.  The
  400. function(s) will be called with four arguments:
  401.   - the name of the selection (typically PRIMARY, SECONDARY, or CLIPBOARD);
  402.   - the name of the selection-type that we were requested to convert the
  403.     selection into before sending (for example, STRING or LENGTH);
  404.   - and whether we successfully transmitted the selection.
  405. We might have failed (and declined the request) for any number of reasons,
  406. including being asked for a selection that we no longer own, or being asked
  407. to convert into a type that we don't know about or that is inappropriate.
  408. This hook doesn't let you change the behavior of Emacs's selection replies,
  409. it merely informs you that they have happened.
  410.  
  411. subr x-own-selection-internal:
  412. Assert an X selection of the given TYPE with the given VALUE.
  413. TYPE is a symbol, typically PRIMARY, SECONDARY, or CLIPBOARD.
  414. VALUE is typically a string, or a cons of two markers, but may be
  415. anything that the functions on selection-converter-alist know about.
  416.  
  417. subr x-get-selection-internal:
  418. Return text selected from some X window.
  419. SELECTION is a symbol, typically PRIMARY, SECONDARY, or CLIPBOARD.
  420. TYPE is the type of data desired, typically STRING.
  421.  
  422. If this process is already the selection owner, then our local copy will
  423. be returned without a round-trip to the X server.  If we are not the owner,
  424. then this will block until all of the data has arrived from the server.
  425. Process and timeout events will be handled while we are waiting for the 
  426. selection data to arrive; ^G will interrupt the transfer.
  427.  
  428. subr x-disown-selection-internal:
  429. If we own the named selection, then disown it (make there be no selection).
  430.  
  431.  
  432. Given the above functions, the lisp side of the selection code looks like this:
  433.  
  434. (defun x-get-selection ()
  435.   "Return text selected from some X window."
  436.   (x-get-selection-internal 'PRIMARY 'STRING))
  437.  
  438. ...
  439. (setq selection-converter-alist
  440.       '((STRING . xselect-convert-to-string)
  441.     (LENGTH . xselect-convert-to-length)
  442.         ... lots of others, like TARGETS, DELETE, FILE_NAME, LINE_NUMBER...
  443.     ))
  444.  
  445. (defun xselect-convert-to-string (selection type value)
  446.   (cond ((stringp value)
  447.      value)
  448.     ((and (consp value)
  449.           (markerp (car value))
  450.           (markerp (cdr value)))
  451.      (or (eq (marker-buffer (car value)) (marker-buffer (cdr value)))
  452.          (signal 'error
  453.              (list "markers must be in the same buffer"
  454.                (car value) (cdr value))))
  455.      (save-excursion
  456.        (set-buffer (or (marker-buffer (car value))
  457.                (error "selection is in a killed buffer")))
  458.        (buffer-substring (car value) (cdr value))))
  459.     (t nil)))
  460.  
  461. (defun xselect-convert-to-length (selection type value)
  462.   (let ((value
  463.      (cond ((stringp value)
  464.         (length value))
  465.            ((and (consp value)
  466.              (markerp (car value))
  467.              (markerp (cdr value)))
  468.         (or (eq(marker-buffer (car value)) (marker-buffer (cdr value)))
  469.             (signal 'error
  470.                 (list "markers must be in the same buffer"
  471.                   (car value) (cdr value))))
  472.         (abs (- (car value) (cdr value)))))))
  473.     (if value
  474.     ;; force it to be in 32-bit format.  If we just returned a small int,
  475.         ;; the C side of the selection code would use a 16-bit representation
  476.     ;; for it, which is wrong in this case.  Returning a cons of two
  477.     ;; 16 bit ints causes a 32-bit int to be sent to the server instead.
  478.     (cons (ash value -16) (logand value 65535))
  479.       nil)))
  480.  
  481.  
  482. The functions on the selection-converter-alist are called from the
  483. "magic-event" handler, which is called from Fdispatch_event; this means that
  484. selection handling happens exactly the same as process-callbacks, instead
  485. of happening at interrupt level (which caused problems.)
  486.  
  487. There are also functions for reading and writing the cut-buffers, for
  488. emacs19/emacs18 compatibility.
  489.  
  490. We used all-upper-case symbols like 'PRIMARY and 'STRING so that there is
  491. a 1:1 mapping between symbols and X Atoms.  This is a little tasteless,
  492. but we think it's the closest-to-right thing.
  493.  
  494.  
  495. Region Highlighting
  496. ===================
  497.  
  498. If the variable `zmacs-regions' is true, then the region between point and
  499. mark will be highlighted when "active".  Those commands which push a mark
  500. (such as C-SPC, and ^X^X) make the region become "active" and thus
  501. highlighted.  Most commands (all non-motion commands, basically) cause it to
  502. become non-highlighted (non-"active").  Commands that operate on the region
  503. (such as ^W, ^X^L, etc) only work if the region is in the highlighted state.
  504.  
  505. zmacs-activate-region-hook and zmacs-deactivate-region-hook are run at the
  506. appropriate times; under X, zmacs-activate-region-hook makes the X selection
  507. be the region between point and mark, thus doing two things at once: making
  508. the region and the X selection be the same; and making the region highlight
  509. in the same way as the X selection.
  510.  
  511. mark-marker: subr
  512. Return this buffer's mark, as a marker object.
  513. If `zmacs-regions' is true, then this returns nil unless the region is
  514. currently in the active (highlighted) state.  With an argument of t, this
  515. returns the mark (if there is one) regardless of the active-region state.
  516. You should *generally* not use the mark unless the region is active, if
  517. the user has expressed a preference for the active-region model.
  518. Watch out!  Moving this marker changes the mark position.
  519. If you set the marker not to point anywhere, the buffer will have no mark.
  520.  
  521. In this way, the primary selection is a fairly transitory entity; but
  522. when something is copied to the kill ring, it is made the Clipboard
  523. selection.  It is also stored into CUT_BUFFER0, for compatibility with
  524. X applications that don't understand selections (like Emacs18).
  525.  
  526. *** Compatibility note: if you have code which uses (mark) or (mark-marker),
  527. then you need to either: change those calls to (mark t) or (mark-marker t);
  528. or simply bind `zmacs-regions' to nil around the call to mark or mark-marker.
  529. This is probably the best solution, since it will work in Emacs18 as well.
  530.  
  531.  
  532. Menubars and Dialog Boxes
  533. =========================
  534.  
  535. Here is an example of a menubar definition:
  536.  
  537. (defvar default-menubar
  538.   '(("File"    ["New Screen"        x-new-screen        t]
  539.         ["Open File..."        find-file        t]
  540.         ["Save Buffer"        save-buffer        t]
  541.         ["Save Buffer As..."    write-file        t]
  542.         ["Revert Buffer"    revert-buffer        t]
  543.         "-----"
  544.         ["Print Buffer"        lpr-buffer        t]
  545.         "-----"
  546.         ["Delete Screen"    delete-screen        t]
  547.         ["Kill Buffer..."    kill-buffer        t]
  548.         ["Exit Emacs"        save-buffers-kill-emacs    t]
  549.         )
  550.     ("Edit"    ["Undo"            advertised-undo        t]
  551.         ["Cut"            kill-primary-selection    t]
  552.         ["Copy"            copy-primary-selection    t]
  553.         ["Paste"        yank-clipboard-selection t]
  554.         ["Clear"        delete-primary-selection t]
  555.         )
  556.     ...))
  557.  
  558. The first element of each menu item is the string to print on the menu.
  559.  
  560. The second element is the callback function; if it is a symbol, it is
  561. invoked with `call-interactively.'  If it is a list, it is invoked with
  562. `eval'.  
  563.  
  564. If the second element is a symbol, then the menu also displays the key that
  565. is bound to that command (if any).
  566.  
  567. The third element of the menu items determines whether the item is selectable.
  568. A hook is run just before a menu is exposed, which can be used to change this.
  569. For example, there is a hook that makes the "undo" menu item be selectable
  570. only in the cases when `advertised-undo' would not signal an error.
  571.  
  572. Menus may have other menus nested within them; they will cascade.
  573.  
  574. There are utility functions for adding items to menus, deleting items,
  575. disabling them, etc.
  576.  
  577. The function `popup-menu' takes a menu description and pops it up.  
  578.  
  579. The function `popup-dialog-box' takes a dialog-box description and pops 
  580. it up.  Dialog box descriptions look a lot like menu descriptions.
  581. (*** note: we aren't completely finished implementing this yet.)
  582.  
  583. The menubar, menu, and dialog-box code is implemented as a library, 
  584. with an interface which hides the toolkit that implements it.  
  585.  
  586.  
  587. Isearch Changes
  588. ===============
  589.  
  590. Isearch has been reimplemented in a different way, adding some new features,
  591. and causing a few incompatible changes.
  592.  
  593.  -  the old isearch-*-char variables are no longer supported.  In the old
  594.     system, one could make ^A mean "repeat the search" by doing something
  595.     like (setq search-repeat-char ?C-a).  In the new system, this is 
  596.     accomplished with 
  597.  
  598.        (define-key isearch-mode-map "\C-a" 'isearch-repeat-forward)
  599.  
  600.  -  The advantage of using the normal keymap mechanism for this is that you
  601.     can bind more than one key to an isearch command: for example, both C-a
  602.     and C-s could do the same thing inside isearch mode.  You can also bind
  603.     multi-key sequences inside of isearch mode, and bind non-ASCII keys.
  604.     For example, to use the F1 key to terminate a search:
  605.  
  606.        (define-key isearch-mode-map 'f1 'isearch-exit)
  607.  
  608.     or to make ``C-c C-c'' terminate a search:
  609.  
  610.        (define-key isearch-mode-map "\C-c\C-c" 'isearch-exit)
  611.  
  612.  -  If isearch is behaving case-insensitively (the default) and you type an
  613.     upper case character, then the search will become case-sensitive.  This
  614.     can be disabled by setting `search-caps-disable-folding' to nil.
  615.  
  616.  -  There is a history ring of the strings previously searched for; typing
  617.     M-p or M-n while searching will cycle through this ring.  Typing M-TAB
  618.     will do completion across the set of items in the history ring.
  619.  
  620.  -  The ESC key is no longer used to terminate an incremental search.  The
  621.     RET key should be used instead.  This change is necessary for it to be
  622.     possible to bind "meta" characters to isearch commands.  (This change
  623.     will be in FSF's v19 as well.)
  624.  
  625.  
  626. Startup Code Changes
  627. ====================
  628.  
  629. The initial X screen is mapped before the user's .emacs file is executed.
  630. Without this, there is no way for the user to see any error messages
  631. generated by their .emacs file, any windows created by the .emacs file
  632. don't show up, and the copyleft notice isn't shown.
  633.  
  634. The default values for load-path, exec-path, lock-directory, and
  635. Info-directory-list are not (necessarily) built into Emacs, but are
  636. computed at startup time.  
  637.  
  638. First, Emacs looks at the directory in which its executable file resides:
  639.  
  640.   o  If that directory contains subdirectories named "lisp" and "etc", then
  641.      those directories are used as the lisp library and exec directory.
  642.  
  643.   o  If the parent of the directory in which the emacs executable is located
  644.      contains "lisp" and "etc" subdirectories, then those are used.
  645.  
  646.   o  If the emacs executable that was run is a symbolic link, then the link
  647.      is chased, and the resultant directory is checked as above.
  648.  
  649. (Actually, it doesn't just look for "lisp/", it looks for "lisp/prim/",
  650. which reduces the chances of a false positive.)
  651.  
  652. Finally, if the lisp directory contains subdirectories, they are added to
  653. the default load-path as well.  Subdirectories whose names begin with a dot
  654. or a hyphen are not added to the load-path.
  655.  
  656. These heuristics fail if the Emacs binary was copied from the main Emacs
  657. tree to some other directory, and links for the lisp directory were not put
  658. in.  This isn't much of a restriction: either make there be subdirectories
  659. (or symbolic links) of the directory of the emacs executable, or make the
  660. "installed" emacs executable be a symbolic link to an executable in a more
  661. appropriate directory structure.  For example, this setup works:
  662.  
  663.     /usr/local/lemacs/lemacs*        ; The executable.
  664.     /usr/local/lemacs/lisp/        ; The associated directories.
  665.     /usr/local/lemacs/etc/        ; Any of the files in this list
  666.     /usr/local/lemacs/lock/        ; could be symbolic links as well.
  667.     /usr/local/lemacs/info/
  668.  
  669. As does this:
  670.  
  671.     /usr/local/bin/lemacs -> ../lemacs/src/lemacs-19.4    ; A link...
  672.     /usr/local/lemacs/src/lemacs-19.4*            ; The executable,
  673.     /usr/local/lemacs/lisp/                ; and the rest of
  674.     /usr/local/lemacs/etc/                ; the the source
  675.     /usr/local/lemacs/lock/                ; tree.
  676.     /usr/local/lemacs/info/
  677.  
  678. This configuration might be used for a multi-architecture installation; assume
  679. that $LOCAL refers to a directory which contains only files specific to a 
  680. particular architecture (i.e., executables) and $SHARED refers to those files 
  681. which are not machine specific (i.e., lisp code and documentation.)
  682.  
  683.     $LOCAL/bin/lemacs@ -> $LOCAL/lemacs-19.4/lemacs*
  684.     $LOCAL/lemacs-19.4/lisp@ -> $SHARED/lemacs-19.4/lisp/
  685.     $LOCAL/lemacs-19.4/etc@  -> $SHARED/lemacs-19.4/etc/
  686.     $LOCAL/lemacs-19.4/info@ -> $SHARED/lemacs-19.4/info/
  687.  
  688. The following would also work, but the above is probably more attractive:
  689.  
  690.     $LOCAL/bin/lemacs*
  691.     $LOCAL/bin/lisp@ -> $SHARED/lemacs-19.4/lisp/
  692.     $LOCAL/bin/etc@  -> $SHARED/lemacs-19.4/etc/
  693.     $LOCAL/bin/info@ -> $SHARED/lemacs-19.4/info/
  694.  
  695. If Emacs can't find the requisite directories, it writes a message like this
  696. (or some appropriate subset of it) to stderr:
  697.  
  698.   WARNING:
  699.   couldn't find an obvious default for load-path, exec-directory, and
  700.   lock-directory, and there were no defaults specified in paths.h when
  701.   Emacs was built.  Perhaps some directories don't exist, or the Emacs
  702.   executable, /cadillac-th/jwz/somewhere/lemacs is in a strange place?
  703.  
  704.   Without both exec-directory and load-path, Emacs will be very broken.
  705.   Consider making a symbolic link from /cadillac-th/jwz/somewhere/etc
  706.   to wherever the appropriate Emacs etc/ directory is, and from
  707.   /cadillac-th/jwz/somewhere/lisp/ to wherever the appropriate Emacs
  708.   lisp library is.
  709.  
  710.   Without lock-directory set, file locking won't work.  Consider
  711.   creating /cadillac-th/jwz/somewhere/lock as a directory or symbolic
  712.   link for use as the lock directory.
  713.  
  714.  
  715. X Resources
  716. ===========
  717.  
  718. The Emacs resources are generally per-screen.  Each Emacs screen can have its
  719. own name, or the same name as another, depending on the name passed to the
  720. x-create-screen function.  
  721.  
  722. You can specify resources for all screens with the syntax
  723.  
  724.     Emacs*parameter: value
  725. or
  726.     Emacs*EmacsScreen.parameter: value
  727.  
  728. You can specify resources for a particular screen with the syntax
  729.  
  730.     Emacs*SCREEN-NAME.parameter: value
  731.  
  732.  
  733. To make the default size of all emacs be 80 columns by 55 lines, do this:
  734.  
  735.     Emacs*EmacsScreen.geometry: 80x55
  736.  
  737. As a special case, this geometry specification also works:
  738.  
  739.     Emacs.geometry: 80x55
  740.  
  741. since that is the syntax used with most other applications (since most other
  742. applications, unlike emacs, have only one top-level window.)  In general,
  743. however, the top-level shell doesn't have any interesting resources on it,
  744. and you should set the resources on the screens instead.
  745.  
  746. To set the geometry of a particular screen named, "foo", do this:
  747.  
  748.     Emacs*foo.geometry: 80x55
  749.  
  750. In particular, do --NOT-- use this syntax:
  751.  
  752.     Emacs*geometry: 80x55
  753.  
  754. One should never use "*geometry" with any X application.  It does not say
  755. "make the geometry of emacs be 80 columns by 55 lines."  It really says,
  756. "make emacs and all subwindows thereof be 80x35 in whatever units they care
  757. to measure in."  In particular, that is both telling the emacs text pane
  758. to be 80x55 in characters, and telling the menubar pane to be 80x55 pixels,
  759. which is surely not what you want.
  760.  
  761. The "-geometry" command-line argument sets the geometry only of the initial
  762. screen created by emacs.
  763.  
  764.  
  765. Emacs screens accept the following resources:
  766.  
  767.   iconic (class Iconic): boolean
  768.  
  769.     Whether the initial window should appear in the iconified state.
  770.  
  771.   internalBorderWidth (class InternalBorderWidth): int
  772.  
  773.     How many blank pixels to leave between the text and the edge of the
  774.     window.
  775.  
  776.   interline (class Interline): int
  777.  
  778.     How many pixels to leave between each line.
  779.  
  780.   cursorColor (class CursorColor): color
  781.  
  782.     The color of the text cursor.
  783.  
  784.   textPointer (class Cursor): cursor-name
  785.  
  786.     The cursor to use when the mouse is over text.  This resource is
  787.     used to initialize the variable `x-pointer-shape'.
  788.  
  789.   spacePointer (class Cursor): cursor-name
  790.  
  791.     The cursor to use when the mouse is over a blank space in a buffer
  792.     (that is, after the end of a line or after the end-of-file).  This
  793.     resource is used to initialize the variable `x-nontext-pointer-shape'.
  794.  
  795.   modePointer (class Cursor): cursor-name
  796.  
  797.     The cursor to use when the mouse is over a modeline.  This resource
  798.     is used to initialize the variable `x-mode-pointer-shape'.
  799.  
  800.   gcPointer (class Cursor): cursor-name
  801.  
  802.     The cursor to display when a garbage-collection is in progress.  This
  803.     resource is used to initialize the variable `x-gc-pointer-shape'.
  804.  
  805.   pointerColor (class Foreground): color-name
  806.  
  807.     The foreground and background colors of the mouse cursors.  
  808.     These resources are used to initialize the variables 
  809.     `x-pointer-foreground-color' and `x-pointer-background-color'.
  810.  
  811.  
  812. The attributes of faces are also per-screen.  They may be specified as
  813.  
  814.     Emacs*FACE_NAME.parameter: value
  815. or
  816.     Emacs.SCREEN_NAME.FACE_NAME.parameter: value
  817.  
  818. Faces accept the following resources:
  819.  
  820.   attributeFont (class AttributeFont): font-name
  821.  
  822.     The font of this face.
  823.  
  824.   attributeForeground (class AttributeForeground): color-name
  825.   attributeBackground (class AttributeBackground): color-name
  826.  
  827.     The foreground and background colors of this face.
  828.  
  829.   attributeBackgroundPixmap (class attributeBackgroundPixmap): file-name
  830.  
  831.     The name of an XBM file, to use as a background stipple.
  832.  
  833.   attributeUnderline (class AttributeUnderline): boolean
  834.  
  835.     Whether text in this face should be underlined.
  836.  
  837. All text is displayed in some face, defaulting to the face named "default".
  838. So to set the font of normal text, use "Emacs*default.attributeFont".
  839. To set it in the screen named "foo", use "Emacs*foo*default.attributeFont".
  840.  
  841. These are the names of the predefined faces:
  842.  
  843.     default            Everything inherits from this.
  844.  
  845.     highlight        This is used to highlight certain extents 
  846.                 when the mouse passes over them.
  847.  
  848.     bold            If this is not specified in the resource
  849.                 database, Emacs tries to find a "bold" 
  850.                 version of the font of the "default" face.
  851.  
  852.     italic            ditto.
  853.  
  854.     bold-italic        ditto.
  855.  
  856.     primary-selection    This is the face that mouse-selections are
  857.                 displayed in.
  858.  
  859.     isearch            This is the face that the matched text being
  860.                 searched for is displayed in.
  861.  
  862.     info-node        This is the face of info menu items.  If
  863.                 unspecified, it is copied from "bold-italic".
  864.  
  865.     info-xref        This is the face of info cross-references.
  866.                 If unspecified, it is copied from "bold".
  867.  
  868. Other packages might define their own faces; to see a list of all faces, use
  869. any of the interactive face-manipulation commands such as `set-face-font') and
  870. type `?' when you are prompted for the name of a face.
  871.  
  872. If the bold, italic, and bold-italic faces are not specified in the resource
  873. database, then emacs attempts to derive them from the font of the default face.
  874. It can only succeed at this if you have specified the default font using the
  875. XLFD (X Logical Font Description) format, which looks like
  876.  
  877.     *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
  878.  
  879. if you use any of the other, less strict font name formats, some of which
  880. look like
  881.         lucidasanstypewriter-12
  882. and        fixed
  883. and        9x13
  884.  
  885. then emacs won't be able to guess the names of the bold and italic versions.
  886. All X fonts can be referred to via XLFD-style names, so you should use those
  887. forms.  See the man pages for X(1), xlsfonts(1), and xfontsel(1).
  888.  
  889.  
  890. Known Problems / TODO List
  891. ==========================
  892.  
  893. Horizontally-split windows don't work.  Selective-display doesn't work.
  894. Display tables don't work.  Horizontal scrolling doesn't work.  We plan to
  895. do some extensive work on redisplay soon, which will likely fix all of this.
  896.  
  897. Most of the `screen-parameters' don't work.  I'm not convinced that the
  898. screen-parameters/modify-screen-parameters functions are the best interface
  899. anyway.
  900.  
  901. The Motif-like menubar that xlwmenu.c defines should use the same resources
  902. that real Motif menubars use (as much as possible, anyway.)
  903.  
  904. Faces should be able to have cursors associated with them.
  905.  
  906. The `mouse-motion-hook' should be called whenever a buffer scrolls or the
  907. sizes of windows change, so that it can correctly frob the mouse-cursor based
  908. on the text that the mouse is now over.
  909.  
  910. Everybody wants scrollbars.  They should be implemented in lwlib.a, so that
  911. they are toolkit-independent (that is, when the user has Motif, emacs should
  912. use Motif scrollbars; likewise for OLIT.)  There should be one scrollbar per
  913. emacs window, *not* one scrollbar per emacs screen.  The easiest way to do 
  914. this would be to make emacs windows be X windows which are inferiors of the
  915. X window corresponding to the emacs screen.  There would then be an intermediate
  916. horizontally-stacking RowColumn widget between the screen and the emacs window
  917. which was used to group the scrollbar and the emacs window together.
  918.  
  919. We need to implement a non-Xt event_stream, based on select() and/or timer
  920. signals, so that emacs can be *compiled* without support for X.  (Note that
  921. this is different than emacs *running* without X.)
  922.  
  923. It should be possible to open emacs screens on multiple X displays and 
  924. multiple dumb-ttys simultaneously.
  925.  
  926. It should be possible to have a process-filter-function that doesn't get 
  927. called with a string; rather, the output is simply put in a buffer.  This
  928. is like a process having both a buffer and a filter-function.  This would
  929. be a good thing because it would mean that a string need not be consed every
  930. time a process generated output, and yet you could be signalled that output
  931. had arrived.
  932.  
  933.  
  934. Miscellaneous Changes
  935. =====================
  936.  
  937. What follows is a semi-automatically generated list of the new functions and
  938. variables included with Lucid Emacs, and those functions and variables whose
  939. semantics have changed since Emacs 18.57.
  940.  
  941. New Functions:
  942. ==============
  943.  
  944. abbreviate-file-name: (filename &optional hack-homedir)
  945. Return a version of FILENAME shortened using directory-abbrev-alist.
  946. See C-h v directory-abbrev-alist RET for more information.
  947. If optional argument HACK-HOMEDIR is non-nil, then This also substitutes
  948. "~" for the user's home directory."
  949.  
  950. ------------------------------
  951. abs: (arg)
  952. Return the absolute value of ARG.
  953.  
  954. ------------------------------
  955. acos: (arg)
  956. Return the inverse cosine of ARG.
  957.  
  958. ------------------------------
  959. asin: (arg)
  960. Return the inverse sine of ARG.
  961.  
  962. ------------------------------
  963. atan: (arg)
  964. Return the inverse tangent of ARG.
  965.  
  966. ------------------------------
  967. add-hook: (hook-var function &optional at-end)
  968.  
  969. Add a function to a hook.
  970. First argument HOOK-VAR (a symbol) is the name of a hook, second
  971.  argument FUNCTION is the function to add.
  972. Third (optional) argument AT-END means to add the function at the end
  973.  of the hook list instead of the beginning.  If the function is already
  974.  present, this has no effect.
  975. Returns nil if FUNCTION was already present in HOOK-VAR, else new
  976.  value of HOOK-VAR.
  977.  
  978. ------------------------------
  979. add-menu-item: (menu-path item-name function enabled-p &optional before)
  980.  
  981. Add a menu item to some menu, creating the menu first if necessary.
  982. If the named item exists already, it is changed.
  983. MENU-PATH identifies the menu under which the new menu item should be inserted.
  984.  It is a list of strings; for example, ("File") names the top-level "File"
  985.  menu.  ("File" "Foo") names a hypothetical submenu of "File".
  986. ITEM-NAME is the string naming the menu item to be added.
  987. FUNCTION is the command to invoke when this menu item is selected.
  988.  If it is a symbol, then it is invoked with `call-interactively', in the same
  989.  way that functions bound to keys are invoked.  If it is a list, then the 
  990.  list is simply evaluated.
  991. ENABLED-P controls whether the item is selectable or not.
  992. BEFORE, if provided, is the name of a menu item before which this item should
  993.  be added, if this item is not on the menu already.  If the item is already
  994.  present, it will not be moved.
  995.  
  996. ------------------------------
  997. add-menu: (menu-path menu-name menu-items &optional before)
  998.  
  999. Add a menu to the menubar or one of its submenus.
  1000. If the named menu exists already, it is changed.
  1001. MENU-PATH identifies the menu under which the new menu should be inserted.
  1002.  It is a list of strings; for example, ("File") names the top-level "File"
  1003.  menu.  ("File" "Foo") names a hypothetical submenu of "File".
  1004.  If MENU-PATH is nil, then the menu will be added to the menubar itself.
  1005. MENU-NAME is the string naming the menu to be added.
  1006. MENU-ITEMS is a list of menu item descriptions.
  1007.  Each menu item should be a vector of three elements:
  1008.    - a string, the name of the menu item;
  1009.    - a symbol naming a command, or a form to evaluate;
  1010.    - and t or nil, whether this item is selectable.
  1011. BEFORE, if provided, is the name of a menu before which this menu should
  1012.  be added, if this menu is not on its parent already.  If the menu is already
  1013.  present, it will not be moved.
  1014.  
  1015. ------------------------------
  1016. add-timeout: (secs function object &optional resignal)
  1017.  
  1018. SECS is a number of seconds, expressed as an integer or a float.
  1019. FUNCTION will be called after that many seconds have elapsed, with one
  1020. argument, the given OBJECT.  If the optional RESIGNAL argument is provided,
  1021. then after this timeout expires, `add-timeout' will automatically be called
  1022. again with RESIGNAL as the first argument.
  1023.  
  1024. This function returns an object which is the `id' of this particular timeout.
  1025. You can pass that object to `disable-timeout' to turn off the timeout before
  1026. it has been signalled.
  1027.  
  1028. The number of seconds may be expressed as a floating-point number, in which
  1029. case some fractional part of a second will be used.  Caveat: the usable
  1030. timeout granularity will vary from system to system.
  1031.  
  1032. Adding a timeout causes a timeout event to be returned by `next-event', and
  1033. the function will be invoked by `dispatch-event,' so if emacs is in a tight
  1034. loop, the function will not be invoked until the next call to sit-for or
  1035. until the return to top-level (the same is true of process filters.)
  1036.  
  1037. WARNING: if you are thinking of calling add-timeout from inside of a
  1038. callback function as a way of resignalling a timeout, think again.  There
  1039. is a race condition.  That's why the RESIGNAL argument exists.
  1040.  
  1041. ------------------------------
  1042. allocate-event: ()
  1043.  
  1044. Returns an empty event structure.
  1045. WARNING, the event object returned may be a reused one; see the function
  1046. `deallocate-event'.
  1047.  
  1048. ------------------------------
  1049. backtrace-frame: (nframes)
  1050.  
  1051. Return the function and arguments N frames up from current execution point.
  1052. If that frame has not evaluated the arguments yet (or is a special form),
  1053. the value is (nil FUNCTION ARG-FORMS...).
  1054. If that frame has evaluated its arguments and called its function already,
  1055. the value is (t FUNCTION ARG-VALUES...).
  1056. A &rest arg is represented as the tail of the list ARG-VALUES.
  1057. FUNCTION is whatever was supplied as car of evaluated list,
  1058. or a lambda expression for macro calls.
  1059. If N is more than the number of frames, the value is nil.
  1060.  
  1061. ------------------------------
  1062. buffer-list: (&optional screen)
  1063.  
  1064. Return a list of all existing live buffers.
  1065. The order is specific to the selected screen; if the optional SCREEN
  1066. argument is provided, the ordering for that screen is returned instead.
  1067. If the SCREEN argument is t, then the global (non-screen) ordering is
  1068. returned instead.
  1069.  
  1070. ------------------------------
  1071. buffer-modified-tick: (&optional buffer)
  1072.  
  1073. Return BUFFERs tick counter, incremented for each change in text.
  1074. Each buffer has a tick counter which is incremented each time the text in
  1075. that buffer is changed.  It wraps around occasionally.
  1076. No argument or nil as argument means use current buffer as BUFFER.
  1077.  
  1078. ------------------------------
  1079. button-press-event-p: (obj)
  1080. True if the argument is a mouse-button-press event object.
  1081.  
  1082. ------------------------------
  1083. button-release-event-p: (obj)
  1084. True if the argument is a mouse-button-release event object.
  1085.  
  1086. ------------------------------
  1087. byte-compile-and-load-file: (filename)
  1088.  
  1089. Compile a file of Lisp code named FILENAME into a file of byte code,
  1090. and then load it.  The output files name is made by appending "c" to 
  1091. the end of FILENAME.
  1092.  
  1093. ------------------------------
  1094. byte-compile-buffer: (&optional buffer)
  1095. Byte-compile and evaluate contents of BUFFER (default: the current buffer).
  1096.  
  1097. ------------------------------
  1098. byte-compiler-options: (&rest args)
  1099.  
  1100. Set some compilation-parameters for this file.  This will affect only the
  1101. file in which it appears; this does nothing when evaluated, and when loaded
  1102. from a .el file.
  1103.  
  1104. Each argument to this macro must be a list of a key and a value.
  1105.  
  1106.   Keys:          Values:        Corresponding variable:
  1107.  
  1108.   verbose      t, nil        byte-compile-verbose
  1109.   optimize      t, nil, source, byte    byte-compile-optimize
  1110.   warnings      list of warnings    byte-compile-warnings
  1111.               Legal elements: (callargs redefine free-vars unresolved)
  1112.   file-format      emacs18, emacs19    byte-compile-emacs18-compatibility
  1113.   new-bytecodes      t, nil        byte-compile-generate-emacs19-bytecodes
  1114.  
  1115. For example, this might appear at the top of a source file:
  1116.  
  1117.     (byte-compiler-options
  1118.       (optimize t)
  1119.       (warnings (- free-vars))        ; Dont warn about free variables
  1120.       (file-format emacs19))
  1121.  
  1122. ------------------------------
  1123. case-table-p: (table)
  1124. Return t iff ARG is a case table.
  1125. See set-case-table for more information on these data structures.
  1126.  
  1127. ------------------------------
  1128. ceiling: (num)
  1129. Return the smallest integer no less than ARG.  (Round toward +inf.)
  1130.  
  1131. ------------------------------
  1132. character-to-event: (ch &optional event)
  1133.  
  1134. Converts a numeric ASCII value to an event structure, replete with
  1135. bucky bits.  The character is the first argument, and the event to fill
  1136. in is the second.  This function contains knowledge about what the codes
  1137. mean -- for example, the number 9 is converted to the character Tab,
  1138. not the distinct character Control-I.
  1139.  
  1140. Beware that character-to-event and event-to-character are not strictly 
  1141. inverse functions, since events contain much more information than the 
  1142. ASCII character set can encode.
  1143.  
  1144. ------------------------------
  1145. clrhash: (table)
  1146. Flush TABLE.
  1147.  
  1148. ------------------------------
  1149. compiled-function-p: (obj)
  1150. T if OBJECT is a compiled function object (as returned by make-byte-code.)
  1151.  
  1152. ------------------------------
  1153. conx: ()
  1154.  
  1155. Generate some random sentences in the *conx* buffer.
  1156. Output will be continuously generated until you type ^G.
  1157. Before running this function, you must snarf some text into the CONX 
  1158. database with the M-x conx-buffer or M-x conx-region commands.
  1159.  
  1160. ------------------------------
  1161. copy-event: (event1 &optional event2)
  1162.  
  1163. Make a copy of the given event object.  If a second argument is given,
  1164. the first event is copied into the second and the second is returned.
  1165. If the second argument is not supplied (or is nil) then a new event will
  1166. be made as with `allocate-event.'  See also the function `deallocate-event'.
  1167.  
  1168. ------------------------------
  1169. copy-face: (old-face new-name &optional screen)
  1170.  
  1171. Defines and returns a new face which is a copy of an existing one,
  1172. or makes an already-existing face be exactly like another.
  1173.  
  1174. ------------------------------
  1175. copy-tree: (arg)
  1176.  
  1177. Return a copy of a list or vector, and substructures.
  1178. The argument is copied, and any lists or vectors contained within it
  1179. are copied recursively.  Circularities and shared substructures are
  1180. not preserved.  Strings are not copied.
  1181.  
  1182. ------------------------------
  1183. cos: (arg)
  1184. Return the cosine of ARG.
  1185.  
  1186. ------------------------------
  1187. cosh: (arg)
  1188. Return the hyperbolic cosine of ARG.
  1189.  
  1190. ------------------------------
  1191. current-case-table: ()
  1192. Return the case table of the current buffer.
  1193.  
  1194. ------------------------------
  1195. current-time-seconds: ()
  1196.  
  1197. Returns the current time as the number of seconds since Jan. 1, 1970, 00:00,
  1198. Greenwich Mean Time.  Since Emacs cant represent integers that large, this
  1199. is returned as a cons of two 16-bit numbers.  You can pass this value as an
  1200. argument to current-time-string to get that time as a string.
  1201.  
  1202. ------------------------------
  1203. deallocate-event: (event)
  1204.  
  1205. Allow the given event structure to be reused.  You MUST NOT use this 
  1206. event object after calling this function with it.  You will lose.
  1207. It is not necessary to call this function, as event objects are garbage-
  1208. collected like all other objects; however, it may be more efficient to
  1209. explicitly deallocate events when you are sure that that is safe.
  1210.  
  1211. ------------------------------
  1212. deiconify-screen: (screen)
  1213. Open (de-iconify) the iconified screen SCREEN.
  1214.  
  1215. ------------------------------
  1216. delete-extent: (extent)
  1217.  
  1218. Remove EXTENT from its buffer; this does not modify the buffer's text,
  1219. only its display properties.
  1220.  
  1221. ------------------------------
  1222. delete-menu-item: (path)
  1223.  
  1224. Remove the named menu item from the menu hierarchy.
  1225. PATH is a list of strings which identify the position of the menu item in 
  1226. the menu hierarchy.  ("File" "Save") means the menu item called "Save"
  1227. under the toplevel "File" menu.  ("Menu" "Foo" "Item") means the 
  1228. menu item called "Item" under the "Foo" submenu of "Menu".
  1229.  
  1230. ------------------------------
  1231. delete-screen: (&optional screen)
  1232.  
  1233. Delete SCREEN, permanently eliminating it from use.
  1234. Default is current screen.
  1235.  
  1236. ------------------------------
  1237. delete-window: (&optional window)
  1238.  
  1239. Remove WINDOW from the display.  Default is selected window.
  1240. If window is the only one on the screen, the screen is destroyed.
  1241.  
  1242. ------------------------------
  1243. disable-menu-item: (path)
  1244.  
  1245. Make the named menu item be unselectable.
  1246. PATH is a list of strings which identify the position of the menu item in 
  1247. the menu hierarchy.  ("File" "Save") means the menu item called "Save"
  1248. under the toplevel "File" menu.  ("Menu" "Foo" "Item") means the 
  1249. menu item called "Item" under the "Foo" submenu of "Menu".
  1250.  
  1251. ------------------------------
  1252. disable-timeout: (id)
  1253.  
  1254. Given a timeout id number as returned by add-timeout, this function
  1255. will cause that timeout to not be signalled if it hasnt been already.
  1256.  
  1257. ------------------------------
  1258. dispatch-event: (event)
  1259. Given an event object returned by next-event, execute it.
  1260.  
  1261. ------------------------------
  1262. elisp-compile-defun: (&optional arg)
  1263.  
  1264. Compile and evaluate the current top-level form.
  1265. Print the result in the minibuffer.
  1266. With argument, insert value in current buffer after the form.
  1267.  
  1268. ------------------------------
  1269. enable-menu-item: (path)
  1270.  
  1271. Make the named menu item be selectable.
  1272. PATH is a list of strings which identify the position of the menu item in 
  1273. the menu hierarchy.  ("File" "Save") means the menu item called "Save"
  1274. under the toplevel "File" menu.  ("Menu" "Foo" "Item") means the 
  1275. menu item called "Item" under the "Foo" submenu of "Menu".
  1276.  
  1277. ------------------------------
  1278. enqueue-eval-event: (function object)
  1279.  
  1280. Add an eval event to the back of the queue.
  1281. It will be the next event read after all pending events.
  1282.  
  1283. ------------------------------
  1284. eval-and-compile: (&rest body)
  1285. Like progn, but evaluates the body at compile-time as well as at load-time.
  1286.  
  1287. ------------------------------
  1288. eval-event-p: (obj)
  1289. True if the argument is an eval or menu event object.
  1290.  
  1291. ------------------------------
  1292. eval-when-compile: ()
  1293.  
  1294. Like progn, but evaluates the body at compile-time.  The result of the
  1295. body appears to the compiler as a quoted constant.
  1296.  
  1297. ------------------------------
  1298. event-button: (event)
  1299.  
  1300. Returns the button-number of the given mouse-button-press event.
  1301.  
  1302. ------------------------------
  1303. event-function: (event)
  1304. Returns the callback function of the given timeout, menu, or eval event.
  1305.  
  1306. ------------------------------
  1307. event-glyph: (event)
  1308.  
  1309. If the given mouse-motion, button-press, or button-release event happened
  1310. on top of a glyph, this returns it; else nil.
  1311.  
  1312. ------------------------------
  1313. event-key: (event)
  1314.  
  1315. Returns the KeySym of the given key-press event.  This will be the
  1316. ASCII code of a printing character, or a symbol.
  1317.  
  1318. ------------------------------
  1319. event-modifier-bits: (event)
  1320.  
  1321. Returns a number representing the modifier keys which were down 
  1322. when the given mouse or keyboard event was produced.  See also the function
  1323. event-modifiers.
  1324.  
  1325. ------------------------------
  1326. event-modifiers: (event)
  1327.  
  1328. Returns a list of symbols, the names of the modifier keys which 
  1329. were down when the given mouse or keyboard event was produced.
  1330. See also the function event-modifier-bits.
  1331.  
  1332. ------------------------------
  1333. event-object: (event)
  1334.  
  1335. Returns the callback function argument of the given timeout, menu, or
  1336. eval event.
  1337.  
  1338. ------------------------------
  1339. event-point: (event)
  1340.  
  1341. Returns the character position of the given mouse-motion, button-press,
  1342. or button-release event.  If the event did not occur over a window, or did
  1343. not occur over text, then this returns nil.  Otherwise, it returns an index
  1344. into the buffer visible in the events window.
  1345.  
  1346. ------------------------------
  1347. event-process: (event)
  1348. Returns the process of the given proces-output event.
  1349.  
  1350. ------------------------------
  1351. event-timestamp: (event)
  1352. Returns the timestamp of the given event object.
  1353.  
  1354. ------------------------------
  1355. event-to-character: (event &optional lenient)
  1356.  
  1357. Returns the closest ASCII approximation to the given event object.
  1358. If the event isn't a keypress, this returns nil.
  1359. If the second argument is non-nil, then this is lenient in its 
  1360. translation; it will ignore modifier keys other than control and meta,
  1361. and will ignore the shift modifier on those characters which have no 
  1362. shifted ASCII equivalent (Control-Shift-A for example, will be mapped to 
  1363. the same ASCII code as Control-A.)  If the second arg is nil, then nil 
  1364. will be returned for events which have no direct ASCII equivalent.
  1365.  
  1366. ------------------------------
  1367. event-window: (event)
  1368.  
  1369. Given a mouse motion, button press, or button release event, compute
  1370. and return the window on which that event occurred.  This may be nil if
  1371. the event did not occur in an Emacs window (in the border or modeline.)
  1372.  
  1373. ------------------------------
  1374. event-x: (event)
  1375. Returns the X position of the given mouse-motion, button-press, or
  1376. button-release event in characters.
  1377.  
  1378. ------------------------------
  1379. event-x-pixel: (event)
  1380. Returns the X position of the given mouse-motion, button-press, or
  1381. button-release event in pixels.
  1382.  
  1383. ------------------------------
  1384. event-y: (event)
  1385. Returns the Y position of the given mouse-motion, button-press, or
  1386. button-release event in characters.
  1387.  
  1388. ------------------------------
  1389. event-y-pixel: (event)
  1390. Returns the Y position of the given mouse-motion, button-press, or
  1391. button-release event in pixels.
  1392.  
  1393. ------------------------------
  1394. eventp: (obj)
  1395. True if the argument is an event object.
  1396.  
  1397. ------------------------------
  1398. exp: (arg)
  1399. Return the exponential base e of ARG.
  1400.  
  1401. ------------------------------
  1402. expt: (x y)
  1403. Return the exponential x ** y.
  1404.  
  1405. ------------------------------
  1406. extent-at: (pos &optional buffer flag)
  1407.  
  1408. Find "smallest" extent at POS in BUFFER having FLAG set.  BUFFER
  1409. defaults to the current buffer, FLAG defaults to nil, meaning that any
  1410. extent will do. Possible values for FLAG are nil, menu, highlight,
  1411. invisible, and write-protected. Returns nil if there is no matching
  1412. extent at POS.
  1413.  
  1414. ------------------------------
  1415. extent-attributes: (extent_obj &optional raw_p)
  1416.  
  1417. Return a list of attributes of EXTENT.
  1418. This list may contain any or none of the following symbols:
  1419.  
  1420.     highlight        highlight when the mouse moves over it
  1421.     write-protected    text within this extent will be unmodifiable
  1422.     invisible        don't display the text in this region
  1423.     begin-glyph        there is a begin-glyph
  1424.     end-glyph        there is an end-glyph
  1425.     detached        the text around the extent has been deleted
  1426.  
  1427. ------------------------------
  1428. extent-buffer: (extent_obj)
  1429. Return buffer of EXTENT.
  1430.  
  1431. ------------------------------
  1432. extent-data: (extent)
  1433.  
  1434. Return the user data associated with the given extent.
  1435. Set this using the `set-extent-data' function.
  1436.  
  1437. ------------------------------
  1438. extent-end-position: (extent)
  1439. Return first position after EXTENT.
  1440.  
  1441. ------------------------------
  1442. extent-face: (extent)
  1443. Returns the name of the face in which EXTENT is displayed.
  1444.  
  1445. ------------------------------
  1446. extent-length: (extent)
  1447. Return length of EXTENT in characters.
  1448.  
  1449. ------------------------------
  1450. extent-priority: (extent)
  1451. Returns the display priority of EXTENT; see `set-extent-priority'.
  1452.  
  1453. ------------------------------
  1454. extent-start-position: (extent)
  1455. Return start position of EXTENT.
  1456.  
  1457. ------------------------------
  1458. extentp: (extent)
  1459. T if OBJECT is an extent..
  1460.  
  1461. ------------------------------
  1462. face-background: (face &optional screen)
  1463. Returns the background color name of the given face, or nil if unspecified.
  1464.  
  1465. ------------------------------
  1466. face-background-pixmap: (face &optional screen)
  1467. Returns the background pixmap name of the given face, or nil if unspecified.
  1468.  
  1469. ------------------------------
  1470. face-differs-from-default-p: (face &optional screen)
  1471.  
  1472. True if the given face will display differently from the default face.
  1473. A face is considered to be ``the same'' as the default face if it is 
  1474. actually specified in the same way (equivalent fonts, etc) or if it is 
  1475. fully unspecified, and thus will inherit the attributes of any face it 
  1476. is displayed on top of.
  1477.  
  1478. ------------------------------
  1479. face-equal: (face1 face2 &optional screen)
  1480. True if the given faces will display in the the same way.
  1481.  
  1482. ------------------------------
  1483. face-font: (face &optional screen)
  1484. Returns the font name of the given face, or nil if it is unspecified.
  1485.  
  1486. ------------------------------
  1487. face-foreground: (face &optional screen)
  1488. Returns the foreground color name of the given face, or nil if unspecified.
  1489.  
  1490. ------------------------------
  1491. face-id: (face)
  1492. Returns the internal ID number of the given face.
  1493.  
  1494. ------------------------------
  1495. face-underline-p: (face)
  1496. Returns whether the given face is underlined.
  1497.  
  1498. ------------------------------
  1499. fceiling: (arg)
  1500. Return the smallest integer no less than ARG, as a float.
  1501. (Round toward +inf.)
  1502.  
  1503. ------------------------------
  1504. ffloor: (arg)
  1505. Return the largest integer no greater than ARG, as a float.
  1506. (Round toward +inf.)
  1507.  
  1508. ------------------------------
  1509. fround: (arg)
  1510. Return the nearest integer to ARG, as a float.
  1511.  
  1512. ------------------------------
  1513. ftruncate: (arg)
  1514. Truncate a floating point number to an integral float value.
  1515. Rounds the value toward zero.
  1516.  
  1517. ------------------------------
  1518. file-executable-p: (filename)
  1519. Return t if FILENAME can be executed by you.
  1520. For directories this means you can change to that directory.
  1521.  
  1522. ------------------------------
  1523. find-face: (name &optional screen)
  1524.  
  1525. Retrieve the face of the given name.
  1526. If NAME is a symbol and SCREEN is provided, the face is looked up on
  1527. that screen; otherwise, the selected screen is used.
  1528. If there is no such face, returns nil.
  1529. If SCREEN is the symbol t, then the global, non-screen face is returned.
  1530. If NAME is already a face, it is simply returned.
  1531.  
  1532. ------------------------------
  1533. find-file-new-screen: (filename)
  1534.  
  1535. Just like find-file, but creates a new screen for it first.
  1536.  
  1537. ------------------------------
  1538. float: (arg)
  1539. Return the floating point number equal to ARG.
  1540.  
  1541. ------------------------------
  1542. floor: (arg)
  1543. Return the largest integer no greater than ARG.  (Round towards -inf.)
  1544.  
  1545. ------------------------------
  1546. force-highlight-extent: (extent &optional flag)
  1547.  
  1548. Highlight any EXTENT if FLAG is not nil, else unhighlight it.
  1549. This is the same as `highlight-extent', except that it will work even
  1550. on extents without the 'highlight property.
  1551.  
  1552. ------------------------------
  1553. get-face: (name &optional screen)
  1554.  
  1555. Retrieve the face of the given name.
  1556. If NAME is a symbol and SCREEN is provided, the face is looked up on
  1557. that screen; otherwise, the selected screen is used.
  1558. If there is no such face, an error is signalled.  See also find-face.
  1559. If SCREEN is the symbol t, then the global, non-screen face is returned.
  1560. If NAME is already a face, it is simply returned.
  1561.  
  1562. ------------------------------
  1563. get-screen-for-buffer: (buffer &optional ignored)
  1564.  
  1565. Select and return a screen in which to display BUFFER.
  1566. Normally, the buffer will simply be displayed in the current screen.
  1567. But if the symbol naming the major-mode of the buffer has a 'screen-name
  1568. property (which should be a symbol), then the buffer will be displayed in
  1569. a screen of that name.  If there is no screen of that name, then one is
  1570. created.  
  1571.  
  1572. If the major-mode doesn't have a 'screen-name property, then the screen
  1573. named by `get-screen-for-buffer-default-screen-name' will be used.  If
  1574. that is nil (the default) then the currently selected screen will used.
  1575.  
  1576. If the screen-name symbol has an 'instance-limit property (an integer)
  1577. then each time a buffer of the mode in question is displayed, a new screen
  1578. with that name will be created, until there are `instance-limit' of them.
  1579. If instance-limit is 0, then a new screen will be created each time.
  1580.  
  1581. If a buffer is already displayed in a screen, then `instance-limit' is 
  1582. ignored, and that screen is used.
  1583.  
  1584. If the screen-name symbol has a 'screen-defaults property, then that is
  1585. prepended to the `screen-default-alist' when creating a screen for the
  1586. first time.
  1587.  
  1588. This function may be used as the value of `pre-display-buffer-hook', to 
  1589. cause the display-buffer function and its callers to exhibit the above
  1590. behavior.
  1591.  
  1592. ------------------------------
  1593. gethash: (obj table)
  1594. Find hashed value for OBJ in TABLE.
  1595.  
  1596. ------------------------------
  1597. hashtable-fullness: (table)
  1598. Returns number of entries in TABLE.
  1599.  
  1600. ------------------------------
  1601. highlight-extent: (extent &optional flag)
  1602.  
  1603. If EXTENT is `highlightable' (has the 'highlight property) then highlight
  1604. it (by using merging it with 'highlight face.)  If FLAG is nil, then
  1605. unhighlight it instead.
  1606.  
  1607. ------------------------------
  1608. iconify-screen: (screen)
  1609. Make the screen SCREEN into an icon, if the window manager supports icons.
  1610.  
  1611. ------------------------------
  1612. invert-face: (face &optional screen)
  1613.  
  1614. Swap the foreground and background colors of the given face.
  1615. If the face doesnt specify both foreground and background, then
  1616. its foreground and background are set to the background and
  1617. foreground of the default face.
  1618.  
  1619. ------------------------------
  1620. key-press-event-p: (obj)
  1621. True if the argument is a key-press event object.
  1622.  
  1623. ------------------------------
  1624. keymap-parent: (keymap)
  1625.  
  1626. Returns the parent keymap of the given keymap, or nil.
  1627. The parent of a keymap is searched for keybindings when a key sequence
  1628. isn't bound in this one.  The (current-global-map) is the default parent
  1629. of all keymaps.
  1630.  
  1631. ------------------------------
  1632. list-faces: ()
  1633. Returns a list of the names of all of the defined faces.
  1634.  
  1635. ------------------------------
  1636. load-average: ()
  1637.  
  1638. Return list of 1 minute, 5 minute and 15 minute load averages.
  1639. Each of the three load averages is multiplied by 100,
  1640. then converted to integer.
  1641.  
  1642. This won't work unless the Emacs executable is setgid kmem
  1643. (assuming that /dev/kmem is in the group kmem.)
  1644.  
  1645. ------------------------------
  1646. load-default-sounds: ()
  1647.  
  1648. Load and install some sound files as beep-types.
  1649. This only works if youre on display 0 of a Sun SparcStation or SGI machine.
  1650.  
  1651. ------------------------------
  1652. load-sound-file: (filename sound-name &optional volume)
  1653.  
  1654. Read in an audio-file and add it to the sound-alist.
  1655.  
  1656. You can only play sound files if you are running on display 0 of the console
  1657. of a Sun SparcStation or an SGI machine.  The sound file must be in the
  1658. Sun/NeXT U-LAW format.
  1659.  
  1660. ------------------------------
  1661. locate-library: (library &optional nosuffix)
  1662.  
  1663. Show the full path name of Emacs library LIBRARY.
  1664. This command searches the directories in load-path like  M-x load-library
  1665. to find the file that  M-x load-library RET LIBRARY RET  would load.
  1666. Optional 2nd arg NOSUFFIX non-nil means dont add suffixes .elc or .el
  1667. to the specified name LIBRARY (a la calling load instead of load-library).
  1668.  
  1669. ------------------------------
  1670. log: (arg)
  1671. Return the natural logarithm of ARG.
  1672.  
  1673. ------------------------------
  1674. log10: (arg)
  1675. Return the logarithm base 10 of ARG.
  1676.  
  1677. ------------------------------
  1678. make-directory: (dir)
  1679. Create a directory.  One argument, a file name string.
  1680.  
  1681. ------------------------------
  1682. make-extent: (from to &optional buffer)
  1683.  
  1684. Make extent for range [FROM, TO) in BUFFER -- BUFFER defaults to 
  1685. current buffer.  Insertions at point TO will be outside of the extent;
  1686. insertions at FROM will be inside the extent (and the extent will grow.)
  1687.  
  1688. ------------------------------
  1689. make-face: (name)
  1690.  
  1691. Defines and returns a new FACE on all screens.  
  1692. You can modify the font, color, etc of this face with the set-face- functions.
  1693. If the face already exists, it is unmodified.
  1694.  
  1695. ------------------------------
  1696. make-face-bold: (face &optional screen)
  1697.  
  1698. Make the font of the given face be bold, if possible.  
  1699. Returns nil on failure.
  1700.  
  1701. ------------------------------
  1702. make-face-bold-italic: (face &optional screen)
  1703.  
  1704. Make the font of the given face be bold and italic, if possible.  
  1705. Returns nil on failure.
  1706.  
  1707. ------------------------------
  1708. make-face-italic: (face &optional screen)
  1709.  
  1710. Make the font of the given face be italic, if possible.  
  1711. Returns nil on failure.
  1712.  
  1713. ------------------------------
  1714. make-face-unbold: (face &optional screen)
  1715.  
  1716. Make the font of the given face be non-bold, if possible.  
  1717. Returns nil on failure.
  1718.  
  1719. ------------------------------
  1720. make-face-unitalic: (face &optional screen)
  1721.  
  1722. Make the font of the given face be non-italic, if possible.  
  1723. Returns nil on failure.
  1724.  
  1725. ------------------------------
  1726. make-hashtable: (size)
  1727. Make a hashtable of size SIZE.
  1728.  
  1729. ------------------------------
  1730. make-keymap: ()
  1731.  
  1732. Construct and return a new keymap object.  All entries in it are nil,
  1733. meaning "command undefined".
  1734.  
  1735. ------------------------------
  1736. make-obsolete: (fn new)
  1737.  
  1738. Make the byte-compiler warn that FUNCTION is obsolete and NEW should be
  1739. used instead.  If NEW is a string, that is the use instead message.
  1740.  
  1741. ------------------------------
  1742. make-screen-invisible: (screen)
  1743.  
  1744. Unconditionally removes screen from the display (assuming it is an X-window).
  1745. If what you want to do is iconify the screen (if the window manager uses
  1746. icons) then you should call `iconify-screen' instead.
  1747.  
  1748. ------------------------------
  1749. make-screen-visible: (screen)
  1750.  
  1751. Make the screen SCREEN visible (assuming it is an X-window).
  1752. Also raises the screen so that nothing obscures it.
  1753.  
  1754. ------------------------------
  1755. make-temp-name: (prefix)
  1756.  
  1757. Generate temporary file name (string) starting with PREFIX (a string).
  1758. The Emacs process number forms part of the result,
  1759. so there is no danger of generating a name being used by another process.
  1760.  
  1761. ------------------------------
  1762. map-extents: (function &optional buffer from to maparg)
  1763.  
  1764. Map FUNCTION over the extents which overlap region in BUFFER starting at
  1765.  FROM and ending at TO.  FUNCTION is called with arguments (extent, MAPARG).
  1766. All arguments except FUNCTION are optional, with FROM, TO, MAPARG, and
  1767.  BUFFER defaulting to the beginning of BUFFER, the end of BUFFER, NIL, and
  1768.  current buffer, respectively.
  1769. If the function returns non-nil, then map-extents returns immediately.
  1770. map-extents always returns nil.
  1771.  
  1772. ------------------------------
  1773. map-keymap: (function keymap &optional sort_first)
  1774.  
  1775. Apply FUNCTION to each element of KEYMAP.  FUNCTION will be called with
  1776. two arguments: a key-description list, and the binding.  The order in which
  1777. the elements of the keymap are passed to the function is unspecified.  If
  1778. the function inserts new elements into the keymap, it may or may not
  1779. be called with them later.  No element of the keymap will ever be passed to
  1780. the function more than once.
  1781.  
  1782. The function will not be called on elements of this keymaps parent (see the
  1783. function keymap-parent) or upon keymaps which are contained within this
  1784. keymap (multi-character definitions).  It will be called on "meta"
  1785. characters, however, since they are not really two-character sequences.
  1786.  
  1787. If the optional third argument SORT-FIRST is non-nil, then the elements of
  1788. the keymap will be passed to the mapper function in a canonical order.
  1789. Otherwise, they will be passed in hash (that is, random) order, which is
  1790. faster.
  1791.  
  1792. ------------------------------
  1793. maphash: (function table)
  1794.  
  1795. Map FUNCTION over entries in TABLE with, calling it with two
  1796. arguments, each key and value in the table.
  1797.  
  1798. ------------------------------
  1799. mark-bob: (&optional arg)                    bound to C-<
  1800.  
  1801. Push a mark at the beginning of the buffer; leave point where it is.
  1802. With arg N, push mark N/10 of the way from the true beginning.
  1803.  
  1804. ------------------------------
  1805. mark-eob: (&optional arg)                    bound to C->
  1806.  
  1807. Push a mark at the end of the buffer; leave point where it is.
  1808. With arg N, push mark N/10 of the way from the true end.
  1809.  
  1810. ------------------------------
  1811. member: (elt list)
  1812.  
  1813. Return non-nil if ELT is an element of LIST.  Comparison done with EQUAL.
  1814. The value is actually the tail of LIST whose car is ELT.
  1815.  
  1816. ------------------------------
  1817. menu-event-p: (obj)
  1818. True if the argument is a menu event object.
  1819.  
  1820. ------------------------------
  1821. modify-screen-parameters: (screen alist)
  1822.  
  1823. Modify the parameters of screen SCREEN according to ALIST.
  1824. ALIST is an alist of parameters to change and their new values.
  1825. Each element of ALIST has the form (PARM . VALUE), where PARM is a symbol.
  1826. The meaningful PARMs depend on the kind of screen; undefined PARMs are ignored.
  1827.  
  1828. ------------------------------
  1829. motion-event-p: (obj)
  1830. True if the argument is a mouse-motion event object.
  1831.  
  1832. ------------------------------
  1833. mouse-del-char: (event)
  1834. Delete the char pointed to by the mouse.
  1835.  
  1836. ------------------------------
  1837. mouse-delete-window: ()
  1838. Delete the Emacs window the mouse is on.
  1839.  
  1840. ------------------------------
  1841. mouse-keep-one-window: ()
  1842. Select Emacs window mouse is on, then kill all other Emacs windows.
  1843.  
  1844. ------------------------------
  1845. mouse-kill-line: (event)
  1846. Kill the line pointed to by the mouse.
  1847.  
  1848. ------------------------------
  1849. mouse-line-length: (event)
  1850. Print the length of the line indicated by the pointer.
  1851.  
  1852. ------------------------------
  1853. mouse-scroll: (event)
  1854. Scroll point to the mouse position.
  1855.  
  1856. ------------------------------
  1857. mouse-select: ()
  1858. Select Emacs window the mouse is on.
  1859.  
  1860. ------------------------------
  1861. mouse-select-and-split: ()
  1862. Select Emacs window mouse is on, then split it vertically in half.
  1863.  
  1864. ------------------------------
  1865. mouse-set-mark: (event)
  1866.  
  1867. Select Emacs window mouse is on, and set mark at mouse position.
  1868. Display cursor at that position for a second.
  1869.  
  1870. ------------------------------
  1871. mouse-set-point: (event)
  1872. Select Emacs window mouse is on, and move point to mouse position.
  1873.  
  1874. ------------------------------
  1875. mouse-track: (event)
  1876.  
  1877. Make a selection with the mouse.  This should be bound to a mouse button.
  1878. If you click-and-drag, the selection will be set to the region between the
  1879. point of the initial click and the point at which you release the button.
  1880. These positions need not be ordered.
  1881.  
  1882. If you click-and-release without moving the mouse, then the point is moved,
  1883. and the selection is disowned (there will be no selection owner.)  The mark
  1884. will be set to the previous position of point.
  1885.  
  1886. If you double-click, the selection will extend by symbols instead of by
  1887. characters.  If you triple-click, the selection will extend by lines.
  1888.  
  1889. If you drag the mouse off the top or bottom of the window, you can select
  1890. pieces of text which are larger than the visible part of the buffer; the 
  1891. buffer will scroll as necessary.
  1892.  
  1893. The selected text becomes the current X Selection, and is also copied to the
  1894. top of the kill ring.  The point will be left at the position at which you
  1895. released the button, and the mark will be left at the initial click position.
  1896.  
  1897. See also the mouse-track-adjust command, on Sh-button1.
  1898.  
  1899. ------------------------------
  1900. mouse-track-adjust: (event)
  1901.  
  1902. Extend the existing selection.  This should be bound to a mouse button.
  1903. The selection will be enlarged or shrunk so that the point of the mouse
  1904. click is one of its endpoints.  This is only really meaningful after the
  1905. mouse-track command (button1) has been executed.
  1906.  
  1907. ------------------------------
  1908. mouse-track-and-copy-to-cutbuffer: (event)
  1909. Makes a selection like mouse-track, but also copies it to the cutbuffer.
  1910.  
  1911. ------------------------------
  1912. mouse-track-delete-and-insert: (event)
  1913.  
  1914. Make a selection with the mouse and insert it at point.
  1915. This is exactly the same as the mouse-track command on button1, 
  1916. except that point is not moved; the selected text is immediately inserted
  1917. after being selected; and the text of the selection is deleted.
  1918.  
  1919. ------------------------------
  1920. mouse-track-insert: (event)
  1921.  
  1922. Make a selection with the mouse and insert it at point.
  1923. This is exactly the same as the mouse-track command on button1, 
  1924. except that point is not moved; the selected text is immediately inserted
  1925. after being selected; and the selection is immediately disowned afterwards.
  1926.  
  1927. ------------------------------
  1928. mouse-window-to-region: (event)
  1929. Narrow window to region between cursor and mouse pointer.
  1930.  
  1931. ------------------------------
  1932. next-command-event: (event)
  1933.  
  1934. Given an event structure, fills it in with the next keyboard, mouse
  1935. press, or mouse release event available from the user.  If there are
  1936. non-command events available (mouse motion, sub-process output, etc) then
  1937. these will be executed (with dispatch-event) and discarded.  This 
  1938. function is provided as a convenience; it is equivalent to the elisp code
  1939.  
  1940.     (while (progn
  1941.         (next-event event)
  1942.             (not (or (key-press-event-p event)
  1943.                      (button-press-event-p event)
  1944.                      (button-release-event-p event)
  1945.                      (menu-event-p event))))
  1946.       (dispatch-event event))
  1947.  
  1948. ------------------------------
  1949. next-event: (event)
  1950.  
  1951. Given an event structure, fills it in with the next event available
  1952. from the window system or terminal driver.  Pass this object to
  1953. dispatch-event to handle it.
  1954.  
  1955. See also the function next-command-event.
  1956.  
  1957. If the second optional argument is non-nil, then this will never return
  1958. key-press and mouse-click events, but will delay them until later.  You
  1959. should probably never need to use this option; it is used for implementing
  1960. the wait-reading-process-input function.
  1961.  
  1962. ------------------------------
  1963. next-extent: (extent_obj)
  1964.  
  1965. Find next extent after EXTENT. If EXTENT is a buffer
  1966. return the first extent in the buffer.
  1967.  
  1968. ------------------------------
  1969. next-screen: (&optional screen miniscreen visible-only-p)
  1970.  
  1971. Return the next screen in the screen list after SCREEN.
  1972. If MINISCREEN is non-nil, include the global-minibuffer-screen if it
  1973. has its own screen.
  1974. If VISIBLE-ONLY-P is non-nil, then cycle through the visible screens,
  1975. instead of all screens.
  1976.  
  1977. ------------------------------
  1978. other-window-any-screen: (n)
  1979.  
  1980. Select the ARGth different window on any screen.
  1981. All windows on current screen are arranged in a cyclic order.
  1982. This command selects the window ARG steps away in that order.
  1983. A negative ARG moves in the opposite order.  However, unlike
  1984. other-window, this command will select a window on the next
  1985. (or previous) screen instead of wrapping around to the top
  1986. (or bottom) of this screen, when there are no more windows.
  1987.  
  1988. ------------------------------
  1989. play-sound: (sound &optional volume)
  1990.  
  1991. Play a sound of the provided type.
  1992. See the variable sound-alist.
  1993.  
  1994. ------------------------------
  1995. popup-dialog-box: (dbox_desc)
  1996.  
  1997. Pop up a dialog box.
  1998. A dialog box description is a list.
  1999.  
  2000.  - The first element of the list is a string to display in the dialog box.
  2001.  - The rest of the elements are descriptions of the dialog box's buttons.
  2002.    Each one is a vector of three elements:
  2003.    - The first element is the text of the button.
  2004.    - The second element is the `callback'.
  2005.    - The third element is t or nil, whether this button is selectable.
  2006.  
  2007. If the `callback' of a button is a symbol, then it must name a command.
  2008. It will be invoked with `call-interactively'.  If it is a list, then it is
  2009. evaluated with `eval'.
  2010.  
  2011. One (and only one) of the buttons may be `nil'.  This marker means that all
  2012. following buttons should be flushright instead of flushleft.
  2013.  
  2014. The syntax, more precisely:
  2015.  
  2016.    form        :=  <something to pass to `eval'>
  2017.    command    :=  <a symbol or string, to pass to `call-interactively'>
  2018.    callback     :=  command | form
  2019.    active-p    :=  <t or nil, whether this thing is selectable>
  2020.    name        :=  <string>
  2021.    partition    :=  'nil'
  2022.    button    :=  '['  name callback active-p ']'
  2023.    dialog    :=  '(' name [ button ]+ [ partition [ button ]+ ] ')'
  2024.  
  2025. ------------------------------
  2026. popup-menu: (menu_desc)
  2027.  
  2028. Pop up the given menu.
  2029. A menu is a list of menu items, strings, and submenus.
  2030.  
  2031. The first element of a menu must be a string, which is the name of the
  2032. menu.  This is the string that will be displayed in the parent menu, if
  2033. any.  For toplevel menus, it is ignored.  This string is not displayed
  2034. in the menu itself.
  2035.  
  2036. A menu item is a vector of three or four elements:
  2037.  
  2038.  - the name of the menu item (a string);
  2039.  - the `callback' of that item;
  2040.  - whether this item is active (selectable);
  2041.  - and an optional string to append to the name.
  2042.  
  2043. If the `callback' of a menu item is a symbol, then it must name a command.
  2044. It will be invoked with `call-interactively'.  If it is a list, then it is
  2045. evaluated with `eval'.
  2046.  
  2047. The fourth element of a menu item is a convenient way of adding the name
  2048. of a command's ``argument'' to the menu, like ``Kill Buffer NAME''.
  2049.  
  2050. If an element of a menu is a string, then that string will be presented in
  2051. the menu as unselectable text.
  2052.  
  2053. If an element of a menu is a string consisting solely of hyphens, then that
  2054. item will be presented as a solid horizontal line.
  2055.  
  2056. If an element of a menu is a list, it is treated as a submenu.  The name of
  2057. that submenu (the first element in the list) will be used as the name of the
  2058. item representing this menu on the parent.
  2059.  
  2060. The syntax, more precisely:
  2061.  
  2062.    form        :=  <something to pass to `eval'>
  2063.    command    :=  <a symbol or string, to pass to `call-interactively'>
  2064.    callback     :=  command | form
  2065.    active-p    :=  <t or nil, whether this thing is selectable>
  2066.    text        :=  <string, non selectable>
  2067.    name        :=  <string>
  2068.    argument    :=  <string>
  2069.    menu-item    :=  '['  name callback active-p [ argument ]  ']'
  2070.    menu        :=  '(' name [ menu-item | menu | text ]+ ')'
  2071.  
  2072. ------------------------------
  2073. process-event-p: (obj)
  2074. True if the argument is a process-output event object.
  2075.  
  2076. ------------------------------
  2077. proclaim-inline: (&rest fns)
  2078.  
  2079. Cause the named functions to be open-coded when called from compiled code.
  2080. They will only be compiled open-coded when byte-compile-optimize is true.
  2081.  
  2082. ------------------------------
  2083. proclaim-notinline: (&rest fns)
  2084. Cause the named functions to no longer be open-coded.
  2085.  
  2086. ------------------------------
  2087. puthash: (obj val table)
  2088. Hash OBJ to VAL in TABLE.
  2089.  
  2090. ------------------------------
  2091. raise-screen: (screen)
  2092. Make the window of SCREEN be the uppermost one (fully visible).
  2093.  
  2094. ------------------------------
  2095. round: (arg)
  2096. Return the nearest integer to ARG.
  2097.  
  2098. ------------------------------
  2099. lower-screen: (screen)
  2100. Make the window of SCREEN be the bottommost one.
  2101.  
  2102. ------------------------------
  2103. read-mouse-position: (screen)
  2104. Return a cons (x . y) which represents the position of the mouse.
  2105.  
  2106. ------------------------------
  2107. register-to-window-config: (name)
  2108.  
  2109. Restore (make current) the window configuration in register REG (a letter).
  2110. Use with a register previously set with C-x 6.
  2111.  
  2112. ------------------------------
  2113. relabel-menu-item: (path new-name)
  2114.  
  2115. Change the string of the specified menu item.
  2116. PATH is a list of strings which identify the position of the menu item in 
  2117. the menu hierarchy.  ("File" "Save") means the menu item called "Save"
  2118. under the toplevel "File" menu.  ("Menu" "Foo" "Item") means the 
  2119. menu item called "Item" under the "Foo" submenu of "Menu".
  2120. NEW-NAME is the string that the menu item will be printed as from now on.
  2121.  
  2122. ------------------------------
  2123. remhash: (obj table)
  2124. Remove hashed value for OBJ in TABLE.
  2125.  
  2126. ------------------------------
  2127. remove-directory: (dir)
  2128. Remove a directory.  One argument, a file name string.
  2129.  
  2130. ------------------------------
  2131. remove-hook: (hook-var function)
  2132.  
  2133. Remove a function from a hook, if it is present.
  2134. First argument HOOK-VAR (a symbol) is the name of a hook, second
  2135.  argument FUNCTION is the function to remove (compared with `eq').
  2136.  
  2137. ------------------------------
  2138. remprop: (symbol property)
  2139. Remove from SYMBOLs plist the property PROP and its value.
  2140.  
  2141. ------------------------------
  2142. screen-list: ()
  2143. Return a list of all screens.
  2144.  
  2145. ------------------------------
  2146. screen-name: (&optional screen)
  2147.  
  2148. Returns the name of SCREEN (defaulting to the selected screen).
  2149. This is not the same as the title of the screen.
  2150.  
  2151. ------------------------------
  2152. screen-parameters: (&optional screen)
  2153.  
  2154. Return the parameters-alist of screen SCREEN.
  2155. It is a list of elements of the form (PARM . VALUE), where PARM is a symbol.
  2156. The meaningful PARMs depend on the kind of screen.
  2157.  
  2158. ------------------------------
  2159. screen-root-window: (&optional screen)
  2160. Returns the root-window of SCREEN.
  2161.  
  2162. ------------------------------
  2163. screen-selected-window: (&optional screen)
  2164. Return the selected window of screen SCREEN.
  2165.  
  2166. ------------------------------
  2167. screen-totally-visible-p: (&optional screen)
  2168. Return T if screen is not obscured by any other X windows, NIL otherwise
  2169.  
  2170. ------------------------------
  2171. screen-visible-p: (screen)
  2172.  
  2173. Return t if SCREEN is now "visible" (actually in use for display).
  2174. A screen that is not "visible" is not updated and, if it works through
  2175. a window system, it may not show at all.
  2176. Return the symbol icon if window is visible only as an icon.
  2177.  
  2178. ------------------------------
  2179. screenp: (screen)
  2180.  
  2181. Return non-nil if OBJECT is a screen.
  2182. Value is t for a termcap screen (a character-only terminal),
  2183. x for an Emacs screen that is really an X window.
  2184.  
  2185. ------------------------------
  2186. select-screen: (screen)
  2187.  
  2188. Select the screen S.
  2189. S's selected window becomes the selected window.
  2190.  
  2191. ------------------------------
  2192. selected-screen: ()
  2193. Return the screen that is now selected.
  2194.  
  2195. ------------------------------
  2196. set-buffer-dedicated-screen: (buffer screen)
  2197.  
  2198. For this BUFFER, set the SCREEN dedicated to it.
  2199. SCREEN must be a screen or nil.
  2200.  
  2201. ------------------------------
  2202. set-buffer-modtime: (buf &optional time)
  2203.  
  2204. Update BUFFER's recorded modification time from the associated 
  2205. files modtime, if there is an associated file. If not, use the 
  2206. current time. In either case, if the optional arg TIME is supplied, use 
  2207. that is it is either an integer or a cons of two integers.
  2208.  
  2209. ------------------------------
  2210. set-case-table: (table)
  2211.  
  2212. Select a new case table for the current buffer.
  2213. A case table is a list (DOWNCASE UPCASE CANONICALIZE EQUIVALENCES)
  2214.  where each element is either nil or a string of length 256.
  2215. DOWNCASE maps each character to its lower-case equivalent.
  2216. UPCASE maps each character to its upper-case equivalent;
  2217.  if lower and upper case characters are in 1-1 correspondence,
  2218.  you may use nil and the upcase table will be deduced from DOWNCASE.
  2219. CANONICALIZE maps each character to a canonical equivalent;
  2220.  any two characters that are related by case-conversion have the same
  2221.  canonical equivalent character.
  2222. EQUIVALENCES is a map that cyclicly permutes each equivalence class
  2223.  (of characters with the same canonical equivalent).
  2224. Both CANONICALIZE and EQUIVALENCES may be nil, in which case
  2225.  both are deduced from DOWNCASE and UPCASE.
  2226.  
  2227. ------------------------------
  2228. set-default-file-mode: (nmask)
  2229.  
  2230. Set Unix umask value to ARGUMENT, and return old value.
  2231. The umask value is the default protection mode for new files.
  2232.  
  2233. ------------------------------
  2234. set-extent-attribute: (extent attr)
  2235.  
  2236. Make EXTENT have ATTRIBUTE.
  2237. ATTRIBUTE must be one of the following symbols:
  2238.  
  2239.     highlight        highlight when the mouse moves over it
  2240.     write-protected    text within this extent will be unmodifyable
  2241.     invisible        don't display the text in this region
  2242.     unhighlight        turn off `highlight'
  2243.     writable        turn off `write-protected'
  2244.     visible        turn off `invisible'
  2245.  
  2246. ------------------------------
  2247. set-extent-begin-glyph: (extent_obj begin_glyph)
  2248.  
  2249. Display a bitmap at the beginning of the given extent.
  2250. The begin-glyph should be a string naming a bitmap file (or nil.)
  2251.  
  2252. ------------------------------
  2253. set-extent-data: (extent data)
  2254.  
  2255. Set the user data slot of the given extent.
  2256. Access this using the `extent-data' function.
  2257.  
  2258. ------------------------------
  2259. set-extent-end-glyph: (extent_obj end_glyph)
  2260.  
  2261. Display a bitmap at the end of the given extent.
  2262. The end-glyph should be a string naming a bitmap file (or nil.)
  2263.  
  2264. ------------------------------
  2265. set-extent-endpoints: (extent_obj start end)
  2266. Set the endpoints of EXTENT to START, END.
  2267.  
  2268. ------------------------------
  2269. set-extent-face: (extent face)
  2270.  
  2271. Make the given EXTENT have the graphic attributes specified by FACE.
  2272.  
  2273. ------------------------------
  2274. set-extent-priority: (extent pri)
  2275.  
  2276. Changes the display priority of EXTENT.
  2277. When the extent attributes are being merged for display, the priority
  2278. is used to determine which extent takes precedence in the event of a
  2279. conflict (two extents whose faces both specify font, for example: the
  2280. font of the extent with the higher priority will be used.)
  2281. Extents are created with priority 0; priorities may be negative.
  2282.  
  2283. ------------------------------
  2284. set-face-background: (face color &optional screen)
  2285.  
  2286. Change the background color of the given face.  The color should be a 
  2287. string, the name of a color.  If the optional SCREEN argument is provided, 
  2288. this face will be changed only in that screen; otherwise it will be changed 
  2289. in all screens.
  2290.  
  2291. ------------------------------
  2292. set-face-background-pixmap: (face name &optional screen)
  2293.  
  2294. Change the background pixmap of the given face.  The pixmap name should be
  2295. a string, the name of a file of pixmap data.  The directories listed in the
  2296. x-bitmap-file-path variable will be searched.  The bitmap may also be a list
  2297. of the form (width height data) where width and height are the size in pixels,
  2298. and data is a string, containing the raw bits of the bitmap.  
  2299. If the optional SCREEN argument is provided, this face will be changed only
  2300. in that screen; otherwise it will be changed in all screens.
  2301.  
  2302. ------------------------------
  2303. set-face-font: (face font &optional screen)
  2304.  
  2305. Change the font of the given face.  The font should be a string, the name
  2306. changed only in that screen; otherwise it will be changed in all screens.
  2307.  
  2308. ------------------------------
  2309. set-face-foreground: (face color &optional screen)
  2310.  
  2311. Change the foreground color of the given face.  The color should be a 
  2312. string, the name of a color.  If the optional SCREEN argument is provided, 
  2313. this face will be changed only in that screen; otherwise it will be changed 
  2314. in all screens.
  2315.  
  2316. ------------------------------
  2317. set-face-underline-p: (face underline-p &optional screen)
  2318.  
  2319. Change whether the given face is underlined.  
  2320. If the optional SCREEN argument is provided, this face will be changed only
  2321. in that screen; otherwise it will be changed in all screens.
  2322.  
  2323. ------------------------------
  2324. set-keymap-parent: (keymap parent)
  2325.  
  2326. Sets the parent keymap of the given keymap.
  2327. The parent of a keymap is searched for keybindings when a key sequence
  2328. isn't bound in this one.  The (current-global-map) is the default parent
  2329. of all keymaps.
  2330.  
  2331. ------------------------------
  2332. set-mouse-position: (screen x y)
  2333. Move the mouse pointer to the center of character cell (X,Y) in SCREEN.
  2334.  
  2335. ------------------------------
  2336. set-screen-position: (screen xoffset yoffset)
  2337. Sets position of SCREEN in pixels to XOFFSET by YOFFSET.
  2338.  
  2339. ------------------------------
  2340. set-screen-size: (screen cols rows &optional pretend)
  2341.  
  2342. Sets size of SCREEN to COLS by ROWS.
  2343. Optional fourth arg non-nil means that redisplay should use COLS by ROWS
  2344. but that the idea oft eh acrual size of the screen should not be changed.
  2345.  
  2346. ------------------------------
  2347. set-standard-case-table: (table)
  2348.  
  2349. Select a new standard case table for new buffers.
  2350. See set-case-table for more info on case tables.
  2351.  
  2352. ------------------------------
  2353. set-visited-file-modtime: ()
  2354.  
  2355. Update buffers recorded modification time from the visited files time.
  2356. Useful if the buffer was not read from the file normally
  2357. or if the file itself has been changed for some known benign reason.
  2358.  
  2359. ------------------------------
  2360. set-window-buffer-dedicated: (window arg)
  2361.  
  2362. Make WINDOW display BUFFER and be dedicated to that buffer.
  2363. Then Emacs will not automatically change which buffer appears in WINDOW.
  2364. If BUFFER is nil, make WINDOW not be dedicated (but dont change which
  2365. buffer appears in it currently).
  2366.  
  2367. ------------------------------
  2368. sin: (arg)
  2369. Return the sine of ARG.
  2370.  
  2371. ------------------------------
  2372. sinh: (arg)
  2373. Return the hyperbolic sine of ARG.
  2374.  
  2375. ------------------------------
  2376. standard-case-table: ()
  2377.  
  2378. Return the standard case table.
  2379. This is the one used for new buffers.
  2380.  
  2381. ------------------------------
  2382. sqrt: (arg)
  2383. Return the square root of ARG.
  2384.  
  2385. ------------------------------
  2386. start-timer: (name function value &optional restart)
  2387.  
  2388. Start a timer.
  2389. Args are NAME, FUNCTION, VALUE &optional RESTART.
  2390. NAME is an identifier for the timer.  It must be a string.  If a timer
  2391.   already exists with this name, NAME will be modified slightly to until
  2392.   it is unique.
  2393. FUNCTION should be a function (or symbol naming one) of no arguments.  It
  2394.   will be called each time the timer expires.  The function can access
  2395.   timer that invoked it through the variable current-timer.
  2396. VALUE is the number of seconds until this timer expires.
  2397. Optional fourth arg RESTART non-nil means that this timer should be
  2398.   restarted automatically after its function is called.  Normally a timer
  2399.   is deleted at expiration after its function has returned. 
  2400.   If non-nil RESTART should be a number indicating the value at which the
  2401.   timer should be set at restart time.
  2402. Returns the newly created timer.
  2403.  
  2404. ------------------------------
  2405. switch-to-buffer-new-screen: (buffer)
  2406.  
  2407. Just like switch-to-buffer, but creates a new screen for it first.
  2408.  
  2409. ------------------------------
  2410. switch-to-other-buffer: (arg)
  2411.  
  2412. Switch to the previous buffer.  With a numeric arg, n, switch to the nth
  2413. most recent buffer.  With an arg of 0, buries the current buffer at the
  2414. bottom of the buffer stack.
  2415.  
  2416. ------------------------------
  2417. tan: (arg)
  2418. Return the tangent of ARG.
  2419.  
  2420. ------------------------------
  2421. tanh: (arg)
  2422. Return the hyperbolic tangent of ARG.
  2423.  
  2424. ------------------------------
  2425. truename: (name &optional defalt)
  2426.  
  2427. Returns the canonical name of the given FILE.
  2428. Second arg DEFAULT is directory to start with if FILE is relative
  2429.  (does not start with slash); if DEFAULT is nil or missing,
  2430.  the current buffer's value of default-directory is used.
  2431. No component of the resulting pathname will be a symbolic link, as
  2432.  in the realpath() function.
  2433. If the file does not exist, or is otherwise unable to be resolved,
  2434.  nil is returned.
  2435.  
  2436. ------------------------------
  2437. truncate: (arg)
  2438. Truncate a floating point number to an int.  Rounds the value toward zero.
  2439.  
  2440. ------------------------------
  2441. timeout-event-p: (obj)
  2442. True if the argument is a timeout event object.
  2443.  
  2444. ------------------------------
  2445. try-face-font: (face font &optional screen)
  2446. Like set-face-font, but returns nil on failure instead of an error.
  2447.  
  2448. ------------------------------
  2449. user-login-name: ()
  2450.  
  2451. Return the name under which the user logged in, as a string.
  2452. This is based on the effective uid, not the real uid.
  2453. Also, if the environment variable USER or LOGNAME is set,
  2454. that determines the value of this function.
  2455.  
  2456. ------------------------------
  2457. user-original-login-name: ()
  2458.  
  2459. Return users login name from original login.
  2460. This tries to remain unaffected by su, by looking in environment variables.
  2461.  
  2462. ------------------------------
  2463. visible-screen-list: ()
  2464. Return a list of all screens now "visible" (being updated).
  2465.  
  2466. ------------------------------
  2467. walk-windows: (proc &optional minibuf all-screens)
  2468.  
  2469. Cycle through all visible windows, calling PROC for each one.
  2470. PROC is called with a window as argument.
  2471. Optional second arg MINIBUF t means count the minibuffer window
  2472. even if not active.  If MINIBUF is neither t nor nil it means
  2473. not to count the minibuffer even if it is active.
  2474. Optional third arg ALL-SCREENS t means include all windows in all screens;
  2475. otherwise cycle within the selected screen.
  2476.  
  2477. ------------------------------
  2478. window-config-to-register: (name)
  2479.  
  2480. Save the current window configuration in register REG (a letter).
  2481. It can be later retrieved using M-x register-to-window-config.
  2482.  
  2483. ------------------------------
  2484. window-dedicated-p: (window)
  2485.  
  2486. Return WINDOWs dedicated object, usually t or nil.
  2487. See also set-window-buffer-dedicated.
  2488.  
  2489. ------------------------------
  2490. window-end: (&optional window)
  2491. Return position at which display currently ends in WINDOW.
  2492.  
  2493. ------------------------------
  2494. window-minibuffer-p: (window)
  2495. Returns non-nil if WINDOW is a minibuffer window.
  2496.  
  2497. ------------------------------
  2498. window-screen: (window)
  2499. Return the screen that window WINDOW is on.
  2500.  
  2501. ------------------------------
  2502. x-color-display-p: (&optional screen)
  2503. Returns t if the X display of the given screen supports color.
  2504.  
  2505. ------------------------------
  2506. x-copy-primary-selection: ()
  2507. If there is a selection, copy it to both the kill ring and the Clipboard.
  2508.  
  2509. ------------------------------
  2510. x-create-screen: (parms)
  2511.  
  2512. Make a new X window, which is considered a "screen" in Emacs terms.
  2513. Return an Emacs screen object representing the X window.
  2514. ALIST is an alist of screen parameters.
  2515. The value of x-screen-defaults is an additional alist
  2516. of default parameters which apply when not overridden by ALIST.
  2517.  
  2518. ------------------------------
  2519. x-debug-mode: (arg)
  2520.  
  2521. With a true arg, put the connection to the X server in synchronous
  2522. mode; this is slower.  False turns it off.
  2523. Do not simply call XSynchronize() from gdb; that won't work.
  2524.  
  2525. ------------------------------
  2526. x-delete-primary-selection: ()
  2527.  
  2528. If there is a selection, delete the text it covers *without* copying it to
  2529. the kill ring or the Clipboard.
  2530.  
  2531. ------------------------------
  2532. x-disown-selection: ()
  2533.  
  2534. Assuming we own the selection, disown it.  With an argument, discard the
  2535. secondary selection instead of the primary selection.
  2536.  
  2537. ------------------------------
  2538. x-display-color-cells: (&optional screen)
  2539. Returns the number of color cells of the display `screen' is on.
  2540.  
  2541. ------------------------------
  2542. x-display-pixel-width: (&optional screen)
  2543. Returns the width in pixels of the display `screen' is on.
  2544.  
  2545. ------------------------------
  2546. x-display-pixel-height: (&optional screen)
  2547. Returns the height in pixels of the display `screen' is on.
  2548.  
  2549. ------------------------------
  2550. x-display-planes: (&optional screen)
  2551. Returns the number of bitplanes of the display `screen' is on.
  2552.  
  2553. ------------------------------
  2554. x-display-visual-class: (&optional screen)
  2555.  
  2556. Returns the visual class of the display `screen' is on.
  2557. The returned value will be one of the symbols StaticGray, GrayScale,
  2558. StaticColor, PseudoColor, TrueColor, or DirectColor.
  2559.  
  2560. ------------------------------
  2561. x-get-clipboard: ()
  2562. Return text pasted to the clipboard.
  2563.  
  2564. ------------------------------
  2565. x-get-cutbuffer: (&optional which-one)
  2566.  
  2567. Returns the value of one of the 8 X server cut-buffers.  Optional arg
  2568. WHICH-ONE should be a number from 0 to 7, defaulting to 0.
  2569. Cut buffers are considered obsolete; you should use selections instead.
  2570.  
  2571. ------------------------------
  2572. x-get-resource: (name class type &optional screen)
  2573.  
  2574. Retrieve an X resource from the resource manager.
  2575. The first arg is the name of the resource to retrieve, such as "font".
  2576. The second arg is the class of the resource to retrieve, like "Font".
  2577. The third arg should be one of the symbols string, integer, or boolean,
  2578. specifying the type of object that the database is searched for.
  2579. The fourth arg is the screen to search for the resources on, defaulting
  2580. to the selected screen.
  2581.  
  2582. The call
  2583.     (x-get-resource "font" "Font" string)
  2584.  
  2585. is an interface to the C call
  2586.  
  2587.     XrmGetResource (db, "Emacs.this_screen_name.font",
  2588.             "Emacs.EmacsScreen.Font",
  2589.             "String");
  2590.  
  2591. Therefore if you want to retrieve a deeper resource, for example,
  2592. "Emacs.foo.foreground", you need to specify the same number of links
  2593. in the class path:
  2594.     (x-get-resource "foo.foreground" "Thing.Foreground" string)
  2595.  
  2596. which is equivalent to 
  2597.  
  2598.     XrmGetResource (db, "Emacs.screen_name.foo.foreground",
  2599.             "Emacs.EmacsScreen.Thing.Foreground",
  2600.             "String");
  2601.  
  2602. The returned value of this function is nil if the queried resource is not
  2603. found.  If the third arg is string, a string is returned, and if it is
  2604. integer, an integer is returned.  If the third arg is boolean, then the
  2605. returned value is the list (t) for true, (nil) for false, and is nil to
  2606. mean unspecified.
  2607.  
  2608. ------------------------------
  2609. x-get-secondary-selection: ()
  2610. Return text selected from some X window.
  2611.  
  2612. ------------------------------
  2613. x-get-selection: ()
  2614. Return text selected from some X window.
  2615.  
  2616. ------------------------------
  2617. x-get-selection-internal: (selection_symbol target_type)
  2618.  
  2619. Return text selected from some X window.
  2620. SELECTION is a symbol, typically PRIMARY, SECONDARY, or CLIPBOARD.
  2621. TYPE is the type of data desired, typically STRING.
  2622.  
  2623. ------------------------------
  2624. x-grab-pointer: (&optional shape ignore_keyboard)
  2625.  
  2626. Grab the pointer and restrict it to its current window.  If optional
  2627. SHAPE is non-nil, change the pointer shape to that.  If second optional
  2628. argument MOUSE-ONLY is non-nil, ignore keyboard events during the grab.
  2629.  
  2630. ------------------------------
  2631. x-insert-selection: ()
  2632. Insert the current selection into buffer at point.
  2633.  
  2634. ------------------------------
  2635. x-kill-primary-selection: ()
  2636.  
  2637. If there is a selection, delete the text it covers, and copy it to 
  2638. both the kill ring and the Clipboard.
  2639.  
  2640. ------------------------------
  2641. x-make-font-bold: (font)
  2642.  
  2643. Given an X font specification, this attempts to make a bold version
  2644. of it.  If it fails, it returns nil.
  2645.  
  2646. ------------------------------
  2647. x-make-font-demibold: (font)
  2648.  
  2649. Given an X font specification, this attempts to make a demibold version
  2650. of it.  If it fails, it returns nil.
  2651.  
  2652. ------------------------------
  2653. x-make-font-italic: (font)
  2654.  
  2655. Given an X font specification, this attempts to make an italic version
  2656. of it.  If it fails, it returns nil.
  2657.  
  2658. ------------------------------
  2659. x-make-font-oblique: (font)
  2660.  
  2661. Given an X font specification, this attempts to make an italic version
  2662. of it.  If it fails, it returns nil.
  2663.  
  2664. ------------------------------
  2665. x-make-font-unbold: (font)
  2666.  
  2667. Given an X font specification, this attempts to make a non-bold version
  2668. of it.  If it fails, it returns nil.
  2669.  
  2670. ------------------------------
  2671. x-make-font-unitalic: (font)
  2672.  
  2673. Given an X font specification, this attempts to make a non-italic version
  2674. of it.  If it fails, it returns the supplied font name.
  2675.  
  2676. ------------------------------
  2677. x-mouse-kill: (event)
  2678.  
  2679. Kill the text between the point and mouse and copy it to the clipboard and
  2680. to the cut buffer
  2681.  
  2682. ------------------------------
  2683. x-new-screen: ()
  2684. Creates a new Emacs screen (that is, a new X window.)
  2685.  
  2686. ------------------------------
  2687. x-own-clipboard: (string)
  2688. Paste the given string to the X Clipboard.
  2689.  
  2690. ------------------------------
  2691. x-own-secondary-selection: (selection)
  2692.  
  2693. Make a secondary X Selection of the given argument.  The argument may be a 
  2694. string or a cons of two markers (in which case the selection is considered to
  2695. be the text between those markers.)
  2696.  
  2697. ------------------------------
  2698. x-own-selection: (selection)
  2699.  
  2700. Make a primary X Selection of the given argument.  
  2701. The argument may be a string, a cons of two markers or an extent.  In the 
  2702. latter cases the selection is considered to be the text between 
  2703. the markers or the between extents endpoints
  2704.  
  2705. ------------------------------
  2706. x-server-vendor: (&optional screen)
  2707. Returns the vendor ID string of the X server `screen' is on.
  2708.  
  2709. ------------------------------
  2710. x-server-version: (&optional screen)
  2711.  
  2712. Returns the version numbers of the X server `screen' is on.
  2713. The returned value is a list of three integers: the major and minor
  2714. version numbers of the X Protocol in use, and the vendor-specific release
  2715. number.  See also `x-server-vendor'.
  2716.  
  2717. ------------------------------
  2718. x-selection-exists-p: (&optional selection)
  2719.  
  2720. Whether there is an owner for the given X Selection.
  2721. The arg should be the name of the selection in question, typically one of
  2722. the symbols PRIMARY, SECONDARY, or CLIPBOARD.  (For convenience, the symbol
  2723. nil is the same as PRIMARY, and t is the same as SECONDARY.)
  2724.  
  2725. ------------------------------
  2726. x-selection-owner-p: (&optional selection)
  2727.  
  2728. Whether the current Emacs process owns the given X Selection.
  2729. The arg should be the name of the selection in question, typically one of
  2730. the symbols PRIMARY, SECONDARY, or CLIPBOARD.  (For convenience, the symbol
  2731. nil is the same as PRIMARY, and t is the same as SECONDARY.)
  2732.  
  2733. ------------------------------
  2734. x-set-point-and-insert-selection: (event)
  2735. Sets point where clicked and insert the primary selection or the cut buffer.
  2736.  
  2737. ------------------------------
  2738. x-set-screen-icon-pixmap: (screen pixmap &optional mask)
  2739.  
  2740. Set the icon-pixmap of the given screen.
  2741. This should be the name of a bitmap file, or a bitmap description list
  2742. of the form (width height "bitmap-data").
  2743. If the optional third argument is specified, it is the bitmap to use for
  2744. the icon-pixmap-mask (not all window managers obey this.)
  2745. Warning: when you call this function, the pixmap of the previous icon
  2746. of this screen (if any) is currently not freed.
  2747.  
  2748. ------------------------------
  2749. x-set-screen-pointer: (screen cursor-name &optional fg bg)
  2750.  
  2751. Set the mouse cursor of SCREEN to the cursor named CURSOR-NAME,
  2752. with colors FOREGROUND and BACKGROUND.  The string may be any of the
  2753. standard cursor names from appendix B of the Xlib manual (also known as
  2754. the file <X11/cursorfont.h>) minus the XC_ prefix, or it may be a font
  2755. name and glyph index of the form "FONT fontname index [[font] index]",
  2756. or it may be a bitmap file acceptable to XmuLocateBitmapFile().
  2757. If it is a bitmap file, and if a bitmap file whose name is the name of
  2758. the cursor with "msk" exists, then it is used as the mask.  For example,
  2759. a pair of files may be named "cursor.xbm" and "cursor.xbmmsk".
  2760.  
  2761. ------------------------------
  2762. x-store-cutbuffer: (string)
  2763.  
  2764. Store the given string into the X servers primary cut buffer.
  2765. The previous value of the primary cut buffer is rotated to the secondary
  2766. cut buffer, and the second to the third, and so on (there are 8 buffers.)
  2767. Cut buffers are considered obsolete; you should use selections instead.
  2768.  
  2769. ------------------------------
  2770. x-ungrab-pointer: ()
  2771. Release the pointer.
  2772.  
  2773. ------------------------------
  2774. x-yank-clipboard-selection: ()
  2775. If someone owns a Clipboard selection, insert it at point.
  2776.  
  2777. ------------------------------
  2778. y-or-n-p-with-timeout: (timeout prompt &optional default-value)
  2779.  
  2780. Just like y-or-n-p, but will time out after TIMEOUT seconds
  2781. if the user has not yes answered, returning DEFAULT-VALUE.
  2782.  
  2783. ------------------------------
  2784. yes-or-no-p-with-timeout: (timeout prompt &optional default-value)
  2785.  
  2786. Just like yes-or-no-p, but will time out after TIMEOUT seconds
  2787. if the user has not yes answered, returning DEFAULT-VALUE.
  2788.  
  2789. ------------------------------
  2790. zmacs-activate-region: ()
  2791.  
  2792. Make the region between point and mark be in the active (hilighted)
  2793. state, if zmacs-regions is true.  Only a very small number of commands
  2794. should ever do this.
  2795.  
  2796. ------------------------------
  2797. zmacs-deactivate-region: ()
  2798.  
  2799. Make the region between point and mark no longer be in the active
  2800. (hilighted) state, if zmacs-regions is true.  You shouldn't need 
  2801. to call this; the command loop calls it when appropriate.
  2802.  
  2803.  
  2804. New Variables:
  2805. ==============
  2806.  
  2807. ------------------------------
  2808. activate-menubar-hook
  2809.  
  2810. Function or functions called before a menubar menu is pulled down.
  2811. These functions are called with no arguments, and should interrogate and
  2812. modify the value of `current-menubar' as desired.
  2813.  
  2814. The functions on this hook are invoked after the mouse goes down, but before
  2815. the menu is mapped, and may be used to activate, deactivate, add, or delete
  2816. items from the menus.
  2817.  
  2818. These functions may return the symbol `t' to assert that they have made
  2819. no changes to the menubar.  If any other value is returned, the menubar is
  2820. recomputed.  If `t' is returned but the menubar has been changed, then the
  2821. changes may not show up right away.  Returning `nil' when the menubar has
  2822. not changed is not so bad; more computation will be done, but redisplay of
  2823. the menubar will still be performed optimally.
  2824.  
  2825. ------------------------------
  2826. after-change-function
  2827.  
  2828. Function to call after each text change.
  2829. Three arguments are passed to the function: the positions of
  2830. the beginning and end of the range of changed text,
  2831. and the length of the pre-change text replaced by that range.
  2832. For an insertion, the pre-change length is zero;
  2833. for a deletion, that length is the number of characters deleted,
  2834. and the post-change beginning and end are at the same place.
  2835.  
  2836. While executing the after-change-function, changes to buffers do not
  2837. cause calls to any before-change-function or after-change-function.
  2838.  
  2839. ------------------------------
  2840. after-load-alist
  2841.  
  2842. An alist of expressions to be evalled when particular files are loaded.
  2843. Each element looks like (FILENAME FORMS...).
  2844. When load is run and the file-name argument is FILENAME,
  2845. the FORMS in the corresponding element are executed at the end of loading.
  2846.  
  2847. FILENAME must match exactly!  Normally FILENAME is the name of a library,
  2848. with no directory specified, since that is how load is normally called.
  2849. An error in FORMS does not undo the load,
  2850. but does prevent execution of the rest of the FORMS.
  2851.  
  2852. ------------------------------
  2853. after-write-file-hooks
  2854. List of functions to be called after writing out a buffer to a file.
  2855. These hooks are considered to pertain to the visited file.
  2856. So this list is cleared if you change the visited file name.
  2857.  
  2858. ------------------------------
  2859. allow-deletion-of-last-visible-screen
  2860.  
  2861. *If nil, the last visible screen may not be deleted by `delete-window'
  2862. You can never delete the last screen, but setting this to t will allow you
  2863. to delete the last non-iconified screen.  Default nil.
  2864.  
  2865. ------------------------------
  2866. auto-fill-inhibit-regexp
  2867. *Regexp to match lines which should not be auto-filled.
  2868.  
  2869. ------------------------------
  2870. auto-lower-screen
  2871.  
  2872. *If true, screens will be lowered to the bottom when no longer selected.
  2873. Under X, most ICCCM-compliant window managers will have an option to do this
  2874. for you, but this variable is provided in case you're using a broken WM.
  2875.  
  2876. ------------------------------
  2877. auto-raise-screen
  2878.  
  2879. *If true, screens will be raised to the top when selected.
  2880. Under X, most ICCCM-compliant window managers will have an option to do this
  2881. for you, but this variable is provided in case you're using a broken WM.
  2882.  
  2883. ------------------------------
  2884. auto-save-timeout
  2885.  
  2886. *Number of seconds idle time before auto-save.
  2887. Zero or nil means disable auto-saving due to idleness.
  2888.  
  2889. The actual amount of idle time between auto-saves is logarithmically related
  2890. to the size of the current buffer.  This variable is the number of seconds
  2891. after which an auto-save will happen when the current buffer is 50k or less;
  2892. the timeout will be 2 1/4 times this in a 200k buffer, 3 3/4 times this in a
  2893. 1000k buffer, and 4 1/2 times this in a 2000k buffer.
  2894.  
  2895. For this variable to have any effect, you must do (require 'timer).
  2896.  
  2897. See also the variable `auto-save-interval', which controls auto-saving based
  2898. on the number of characters typed.
  2899.  
  2900. ------------------------------
  2901. baud-rate
  2902.  
  2903. The variable `baud-rate' has replaced the function `baud-rate'.
  2904.  
  2905. ------------------------------
  2906. before-change-function
  2907.  
  2908. Function to call before each text change.
  2909. Two arguments are passed to the function: the positions of
  2910. the beginning and end of the range of old text to be changed.
  2911. For an insertion, the beginning and end are at the same place.
  2912. No information is given about the length of the text after the change.
  2913. position of the change
  2914.  
  2915. While executing the before-change-function, changes to buffers do not
  2916. cause calls to any before-change-function or after-change-function.
  2917.  
  2918. ------------------------------
  2919. buffer-file-truename
  2920.  
  2921. The real name of the file visited in the current buffer, 
  2922. or nil if not visiting a file.  This is the result of passing 
  2923. buffer-file-name to the `truename' function.  Every buffer has 
  2924. its own value of this variable.  This variable is automatically 
  2925. maintained by the functions that change the file name associated 
  2926. with a buffer.
  2927.  
  2928. ------------------------------
  2929. buffers-menu-max-size
  2930.  
  2931. *Maximum number of entries which may appear on the "Buffers" menu.
  2932. If this is 10, then only the ten most-recently-selected buffers will be
  2933. shown.  If this is nil, then all buffers will be shown.  Setting this to
  2934. a large number or nil will slow down menu responsiveness.
  2935.  
  2936. ------------------------------
  2937. buffers-menu-switch-to-buffer-function
  2938.  
  2939. *The function to call to select a buffer from the buffers menu.
  2940. `switch-to-buffer' is a good choice, as is `pop-to-buffer'.
  2941.  
  2942. ------------------------------
  2943. complex-buffers-menu-p
  2944.  
  2945. *If true, the buffers menu will contain several commands, as submenus
  2946. of each buffer line.  If this is false, then there will be only one command:
  2947. select that buffer.
  2948.  
  2949. ------------------------------
  2950. create-screen-hook
  2951.  
  2952. Function or functions of one argument, called with each newly-created screen.
  2953.  
  2954. ------------------------------
  2955. current-menubar
  2956.  
  2957. The current menubar.  This may be buffer-local.
  2958.  
  2959. When the menubar is changed, the function `set-menubar-dirty-flag' has to
  2960. be called for the menubar to be updated on the screen.  See `set-menubar'
  2961. and `set-buffer-menubar'.
  2962.  
  2963. A menubar is a list of menus and menu-items.
  2964. A menu is a list of menu items, strings, and submenus.
  2965.  
  2966. The first element of a menu must be a string, which is the name of the
  2967. menu.  This is the string that will be displayed in the menubar, or in
  2968. the parent menu.  This string is not displayed in the menu itself.
  2969.  
  2970. A menu item is a vector of three or four elements:
  2971.  
  2972.  - the name of the menu item (a string);
  2973.  - the `callback' of that item;
  2974.  - whether this item is active (selectable);
  2975.  - and an optional string to append to the name.
  2976.  
  2977. If the `callback' of a menu item is a symbol, then it must name a command.
  2978. It will be invoked with `call-interactively'.  If it is a list, then it is
  2979. evaluated with `eval'.
  2980.  
  2981. The fourth element of a menu item is a convenient way of adding the name
  2982. of a command's ``argument'' to the menu, like ``Kill Buffer NAME''.
  2983.  
  2984. If an element of a menu (or menubar) is a string, then that string will be
  2985. presented in the menu (or menubar) as unselectable text.
  2986.  
  2987. If an element of a menu is a string consisting solely of hyphens, then that
  2988. item will be presented as a solid horizontal line.
  2989.  
  2990. If an element of a menu is a list, it is treated as a submenu.  The name of
  2991. that submenu (the first element in the list) will be  used as the name of
  2992. the item representing this menu on the parent.
  2993.  
  2994. If an element of a menubar is `nil', then it is used to represent the 
  2995. division between the set of menubar-items which are flushleft and those
  2996. which are flushright.  (Note: this isn't completely implemented yet.)
  2997.  
  2998. After the menubar is clicked upon, but before any menus are popped up,
  2999. the functions on the `activate-menubar-hook' are invoked to make changes 
  3000. to the menus and menubar.  This is intended to implement lazy alteration 
  3001. of the sensitivity of menu items.
  3002.  
  3003. The syntax, More precisely:
  3004.  
  3005.    form        :=  <something to pass to `eval'>
  3006.    command    :=  <a symbol or string, to pass to `call-interactively'>
  3007.    callback     :=  command | form
  3008.    active-p    :=  <t or nil, whether this thing is selectable>
  3009.    text        :=  <string, non selectable>
  3010.    name        :=  <string>
  3011.    argument    :=  <string>
  3012.    menu-item    :=  '['  name callback active-p [ argument ]  ']'
  3013.    menu        :=  '(' name [ menu-item | menu | text ]+ ')'
  3014.    partition    :=  'nil'
  3015.    menubar    :=  '(' [ menu-item | menu | text ]* [ partition ]
  3016.                 [ menu-item | menu | text ]*
  3017.              ')'
  3018.  
  3019. ------------------------------
  3020. current-mouse-event
  3021.  
  3022. The mouse-button event which invoked this command, or nil.
  3023. This is what (interactive "e") returns.
  3024.  
  3025. ------------------------------
  3026. default-directory-alist
  3027.  
  3028. Alist of major modes and their opinion on default-directory, as a
  3029. lisp expression to evaluate.  A resulting value of nil is ignored in
  3030. favor of default-directory.
  3031.  
  3032. ------------------------------
  3033. default-screen-name
  3034.  
  3035. The default name to assign to newly-created screens.
  3036. This can be overridden by arguments to `x-create-screen'.
  3037. This must be a string.
  3038.  
  3039. ------------------------------
  3040. describe-function-show-arglist
  3041.  
  3042. *If true, then describe-function will show its arglist if the function is
  3043. not an autoload.
  3044.  
  3045. ------------------------------
  3046. directory-abbrev-alist
  3047.  
  3048. *Alist of abbreviations for file directories.
  3049. A list of elements of the form (FROM . TO), each meaning to replace
  3050. FROM with TO when it appears in a directory name.
  3051. This replacement is done when setting up the default directory of a
  3052. newly visited file.  *Every* FROM string should start with \\` or ^.
  3053.  
  3054. Use this feature when you have directories which you normally refer to
  3055. via absolute symbolic links.  Make TO the name of the link, and FROM
  3056. the name it is linked to.
  3057.  
  3058. ------------------------------
  3059. display-buffer-function
  3060.  
  3061. If non-nil, function to call to handle display-buffer.
  3062. It will receive three args, the same args as display-buffer.
  3063.  
  3064. ------------------------------
  3065. enable-local-variables
  3066.  
  3067. *Control use of local-variables lists in files you visit.
  3068. The value can be t, nil or something else.
  3069. A value of t means local-variables lists are obeyed;
  3070. nil means they are ignored; anything else means query.
  3071.  
  3072. The command M-x normal-mode always obeys local-variables lists
  3073. and ignores this variable.
  3074.  
  3075. Note: this variable has replaced `inhibit-local-variables'.
  3076.  
  3077. ------------------------------
  3078. execution-path
  3079. Pathname of executable emacs program now running.
  3080.  
  3081. ------------------------------
  3082. find-file-compare-truenames
  3083.  
  3084. If this is true, then the find-file command will check the truenames
  3085. of all visited files when deciding whether a given file is already in
  3086. a buffer, instead of just the buffer-file-name.  This means that if you
  3087. attempt to visit another file which is a symbolic-link to a file which is
  3088. already in a buffer, the existing buffer will be found instead of a newly-
  3089. created one.  This works if some non-terminal component of the pathname is
  3090. a symbolic link as well, but doesn't work with hard links (nothing does.)
  3091.  
  3092. See also the variable find-file-use-truenames.
  3093.  
  3094. ------------------------------
  3095. find-file-use-truenames
  3096.  
  3097. If this is true, then a buffers visited file-name will always be
  3098. chased back to the real file; it will never be a symbolic link, and there
  3099. will never be a symbolic link anywhere in its directory path.
  3100. That is, the buffer-file-name and buffer-file-truename will be equal.
  3101. This doesn't work with hard links.
  3102.  
  3103. See also the variable find-file-compare-truenames.
  3104.  
  3105. ------------------------------
  3106. first-change-function
  3107.  
  3108. Function to call before changing a buffer which is unmodified.
  3109. The function is called, with no arguments, if it is non-nil.
  3110.  
  3111. ------------------------------
  3112. float-output-format
  3113.  
  3114. The format descriptor string that lisp uses to print floats.
  3115. This is a %-spec like those accepted by printf in C,
  3116. but with some restrictions.  It must start with the two characters %..
  3117. After that comes an integer precision specification,
  3118. and then a letter which controls the format.
  3119. The letters allowed are e, f and g.
  3120. Use e for exponential notation "DIG.DIGITSeEXPT"
  3121. Use f for decimal point notation "DIGITS.DIGITS".
  3122. Use g to choose the shorter of those two formats for the number at hand.
  3123. The precision in any of these cases is the number of digits following
  3124. the decimal point.  With f, a precision of 0 means to omit the
  3125. decimal point.  0 is not allowed with f or g.
  3126.  
  3127. A value of nil means to use %.16g.
  3128.  
  3129. Regardless of the value of float-output-format, a floating point number
  3130. will never be printed in such a way that it is ambiguous with an integer;
  3131. that is, a floating-point number will always be printed with a decimal
  3132. point and/or an exponent, even if the digits following the decimal point
  3133. are all zero.  This is to preserve read-equivalence.
  3134.  
  3135. ------------------------------
  3136. get-screen-for-buffer-default-screen-name
  3137. The default screen to select; see doc of `get-screen-for-buffer'.
  3138.  
  3139. ------------------------------
  3140. init-file-user
  3141.  
  3142. When the .emacs file is read, this says which users init file it is.
  3143. The value may be the null string or a string containing a users name.
  3144. If the value is a null string, it means that the init file was taken from
  3145. the user that originally logged in.
  3146.  
  3147. In all cases, (concat "~" init-file-user "/") evaluates to the
  3148. directory name of the directory where the .emacs file was looked for.
  3149.  
  3150. ------------------------------
  3151. internal-doc-file-name
  3152. Name of file containing documentation strings of built-in symbols.
  3153.  
  3154. ------------------------------
  3155. interrupt-char
  3156.  
  3157. Character which interrupts Emacs.
  3158. Do not setq this variable: use the function set-interrupt-character instead.
  3159. Depending on the system you are on, this may need to do magic like changing
  3160. interrupt handlers.
  3161.  
  3162. ------------------------------
  3163. invocation-name
  3164.  
  3165. Name of file used to invoke editing session.
  3166. This is the same as `(file-name-nondirectory execution-path)'.
  3167.  
  3168. ------------------------------
  3169. keymap-tick
  3170. Incremented for each change to any keymap.
  3171.  
  3172. ------------------------------
  3173. kill-emacs-hook
  3174. Run when kill-emacs is called.
  3175.  
  3176. ------------------------------
  3177. kill-hooks
  3178.  
  3179. If non-nil, this should be a function or functions of one argument which
  3180. are called with the string most recently added to the kill ring.  You can use
  3181. this to, for example, make the most recent kill become the X Clipboard
  3182. selection.
  3183.  
  3184. ------------------------------
  3185. last-command-event
  3186.  
  3187. Last keyboard or mouse button event that was part of a command.  This
  3188. variable is off limits: you may not set its value or modify the event that
  3189. is its value, as it is destructively modified by read-key-sequence.  If
  3190. you want to keep a pointer to this value, you must use copy-event.
  3191.  
  3192. ------------------------------
  3193. last-input-event
  3194.  
  3195. Last keyboard or mouse button event recieved.  This variable is off
  3196. limits: you may not set its value or modify the event that is its value, as
  3197. it is destructively modified by next-event.  If you want to keep a pointer
  3198. to this value, you must use copy-event.
  3199.  
  3200. ------------------------------
  3201. last-input-time
  3202.  
  3203. The time (in seconds since Jan 1, 1970) of the last-command-event,
  3204. represented as a cons of two 16-bit integers.  This is destructively
  3205. modified, so copy it if you want to keep it.
  3206.  
  3207. ------------------------------
  3208. list-buffers-identification
  3209.  
  3210. String used to identify this buffer, or a function of one argument
  3211. to generate such a string.  This variable is always buffer-local.
  3212.  
  3213. ------------------------------
  3214. mail-abbrev-mailrc-file
  3215. Name of file with mail aliases.   If nil, ~/.mailrc is used.
  3216.  
  3217. ------------------------------
  3218. map-screen-hook
  3219. Function to call when screen is mapped.  One arg, the screen.
  3220.  
  3221. ------------------------------
  3222. menubar-show-keybindings
  3223.  
  3224. If true, the menubar will display keyboard equivalents.
  3225. If false, only the command names will be displayed.
  3226.  
  3227. ------------------------------
  3228. menu-no-selection-hook
  3229.  
  3230. Function or functions to call when a menu or dialog box is dismissed
  3231. without a selecting having been made.
  3232.  
  3233. ------------------------------
  3234. minibuffer-confirm-incomplete
  3235.  
  3236. If true, then in contexts where completing-read allows answers which
  3237. are not valid completions, an extra RET must be typed to confirm the
  3238. response.  This is helpful for catching typos, etc.
  3239.  
  3240. ------------------------------
  3241. mode-motion-hook
  3242.  
  3243. Function or functions which are called whenever the mouse moves.
  3244. You should normally use this rather than `mouse-motion-handler', which 
  3245. does some additional window-system-dependent things.  This hook is local
  3246. to every buffer, and should normally be set up by major-modes which want
  3247. to use special highlighting.  Every time the mouse moves over a window,
  3248. the mode-motion-hook of the buffer of that window is run.
  3249.  
  3250. ------------------------------
  3251. mouse-enter-screen-hook
  3252.  
  3253. Function or functions to call when mouse enters a screen.  One arg, the screen.
  3254. Be careful not to make assumptions about the window manger's focus model.
  3255. In most cases, the `deselect-screen-hook' is more appropriate.
  3256.  
  3257. ------------------------------
  3258. mouse-leave-screen-hook
  3259.  
  3260. Function or functions to call when mouse leaves screen.  One arg, the screen.
  3261. Be careful not to make assumptions about the window manger's focus model.
  3262. In most cases, the `select-screen-hook' is more appropriate.
  3263.  
  3264. ------------------------------
  3265. mouse-motion-handler
  3266. Handler for motion events.  One arg, a motion event.
  3267. For most applications, you should use `mode-motion-hook' instead of this.
  3268.  
  3269. ------------------------------
  3270. next-line-extends-end-of-buffer
  3271.  
  3272. *If non-nil, when C-n is invoked on the last line of a buffer,
  3273. a newline character is inserted to create a new line.
  3274. If nil, C-n signals an `end-of-buffer' in that situation.
  3275.  
  3276. ------------------------------
  3277. pre-abbrev-expand-hook
  3278.  
  3279. Function or functions to be called before abbrev expansion is done.
  3280. This is the first thing that expand-abbrev does, and so this may change
  3281. the current abbrev table before abbrev lookup happens.
  3282.  
  3283. ------------------------------
  3284. pre-display-buffer-function
  3285.  
  3286. If non-nil, function that will be called from `display-buffer' as the
  3287. first action.  It will receive three args, the same arguments as 
  3288. `display-buffer' -- the buffer, a flag which if non-nil means that the
  3289. currently selected window is not acceptable, and a screen to use (or nil,
  3290. meaning unspecified.)  This function may be used to select an appropriate
  3291. screen for the buffer, for example.  See also the variable
  3292. `display-buffer-function', which may be used to completely replace
  3293. display-buffer.
  3294.  
  3295. ------------------------------
  3296. previous-screen: (screen miniscreen visible-only-p)
  3297.  
  3298. Return the previous screen in the screen list before SCREEN.
  3299. If MINISCREEN is non-nil, include the global-minibuffer-screen if it
  3300. has its own screen.
  3301. If VISIBLE-ONLY-P is non-nil, then cycle through the visible screens,
  3302. instead of all screens.
  3303.  
  3304. ------------------------------
  3305. print-level
  3306.  
  3307. Maximum depth of list nesting to print before abbreviating.
  3308. A value of nil means no limit.
  3309.  
  3310. ------------------------------
  3311. print-readably
  3312.  
  3313. If non-nil, then all objects will be printed in a readable form.
  3314. If an object has no readable representation, then an error is signalled.
  3315. When this is true, compiled-function objects will be written in #[...] form
  3316. instead of in #<byte-code [...]> form.  
  3317. Do not SET this variable; bind it instead.
  3318.  
  3319. ------------------------------
  3320. print-gensym
  3321.  
  3322. If non-nil, then uninterned symbols (those made with `make-symbol'
  3323. instead of `intern') will be preceeded by "#:", which tells the reader to
  3324. create a new symbol instead of interning.  Beware: the #: syntax creates a
  3325. new symbol each time it is seen, so if you print an object which contains
  3326. two pointers to the same uninterned symbol, `read' will not duplicate that
  3327. structure.
  3328.  
  3329. ------------------------------
  3330. revert-buffer-insert-file-contents-function
  3331.  
  3332. Function to use to insert contents when reverting this buffer.
  3333. Gets two args, first the nominal file name to use,
  3334. and second, t if reading the auto-save file.
  3335.  
  3336. ------------------------------
  3337. screen-default-alist
  3338.  
  3339. Alist of default values for screen creation, other than the first one.
  3340. These may be set in your init file, like this:
  3341.   (setq screen-default-alist ((width . 80) (height . 55)))
  3342. For values specific to the first Emacs screen, you must use X Resources.
  3343.  
  3344. ------------------------------
  3345. screen-icon-title-format
  3346.  
  3347. Controls the title of the icon corresponding to the selected screen.
  3348. See also the variable screen-title-format
  3349.  
  3350. ------------------------------
  3351. screen-title-format
  3352.  
  3353. Controls the title of the X window corresponding to the selected screen.
  3354. This is the same format as mode-line-format.
  3355.  
  3356. ------------------------------
  3357. search-caps-disable-folding
  3358.  
  3359. *If non-nil, upper case chars disable case fold searching.
  3360. This does not apply to "yanked" strings.  Default t.
  3361.  
  3362. ------------------------------
  3363. selection-converter-alist
  3364.  
  3365. An alist associating selection-types (such as STRING and TIMESTAMP) with
  3366. functions.  These functions will be called with three args: the name of the
  3367. selection (typically PRIMARY, SECONDARY, or CLIPBOARD); a desired type to
  3368. which the selection should be converted; and the local selection value
  3369. (whatever had been passed to x-own-selection).  These functions should
  3370. return the value to send to the X server (typically a string).  A return
  3371. value of nil means that the conversion could not be done.  A return value
  3372. which is the symbol NULL means that a side-effect was executed, and there
  3373. is no meaningful return value.
  3374.  
  3375. ------------------------------
  3376. shared-lisp-mode-map
  3377. Keymap for commands shared by all sorts of Lisp modes.
  3378.  
  3379. ------------------------------
  3380. sound-alist
  3381.  
  3382. An alist associating symbols with strings of audio-data.
  3383. When beep or ding is called with one of the symbols, the associated
  3384. sound data will be played instead of the standard beep.  This only works
  3385. if you are logged in on the console of a SparcStation.
  3386.  
  3387. Elements of this list should be of one of the following forms:
  3388.  
  3389.    ( symbol . string-or-symbol )
  3390.    ( symbol integer string-or-symbol )
  3391.  
  3392. If the string-or-symbol is a string, then it should contain raw sound data,
  3393. the contents of a .au file.  If it is a symbol, then that means that this
  3394. element is an alias for some other element, and the sound-player will look
  3395. for that next.  If the integer is provided, it is the volume at which the
  3396. sound should be played, from 0 to 100.  
  3397.  
  3398. If an element of this alist begins with the symbol default, then that sound
  3399. will be used when no other sound is appropriate.
  3400.  
  3401. The symbol t in place of a sound-string means to use the default X beep.
  3402. In this way, you can define beep-types to have different volumes even when
  3403. not running on the console of a Sun4.
  3404.  
  3405. You should probably add things to this list by calling the function
  3406. load-sound-file.
  3407.  
  3408. The following beep-types are used by Emacs itself:
  3409.  
  3410.     auto-save-error    when an auto-save does not succeed
  3411.     command-error    when the emacs command loop catches an error
  3412.     undefined-key    when you type a key that is undefined
  3413.     undefined-click    when you use an undefined mouse-click combination
  3414.     no-completion    during completing-read
  3415.     y-or-n-p        when you type something other than y or n
  3416.     yes-or-no-p      when you type something other than yes or no
  3417.  
  3418. Other lisp packages may use other beep types, but these are the ones that
  3419. the C kernel of Emacs uses.
  3420.  
  3421. ------------------------------
  3422. tag-table-alist
  3423.  
  3424. *A list which determines which tags files should be active for a 
  3425. given buffer.  This is not really an association list, in that all 
  3426. elements are checked.  The CAR of each element of this list is a 
  3427. pattern against which the buffers file name is compared; if it 
  3428. matches, then the CDR of the list should be the name of the tags
  3429. table to use.  If more than one element of this list matches the
  3430. buffers file name, then all of the associated tags tables will be
  3431. used.  Earlier ones will be searched first.
  3432.  
  3433. If the CAR of elements of this list are strings, then they are treated
  3434. as regular-expressions against which the file is compared (like the
  3435. auto-mode-alist).  If they are not strings, then they are evaluated.
  3436. If they evaluate to non-nil, then the current buffer is considered to
  3437. match.
  3438.  
  3439. If the CDR of the elements of this list are strings, then they are
  3440. assumed to name a TAGS file.  If they name a directory, then the string
  3441. "TAGS" is appended to them to get the file name.  If they are not 
  3442. strings, then they are evaluated, and must return an appropriate string.
  3443.  
  3444. For example:
  3445.   (setq tag-table-alist
  3446.     (("/usr/src/public/perl/" . "/usr/src/public/perl/perl-3.0/")
  3447.      ("\\.el$" . "/usr/local/emacs/src/")
  3448.      ("/jbw/gnu/" . "/usr15/degree/stud/jbw/gnu/")
  3449.      ("" . "/usr/local/emacs/src/")
  3450.      ))
  3451.  
  3452. This means that anything in the /usr/src/public/perl/ directory should use
  3453. the TAGS file /usr/src/public/perl/perl-3.0/TAGS; and file ending in .el should
  3454. use the TAGS file /usr/local/emacs/src/TAGS; and anything in or below the
  3455. directory /jbw/gnu/ should use the TAGS file /usr15/degree/stud/jbw/gnu/TAGS.
  3456. A file called something like "/usr/jbw/foo.el" would use both the TAGS files
  3457. /usr/local/emacs/src/TAGS and /usr15/degree/stud/jbw/gnu/TAGS (in that order)
  3458. because it matches both patterns.
  3459.  
  3460. If the buffer-local variable buffer-tag-table is set, then it names a tags
  3461. table that is searched before all others when find-tag is executed from this
  3462. buffer.
  3463.  
  3464. If there is a file called "TAGS" in the same directory as the file in 
  3465. question, then that tags file will always be used as well (after the
  3466. buffer-tag-table but before the tables specified by this list.)
  3467.  
  3468. If the variable tags-file-name is set, then the tags file it names will apply
  3469. to all buffers (for backwards compatibility.)  It is searched first.
  3470.  
  3471. ------------------------------
  3472. tags-always-build-completion-table
  3473.  
  3474. *If t, tags files will always be added to the completion table without 
  3475. asking first, regardless of the size of the tags file.
  3476.  
  3477. ------------------------------
  3478. terminal-screen
  3479. The initial screen-object, which represents Emacs's stdout.
  3480.  
  3481. ------------------------------
  3482. unmap-screen-hook
  3483. Function to call when screen is unmapped.  One arg, the screen.
  3484.  
  3485. ------------------------------
  3486. unread-command-event
  3487.  
  3488. Set this to an event object to simulate the reciept of an event from
  3489. the user.  Normally this is nil.
  3490.  
  3491. ------------------------------
  3492. user-real-name
  3493. The users name, base upon the real uid.
  3494.  
  3495. ------------------------------
  3496. write-contents-hooks
  3497.  
  3498. List of functions to be called before writing out a buffer to a file.
  3499. If one of them returns non-nil, the file is considered already written
  3500. and the rest are not called.
  3501. These hooks are considered to pertain to the buffer's contents,
  3502. not to the particular visited file; thus, `set-visited-file-name' does
  3503. not clear this variable, but changing the major mode does clear it.
  3504. See also `write-file-hooks'.
  3505.  
  3506. ------------------------------
  3507. x-allow-sendevents
  3508.  
  3509. *Non-nil means to allow synthetic events.  Nil means they are ignored.
  3510. Beware: allowing Emacs to process SendEvents opens a big security hole.
  3511.  
  3512. ------------------------------
  3513. x-backing-store
  3514.  
  3515. The backing store capability of this screen.
  3516. Values can be the symbols Always, WhenMapped, or NotUseful.
  3517.  
  3518. ------------------------------
  3519. x-bitmap-file-path
  3520.  
  3521. A list of the directories in which X bitmap files may be found.
  3522. If nil, this is initialized from the "*bitmapFilePath" resource.
  3523.  
  3524. ------------------------------
  3525. x-emacs-application-class
  3526.  
  3527. The X application class of the Emacs process.
  3528. This controls, among other things, the name of the `app-defaults' file
  3529. that emacs will use.  For changes to this variable to take effect, they
  3530. must be made before the connection to the X server is initialized, that is,
  3531. this variable may only be changed before emacs is dumped, or by setting it
  3532. in the file lisp/term/x-win.el.
  3533.  
  3534. ------------------------------
  3535. x-lost-selection-hooks
  3536.  
  3537. A function or functions to be called after the X server has notified us
  3538. that we have lost the selection.  The function(s) will be called with one
  3539. argument, a symbol naming the selection (typically PRIMARY, SECONDARY, or
  3540. CLIPBOARD.)
  3541.  
  3542. ------------------------------
  3543. x-mode-pointer-shape
  3544.  
  3545. *The shape of the mouse-pointer when over the modeline.
  3546. If this is nil, then either `x-nontext-pointer-shape' or `x-pointer-shape'
  3547. will be used.
  3548.  
  3549. ------------------------------
  3550. x-nontext-pointer-shape
  3551.  
  3552. *The shape of the mouse-pointer when over a buffer, but not over text.  
  3553. If this is nil, then `x-pointer-shape' is used.
  3554.  
  3555. ------------------------------
  3556. x-pointer-background-color
  3557. *The background color of the mouse pointer.
  3558.  
  3559. ------------------------------
  3560. x-pointer-foreground-color
  3561. *The foreground color of the mouse pointer.
  3562.  
  3563. ------------------------------
  3564. x-pointer-shape
  3565. *The shape of the mouse-pointer when over text.
  3566.  
  3567. This string may be any of the standard cursor names from appendix B 
  3568. of the Xlib manual (also known as the file <X11/cursorfont.h>) minus 
  3569. the XC_ prefix, or it may be a font name and glyph index of the form 
  3570. "FONT fontname index [[font] index]", or it may be the name of a
  3571. bitmap file acceptable to XmuLocateBitmapFile().  If it is a bitmap
  3572. file, and if a bitmap file whose name is the name of the cursor with
  3573. "msk" exists, then it is used as the mask.  For example, a pair of
  3574. files may be named "cursor.xbm" and "cursor.xbmmsk".
  3575.  
  3576. ------------------------------
  3577. x-save-under
  3578. Non-nil means this X screen supports the SaveUnder feature.
  3579.  
  3580. ------------------------------
  3581. x-screen-defaults
  3582.  
  3583. Alist of default screen-creation parameters for X-window screens.
  3584. These override what is specified in ~/.Xdefaults but are overridden
  3585. by the arguments to the particular call to x-create-screen.
  3586.  
  3587. ------------------------------
  3588. x-selection-pointer-shape
  3589. *The shape of the mouse-pointer when over a selectable text region.
  3590. Default: "top_left_arrow".
  3591.  
  3592. ------------------------------
  3593. x-sent-selection-hooks
  3594.  
  3595. A function or functions to be called after we have responded to some
  3596. other clients request for the value of a selection that we own.  The
  3597. function(s) will be called with four arguments:
  3598.   - the name of the selection (typically PRIMARY, SECONDARY, or CLIPBOARD);
  3599.   - the name of the selection-type which we were requested to convert the
  3600.     selection into before sending (for example, STRING or LENGTH);
  3601.   - and whether we successfully transmitted the selection.
  3602. We might have failed (and declined the request) for any number of reasons,
  3603. including being asked for a selection that we no longer own, or being asked
  3604. to convert into a type that we dont know about or that is inappropriate.
  3605. This hook doesn't let you change the behavior of Emacs's selection replies,
  3606. it merely informs you that they have happened.
  3607.  
  3608. ------------------------------
  3609. zmacs-activate-region-hook
  3610.  
  3611. Function or functions called when the region becomes active;
  3612. see the variable zmacs-regions.
  3613.  
  3614. ------------------------------
  3615. zmacs-region-stays
  3616.  
  3617. Commands which do not wish to affect whether the region is currently
  3618. hilighted should set this to t.  Normally, the region is turned off after
  3619. executing each command that did not explicitly turn it on with the function
  3620. zmacs-activate-region. Setting this to true lets a command be non-intrusive.
  3621. See the variable zmacs-regions.
  3622.  
  3623. ------------------------------
  3624. zmacs-regions
  3625.  
  3626. *Whether LISPM-style active regions should be used.
  3627. This means that commands which operate on the region (the area between the
  3628. point and the mark) will only work while the region is in the ``active''
  3629. state, which is indicated by hilighting.  Executing most commands causes
  3630. the region to not be in the active state, so (for example) C-w will only
  3631. work immediately after activating the region.
  3632.  
  3633. More specifically:
  3634.  
  3635.  - Commands which operate on the region only work if the region is active.
  3636.  - Only a very small set of commands cause the region to become active:
  3637.    Those commands whose semantics are to mark an area, like mark-defun.
  3638.  - The region is deactivated after each command that is executed, except that:
  3639.  - "Motion" commands do not change whether the region is active or not.
  3640.  
  3641. set-mark-command (C-SPC) pushes a mark and activates the region.  Moving the
  3642. cursor with normal motion commands (C-n, C-p, etc) will cause the region
  3643. between point and the recently-pushed mark to be highlighted.  It will
  3644. remain highlighted until some non-motion comand is executed.
  3645.  
  3646. exchange-point-and-mark (C-x C-x) activates the region.  So if you mark a
  3647. region and execute a command that operates on it, you can reactivate the
  3648. same region with C-x C-x (or perhaps C-x C-x C-x C-x) to operate on it
  3649. again.
  3650.  
  3651. Generally, commands which push marks as a means of navigation (like
  3652. beginning-of-buffer and end-of-buffer (M-< and M->)) do not activate the
  3653. region.  But commands which push marks as a means of marking an area of
  3654. text (like mark-defun (M-C-h), mark-word (M-@) or mark-whole-buffer (C-x h))
  3655. do activate the region.
  3656.  
  3657. ------------------------------
  3658. zmacs-deactivate-region-hook
  3659.  
  3660. Function or functions called when the region becomes inactive;
  3661. see the variable zmacs-regions.
  3662.  
  3663. ------------------------------
  3664. zmacs-update-region-hook
  3665.  
  3666. Function or functions called when the active region changes.
  3667. This is called after each command that sets region-stays to t.
  3668. See the variable zmacs-regions.
  3669.  
  3670.  
  3671. Changed Functions:
  3672. ==================
  3673.  
  3674. baud-rate: ()
  3675. The function `baud-rate' has been replaced by the variable `baud-rate'
  3676.  
  3677. ------------------------------
  3678. beep: (&optional arg sound)
  3679.  
  3680. Beep, or flash the screen.
  3681. Also, unless an argument is given,
  3682. terminate any keyboard macro currently executing.
  3683. When called from lisp, the second argument is what sound to make.
  3684.  
  3685. ------------------------------
  3686. compare-windows: (ignore-whitespace)
  3687.  
  3688. Compare text in current window with text in next window.
  3689. Compares the text starting at point in each window,
  3690. moving over text in each one as far as they match.
  3691.  
  3692. A prefix arg means ignore changes in whitespace.
  3693. The variable compare-windows-whitespace controls how whitespace is skipped.
  3694.  
  3695. If compare-ignore-case is non-nil, changes in case are also ignored.
  3696.  
  3697. ------------------------------
  3698. current-time-string: (&optional arg)
  3699.  
  3700. Return the current time, as a human-readable string.
  3701. Programs can use it too, since the number of columns in each field is fixed.
  3702. The format is Sun Sep 16 01:03:52 1973.
  3703. If the optional argument is non-nil, it must be a cons of two integers, which
  3704. are the upper and lower 16 bits of a time in seconds (such as the value 
  3705. returned by the current-time-seconds function.
  3706. In a future Emacs version, the time zone may be added at the end,
  3707. if we can figure out a reasonably easy way to get that information.
  3708.  
  3709.  
  3710. ------------------------------
  3711. define-key: (keymap keys def)
  3712.  
  3713. Args KEYMAP, KEYS, DEF.  Define key sequence KEYS, in KEYMAP, as DEF.
  3714. KEYMAP is a keymap object.
  3715. KEYS is the sequence of keystrokes to bind, described below.
  3716. DEF is anything that can be a key's definition:
  3717.  nil (means key is undefined in this keymap);
  3718.  a command (a Lisp function suitable for interactive calling);
  3719.  a string or key sequence vector (treated as a keyboard macro);
  3720.  a keymap (to define a prefix key);
  3721.  a symbol; when the key is looked up, the symbol will stand for its
  3722.     function definition, that should at that time be one of the above,
  3723.     or another symbol whose function definition is used, and so on.
  3724.  a cons (STRING . DEFN), meaning that DEFN is the definition
  3725.     (DEFN should be a valid definition in its own right);
  3726.  or a cons (KEYMAP . CHAR), meaning use definition of CHAR in map KEYMAP.
  3727.  
  3728. Contrary to popular belief, the world is not ASCII.  When running under a
  3729. window manager, Emacs can tell the difference between, for example, the
  3730. keystrokes control-h, control-shift-h, and backspace.  You can, in fact,
  3731. bind different commands to each of these.
  3732.  
  3733. A `key sequence' is a set of keystrokes.  A `keystroke' is a keysym and some
  3734. set of modifiers (such as control and meta).  A `keysym' is what is printed
  3735. on the keys on your keyboard.
  3736.  
  3737. A keysym may be represented by a symbol, or (if and only if it is equivalent
  3738. to a printing ASCII character) by its ASCII code.  The `A' key may be
  3739. represented by the symbol `A' or by the number 65.  The `break' key may be
  3740. represented only by the symbol `break'.
  3741.  
  3742. A keystroke may be represented by a list: the last element of the list is
  3743. the key (a symbol or number, as above) and the preceding elements are the
  3744. symbolic names of modifier keys (control, meta, super, hyper, and shift.)
  3745. Thus, the sequence control-b is represented by the forms `(control b)' 
  3746. and `(control 98)'.  A keystroke may also be represented by an event object,
  3747. as returned by the `next-command-event' and `read-key-sequence' functions.
  3748.  
  3749. Note that in this context, the keystroke `control-b' is *not* represented
  3750. by the number 2 (the ASCII code for ^B).  See below.
  3751.  
  3752. The `shift' modifier is somewhat of a special case.  You should not (and
  3753. cannot) use `(meta shift a)' to mean `(meta A)', since for characters that
  3754. have printing ASCII equivalents, the state of the shift key is implicit in
  3755. the keysym (a vs. A).  You also cannot say `(shift =)' to mean `+', as that
  3756. sort of thing varies from keyboard to keyboard.  The shift modifier is for
  3757. use only with characters that do not have a second keysym on the same key,
  3758. such as `backspace' and `tab'.
  3759.  
  3760. A key sequence is a vector of keystrokes.  As a degenerate case, elements
  3761. of this vector may also be keysyms if they have no modifiers.  That is,
  3762. the `A' keystroke is represented by all of these forms:
  3763.     A    65    (A)    (65)    [A]    [65]    [(A)]    [(65)]
  3764. the `control-a' keystroke is represented by these forms:
  3765.     (control A)    (control 65)    [(control A)]    [(control 65)]
  3766. the key sequence `control-c control-a' is represented by these forms:
  3767.     [(control c) (control a)]    [(control 99) (control 65)]
  3768.  
  3769. Mouse button clicks work just like keypresses: (control button1) means
  3770. pressing the left mouse button while holding down the control key.
  3771. [(control c) (shift button3)] means control-c, hold shift, click right.
  3772.  
  3773. Commands may be bound to the mouse-button up-stroke rather than the down-
  3774. stroke as well.  `button1' means the down-stroke, and `button1up' means the
  3775. up-stroke.  Different commands may be bound to the up and down strokes,
  3776. though that is probably not what you want, so be careful.
  3777.  
  3778. For backward compatibility, a key sequence may also be represented by a 
  3779. string.  In this case, it represents the key sequence(s) that would
  3780. produce that sequence of ASCII characters in a purely ASCII world.  For 
  3781. example, a string containing the ASCII backspace character, "\^H", would
  3782. represent two key sequences: `(control h)' and `backspace'.  Binding a
  3783. command to this will actually bind both of those key sequences.  Likewise 
  3784. for the following pairs:
  3785.  
  3786.         control h    backspace
  3787.         control i       tab
  3788.         control m       return
  3789.         control j       linefeed
  3790.         control [       escape
  3791.         control @    control space
  3792.  
  3793. After binding a command to two key sequences with a form like
  3794.  
  3795.     (define-key global-map "\^X\^I" 'command-1)
  3796.  
  3797. it is possible to redefine only one of those sequences like so:
  3798.  
  3799.     (define-key global-map [(control x) (control i)] 'command-2)
  3800.     (define-key global-map [(control x) tab] 'command-3)
  3801.  
  3802. Of course, all of this applies only when running under a window system.  If
  3803. you're talking to Emacs through an ASCII-only channel, you don't get any of
  3804. these features.
  3805.  
  3806. ------------------------------
  3807. describe-key: (key)
  3808.  
  3809. Display documentation of the function KEY invokes.  
  3810. KEY is a string, or vector of events.  When called interactvely, key may
  3811. also be a menu selection.
  3812.  
  3813. ------------------------------
  3814. directory-files: (dirname &optional full match nosort files-only)
  3815.  
  3816. Return a list of names of files in DIRECTORY.
  3817. There are four optional arguments:
  3818. If FULL is non-nil, absolute pathnames of the files are returned.
  3819. If MATCH is non-nil, only pathnames containing that regexp are returned.
  3820. If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
  3821.  NOSORT is useful if you plan to sort the result yourself.
  3822. If FILES-ONLY is the symbol t, then only the "files" in the directory
  3823.  will be returned; subdirectories will be excluded.  If FILES-ONLY is not
  3824.  nil and not t, then only the subdirectories will be returned.  Otherwise,
  3825.  if FILES-ONLY is nil (the default) then both files and subdirectories will
  3826.  be returned.
  3827.  
  3828. ------------------------------
  3829. display-buffer: (buffer &optional not_this_window_p on_screen)
  3830.  
  3831. Make BUFFER appear in some window on the current screen, but don't select it.
  3832. BUFFER can be a buffer or a buffer name.
  3833. If BUFFER is shown already in some window in the current screen, just uses
  3834.  that one, unless the window is the selected window and NOT_THIS_WINDOW_P
  3835.  is non-nil.
  3836. If ON_SCREEN is non-nil, display on that screen instead of the current
  3837.  screen (or the dedicated screen).
  3838. If BUFFER has a dedicated screen, display on that screen instead of the
  3839.  current screen, unless ON_SCREEN was specified.
  3840. If pop-up-windows is non-nil, and the buffer is not visible in some window
  3841.  on the target screen, then windows will be split (a new window will be
  3842.  created) if there is room.  Otherwise, the least-recently-used window will
  3843.  be reused.
  3844. Returns the window displaying BUFFER.
  3845.  
  3846. ------------------------------
  3847. exit-minibuffer: ()
  3848.  
  3849. Terminate this minibuffer argument.
  3850. If minibuffer-confirm-incomplete is true, and we are in a completing-read
  3851. of some kind, and the contents of the minibuffer is not an existing
  3852. completion, requires an additional RET before the minibuffer will be exited
  3853. (assuming that RET was the character that invoked this command: the character
  3854. in question must be typed again).
  3855.  
  3856. The function `expand-mail-aliases' is obsolete and has been removed.
  3857.  
  3858. ------------------------------
  3859. find-tag: (tagname &optional other-window)
  3860.  
  3861. *Find tag whose name contains TAGNAME.
  3862.  Selects the buffer that the tag is contained in
  3863. and puts point at its definition.
  3864.  If TAGNAME is a null string, the expression in the buffer
  3865. around or before point is used as the tag name.
  3866.  If called interactively with a numeric argument, searches for the next tag
  3867. in the tag table that matches the tagname used in the previous find-tag.
  3868.  If second arg OTHER-WINDOW is non-nil, uses another window to display
  3869. the tag.
  3870.  
  3871. Multiple active tags tables and completion are supported.
  3872.  
  3873. Variables of note:
  3874.  
  3875.   tag-table-alist        controls which tables apply to which buffers
  3876.   tags-file-name        a default tags table
  3877.   tags-build-completion-table   controls completion behavior
  3878.   buffer-tag-table        another way of specifying a buffer-local table
  3879.   make-tags-files-invisible    whether tags tables should be very hidden
  3880.   tag-mark-stack-max        how many tags-based hops to remember
  3881.  
  3882. The meaning of the %s directive in `format' has slightly changed:
  3883. %s means print a string argument.  Actually, prints any object, with princ.
  3884. %S means print any object as an s-expression (using prin1).
  3885.  
  3886. ------------------------------
  3887. format: (arg1 &rest args)
  3888.  
  3889. %s means print strings using `princ' and other objects using `prin1'.
  3890. %S means print all objects using `prin1' (including strings.)
  3891.  
  3892. [%s retains the (undocumented) behavior of v18.  %S is new.]
  3893.  
  3894. ------------------------------
  3895. get-buffer-window: (buffer &optional screen)
  3896.  
  3897. Return a window currently displaying BUFFER, or nil if none.
  3898. Only the selected screen is searched; if the optional second argument
  3899. SCREEN is non-nil, then that screen is searched instead.  If SCREEN is t,
  3900. then all screens are searched.
  3901.  
  3902. ------------------------------
  3903. interactive: (args)
  3904.  
  3905. There are some new `interactive' codes:
  3906.  
  3907. e -- Last mouse event.
  3908.  
  3909. In addition, if the string begins with *
  3910.  then an error is signaled if the buffer is read-only.
  3911.  This happens before reading any arguments.
  3912. If the string begins with @, then the window the mouse is over is selected
  3913.  before anything else is done.  You may use both @ and *;
  3914. they are processed in the order that they appear.
  3915.  
  3916. ------------------------------
  3917. isearch-forward: (&optional regexp-p)
  3918.  
  3919. Do incremental search forward.
  3920. With a prefix argument, do an incremental regular expression search instead.
  3921.  
  3922. As you type characters, they add to the search string and are found.
  3923. The following non-printing keys are bound in `isearch-mode-map'.  
  3924.  
  3925. Type DEL to cancel characters from end of search string.
  3926. Type RET to exit, leaving point at location found.
  3927. Type LFD (C-j) to match end of line.
  3928. Type C-s to search again forward, C-r to search again backward.
  3929. Type C-w to yank word from buffer onto end of search string and search for it.
  3930. Type C-y to yank rest of line onto end of search string and search for it.
  3931. Type C-q to quote control character to search for it.
  3932. Type M-SPC to match all whitespace chars in regexp.
  3933. C-g while searching or when search has failed cancels input back to what has
  3934.  been found successfully.
  3935. C-g when search is successful aborts and moves point to starting point.
  3936.  
  3937. Also supported is a search ring of the previous 16 search strings.
  3938. Type M-n to search for the next item in the search ring.
  3939. Type M-p to search for the previous item in the search ring.
  3940. Type M-TAB to complete the search string using the search ring.
  3941.  
  3942. The above keys are bound in the isearch-mode-map.  To change the keys which
  3943.  are special to isearch-mode, simply change the bindings in that map.
  3944.  
  3945. Other control and meta characters terminate the search
  3946.  and are then executed normally (depending on `search-exit-option').
  3947.  
  3948. If this function is called non-interactively, it does not return to
  3949. the calling function until the search is done.
  3950.  
  3951. ------------------------------
  3952. kill-emacs: (&optional arg)
  3953.  
  3954. Exit the Emacs job and kill it.  Ask for confirmation, without argument.
  3955. If ARG is an integer, return ARG as the exit program code.
  3956. If ARG is a  string, stuff it as keyboard input.
  3957.  
  3958. The value of kill-emacs-hook, if not void,
  3959. is a list of functions (of no args),
  3960. all of which are called before Emacs is actually killed.
  3961.  
  3962. ------------------------------
  3963. local-key-binding: (keys)
  3964.  
  3965. Return the binding for command KEYS in current local keymap only.
  3966. KEYS is a string, a vector of events, or a vector of key-description lists
  3967. as described in the documentation for the define-key function.
  3968. The binding is probably a symbol with a function definition.
  3969.  
  3970. ------------------------------
  3971. local-set-key: (keys function)
  3972.  
  3973. Give KEY a local binding as COMMAND.
  3974. COMMAND is a symbol naming an interactively-callable function.
  3975. KEYS is a string, a vector of events, or a vector of key-description lists
  3976. as described in the documentation for the define-key function.
  3977. The binding goes in the current buffers local map,
  3978. which is shared with other buffers in the same major mode.
  3979.  
  3980. ------------------------------
  3981. local-unset-key: (keys)
  3982.  
  3983. Remove local binding of KEY.
  3984. KEYS is a string, a vector of events, or a vector of key-description lists
  3985. as described in the documentation for the define-key function.
  3986.  
  3987. ------------------------------
  3988. lookup-key: (keymap keys)
  3989.  
  3990. In keymap KEYMAP, look up key sequence KEYS.  Return the definition.
  3991. nil means undefined.  See doc of define-key for kinds of definitions
  3992. and key-sequence specifications.
  3993. Number as value means KEYS is "too long";
  3994. that is, characters in it except for the last one
  3995. fail to be a valid sequence of prefix characters in KEYMAP.
  3996. The number is how many characters at the front of KEYS
  3997. it takes to reach a non-prefix command.
  3998.  
  3999. ------------------------------
  4000. make-sparse-keymap: ()
  4001.  
  4002. Construct and return a new keymap object.  All entries in it are nil,
  4003. meaning "command undefined".  The only difference between this function
  4004. and make-keymap is that this function returns a "smaller" keymap (one
  4005. that is expected to contain less entries.)  As keymaps dynamically resize,
  4006. the distinction is not great.
  4007.  
  4008. ------------------------------
  4009. mark: (&optional inactive-p)
  4010.  
  4011. Return this buffers mark value as integer, or nil if no mark.
  4012.  
  4013. If zmacs-regions is true, then this returns nil unless the region is
  4014. currently in the active (hilighted) state.  With an argument of t, this
  4015. returns the mark (if there is one) regardless of the active-region state.
  4016. You should *generally* not use the mark unless the region is active, if
  4017. the user has expressed a preference for the active-region model.
  4018.  
  4019. If you are using this in an editing command, you are most likely making
  4020. a mistake; see the documentation of set-mark.
  4021.  
  4022. ------------------------------
  4023. mark-marker: (&optional inactive_p)
  4024.  
  4025. Return this buffers mark, as a marker object.
  4026. If `zmacs-regions' is true, then this returns nil unless the region is
  4027. currently in the active (hilighted) state.  With an argument of t, this
  4028. returns the mark (if there is one) regardless of the zmacs-region state.
  4029. You should *generally* not use the mark unless the region is active, if
  4030. the user has expressed a preference for the zmacs-region model.
  4031. Watch out!  Moving this marker changes the mark position.
  4032. If you set the marker not to point anywhere, the buffer will have no mark.
  4033.  
  4034. ------------------------------
  4035. next-window: (&optional window mini all_screens)
  4036.  
  4037. Return next window after WINDOW in canonical ordering of windows.
  4038. Optional second arg MINIBUF t means count the minibuffer window
  4039. even if not active.  If MINIBUF is neither t nor nil it means
  4040. not to count the minibuffer even if it is active.
  4041. Optional third arg ALL-SCREENS t means include all windows in all screens;
  4042. otherwise cycle within the selected screen, with the exception that if a
  4043. global minibuffer screen is in use, all screens are used.
  4044.  
  4045. ------------------------------
  4046. other-buffer: (&optional buffer screen)
  4047.  
  4048. Return most recently selected buffer other than BUFFER.
  4049. Buffers not visible in windows are preferred to visible buffers.
  4050. If no other buffer exists, the buffer *scratch* is returned.
  4051. If BUFFER is omitted or nil, some interesting buffer is returned.
  4052. The ordering is for this screen; If second optional argument SCREEN
  4053. is provided, then the ordering is for that screen.  If the second arg
  4054. is t, then the global ordering is returned.
  4055.  
  4056. ------------------------------
  4057. other-window: (n &optional all_screens)
  4058.  
  4059. Select the ARGth different window on this screen.
  4060. All windows on current screen are arranged in a cyclic order.
  4061. This command selects the window ARG steps away in that order.
  4062. A negative ARG moves in the opposite order.  If the optional second
  4063. argument ALL_SCREENS is non-nil, cycle through all screens.
  4064.  
  4065. ------------------------------
  4066. point-marker: (&optional dont_copy_p)
  4067.  
  4068. Return value of point, as a marker object.
  4069. This marker is a copy; you may modify it with reckless abandon.
  4070. If the argument to this function is non-nil, then it returns the real
  4071. point-marker; modifying the position of this marker willl move point.
  4072. It is illegal to change the buffer of it, or make it point nowhere.
  4073.  
  4074. ------------------------------
  4075. read: (&optional readcharfun)
  4076.  
  4077. The `read' function no longer consumes the whitespace following an expression
  4078. after reading it.  Point will be left immediately after the last character of
  4079. the token that was read, instead of after any whitespace following the last
  4080. character of the token.
  4081.  
  4082. ------------------------------
  4083. read-char: ()
  4084.  
  4085. Read a character from the command input (keyboard or macro).
  4086. If a mouse click is detected, an error is signalled.  The character typed
  4087. is returned as an ASCII value.  This is most likely the wrong thing for you
  4088. to be using: consider using the `next-command-event' function instead.
  4089.  
  4090. ------------------------------
  4091. read-key-sequence: (prompt)
  4092.  
  4093. Read a sequence of keystrokes or mouse clicks and return a vector of the
  4094. event objects read.  The vector is newly created, but the event objects are
  4095. reused: if you want to hold a pointer to them beyond the next call to this
  4096. function, you must copy them first.
  4097.  
  4098. The sequence read is sufficient to specify a non-prefix command starting
  4099. from the current local and global keymaps.  A C-g typed while in this
  4100. function is treated like any other character, and quit-flag is not set.
  4101. One arg, PROMPT, is a prompt string, or nil meaning do not prompt specially.
  4102.  
  4103. If the user selects a menu item while we are prompting for a key-sequence,
  4104. the returned value will be a vector of a single menu-selection event.
  4105. An error will be signalled if you pass this value to lookup-key or a
  4106. related function.
  4107.  
  4108. ------------------------------
  4109. recent-keys: ()
  4110.  
  4111. Return vector of last 100 keyboard or mouse button events read.
  4112. This copies 100 event objects and a vector; it is safe to keep and modify
  4113. them.
  4114.  
  4115. ------------------------------
  4116. redraw-screen: (screen)
  4117. Clear screen SCREEN and output again what is supposed to appear on it.
  4118.  
  4119. ------------------------------
  4120. this-command-keys: ()
  4121.  
  4122. Returns a vector of the keyboard or mouse button events that were used
  4123. to invoke this command.  This copies the vector and the events; it is safe
  4124. to keep and modify them.
  4125.  
  4126. ------------------------------
  4127. visit-tags-table: (file)
  4128.  
  4129. Tell tags commands to use tags table file FILE first.
  4130. FILE should be the name of a file created with the etags program.
  4131. A directory name is ok too; it means file TAGS in that directory.
  4132. This function is largely obsoleted by the variable tag-table-alist.
  4133.  
  4134. ------------------------------
  4135. write-region: (start end filename &optional append visit)
  4136.  
  4137. Write current region into specified file.
  4138. When called from a program, takes three arguments:
  4139. START, END and FILENAME.  START and END are buffer positions.
  4140. Optional fourth argument APPEND if non-nil means
  4141.   append to existing file contents (if any).
  4142. Optional fifth argument VISIT if t means
  4143.   set the last-save-file-modtime of buffer to this files modtime
  4144.   and mark buffer not modified.
  4145. If VISIT is neither t nor nil, it means do not print
  4146.   the "Wrote file" message.
  4147. Kludgy feature: if START is a string, then that string is written
  4148. to the file, instead of any buffer contents, and END is ignored.
  4149.  
  4150.  
  4151. Changed Variables:
  4152. ==================
  4153.  
  4154. auto-fill-hook
  4155. The variable `auto-fill-hook' has been renamed `auto-fill-function'
  4156.  
  4157. ------------------------------
  4158. blink-paren-hook
  4159. The variable `blink-paren-hook' has been renamed `blink-paren-function'
  4160.  
  4161. ------------------------------
  4162. ctl-arrow
  4163.  
  4164. *Non-nil means display control chars with uparrow.
  4165. Nil means use backslash and octal digits.
  4166. Non-t and non-nil means display 8-bit characters (that is, characters
  4167. whose code is greater than 160 (SPC with the high bit on) will be
  4168. displayed as a single glyph.)
  4169. Automatically becomes buffer-local when set in any fashion.
  4170. This variable does not apply to characters whose display is specified
  4171. in the current display table (if there is one).
  4172.  
  4173. ------------------------------
  4174. default-directory
  4175.  
  4176. Name of default directory of current buffer.  Should end with slash.
  4177. Each buffer has its own value of this variable.
  4178.  
  4179. `inhibit-local-variables' has been replaced with `enable-local-variables',
  4180. with the reversed sense.
  4181.  
  4182. ------------------------------
  4183. executing-kbd-macro
  4184.  
  4185. Currently executing keyboard macro (a vector of events);
  4186. nil if none executing.
  4187.  
  4188. ------------------------------
  4189. executing-macro
  4190.  
  4191. Currently executing keyboard macro (a vector of events);
  4192. nil if none executing.
  4193.  
  4194. ------------------------------
  4195. inverse-video
  4196.  
  4197. The variable `inverse-video' is currently ignored; this will eventually be
  4198. a parameter of the `default' face on tty screens.  For X screens, simply set
  4199. the foreground and background colors appropriately.
  4200.  
  4201. ------------------------------
  4202. keyboard-translate-table
  4203.  
  4204. String used as translate table for keyboard input, or nil.
  4205. Each character is looked up in this string and the contents used instead.
  4206. If string is of length N, character codes N and up are untranslated.
  4207. This is the right thing to use only if you are on a dumb tty, as it cannot
  4208. handle input which cannot be represented as ASCII.  If you are running Emacs
  4209. under X, you should do the translations with the xmodmap program instead.
  4210.  
  4211. ------------------------------
  4212. last-command-char
  4213.  
  4214. If the value of last-command-event is a keyboard event, then
  4215. this is the nearest ASCII equivalent to it.  This the the value that
  4216. self-insert-command will put in the buffer.  Remember that there is
  4217. NOT a 1:1 mapping between keyboard events and ASCII characters: the set
  4218. of keyboard events is much larger, so writing code that examines this
  4219. variable to determine what key has been typed is bad practice, unless
  4220. you are certain that it will be one of a small set of characters.
  4221.  
  4222. ------------------------------
  4223. last-input-char
  4224.  
  4225. If the value of last-input-event is a keyboard event, then
  4226. this is the nearest ASCII equivalent to it.  Remember that there is
  4227. NOT a 1:1 mapping between keyboard events and ASCII characters: the set
  4228. of keyboard events is much larger, so writing code that examines this
  4229. variable to determine what key has been typed is bad practice, unless
  4230. you are certain that it will be one of a small set of characters.
  4231.  
  4232. ------------------------------
  4233. last-kbd-macro
  4234. Last kbd macro defined, as a vector of events; nil if none defined.
  4235.  
  4236. ------------------------------
  4237. lisp-indent-hook
  4238. The variable `lisp-indent-hook' has been renamed `lisp-indent-function'
  4239.  
  4240. ------------------------------
  4241. load-path
  4242. *List of directories to search for files to load.
  4243. Each element is a string (directory name) or nil (try default directory).
  4244.  
  4245. Note that the elements of this list *may not* begin with "~", so you must
  4246. call expand-file-name on them before adding them to this list.
  4247.  
  4248. Initialized based on EMACSLOADPATH environment variable, if any,
  4249. otherwise to default specified in by file paths.h when Emacs was built.
  4250. If there were no paths specified in paths.h, then Emacs chooses a default
  4251. value for this variable by looking around in the file-system near the
  4252. directory in which the Emacs executable resides.
  4253.  
  4254. ------------------------------
  4255. mail-aliases
  4256.  
  4257. Word-abbrev table of mail address aliases.
  4258. If this is nil, it means the aliases have not yet been initialized and
  4259. should be read from the .mailrc file.  (This is distinct from there being
  4260. no aliases, which is represented by this being a table with no entries.)
  4261.  
  4262. ------------------------------
  4263. mode-line-format
  4264.  
  4265. The `mode-line-format' and similar strings accept a new format directive:
  4266.  
  4267.   %S -- print name of selected screen (only meaningful under X Windows).
  4268.  
  4269. ------------------------------
  4270. mode-line-inverse-video
  4271.  
  4272. The variable `mode-line-inverse-video' is currently ignored; this will
  4273. eventually be a parameter of the `modeline' face on tty screens.  For X
  4274. screens, simply set the foreground and background colors appropriately.
  4275.  
  4276. ------------------------------
  4277. tags-file-name
  4278.  
  4279. *The name of the tags-table used by all buffers.
  4280. This is for backward compatibility, and is largely supplanted by the
  4281. variable tag-table-alist.
  4282.  
  4283. ------------------------------
  4284. temp-buffer-show-hook
  4285.  
  4286. The variable `temp-buffer-show-hook' has been renamed
  4287. `temp-buffer-show-function'.
  4288.  
  4289. ------------------------------
  4290. visible-bell
  4291.  
  4292. The `visible-bell' variable doesn't currently work; this will eventually 
  4293. be a screen parameter.
  4294.  
  4295. ------------------------------
  4296. write-file-hooks
  4297.  
  4298. List of functions to be called before writing out a buffer to a file.
  4299. If one of them returns non-nil, the file is considered already written
  4300. and the rest are not called.
  4301. These hooks are considered to pertain to the visited file.
  4302. So this list is cleared if you change the visited file name.
  4303. See also `write-contents-hooks'.
  4304.