(Mode Line Data): Document the :propertize construct.
(Mode Line Variables): Reorder the descriptions of the variables
to match their order in the default mode-line-format.
Describe the new variables mode-line-position and mode-line-modes.
Update the default values of mode-line-frame-identification,
minor-mode-alist, and default-mode-line-format.
(Properties in Mode): Mention the :propertize construct.
(Font X): Mention new default font. More fully describe long font
names, wildcard patterns and the problems involved. (Result of
discussion on emacs-devel.)
(c-comment-prefix-regexp): Document that `c-setup-paragraph-variables'
has to be used when this variable is changed; it doesn't work to
reinitialize the mode since that typically clobbers the variable.
(c-font-lock-declarations): Fixed recognition of constructors and
destructors for classes whose names are matched by
`*-font-lock-extra-types'.
(c-font-lock-invalid-string): Fixed eob problem that primarily
affected XEmacs. Don't use faces to find unterminated strings since
Emacs and XEmacs fontify strings differently - this function should
now work better in XEmacs.
Kim F. Storm [Tue, 23 Sep 2003 22:05:38 +0000 (22:05 +0000)]
(Network, Network Servers): Fix typos.
(Low-Level Network): Add timeout value for :server keyword.
Add new option keywords to make-network-process.
Add set-network-process-options.
Explain how to test availability of network options.
(sh-mode-default-syntax-table): Renamed from sh-mode-syntax-table.
Call sh-mode-syntax-table directly.
(sh-mode-syntax-table-input): New variable.
(sh-require-final-newline): Don't use eval.
(sh-builtins, sh-leading-keywords, sh-other-keywords)
(sh-variables, sh-font-lock-keywords): Don't use eval.
(sh-set-shell): When setting require-final-newline,
treat value = `require-final-newline' as don't change it.
Set sh-mode-syntax-table locally based on
sh-mode-syntax-table-input and sh-mode-default-syntax-table.
Kim F. Storm [Sat, 20 Sep 2003 23:33:37 +0000 (23:33 +0000)]
(set-scroll-bar-mode): Initialize to new built-in variable
default-frame-scroll-bars.
(scroll-bar-mode): Use default-frame-scroll-bars when enabling
scroll-bar-mode; notably, use it instead of t when we toggle
scroll-bars on.
(toggle-scroll-bar): Use default-frame-scroll-bars.
Kim F. Storm [Sat, 20 Sep 2003 23:26:20 +0000 (23:26 +0000)]
(Vdefault_frame_scroll_bars): New variable.
(x_set_vertical_scroll_bars): Use it instead of hardcoded values.
(syms_of_frame): DEFVAR_LISP it, and initialize according to
window-system default scroll bar position.
Kim F. Storm [Wed, 17 Sep 2003 21:32:35 +0000 (21:32 +0000)]
(Fnetwork_interface_list, Fnetwork_interface_info):
Require HAVE_NET_IF_H and HAVE_SYS_IOCTL_H to include these fns.
(Fnetwork_interface_info): Check that ifreq struct has required
fields before accessing them; this requires that those fields are
defined as macros, which may be too restrictive on some platforms,
but it is better than failing on other platforms.
(syms_of_process): Only defsubr above fns when included.
Kim F. Storm [Tue, 16 Sep 2003 23:05:24 +0000 (23:05 +0000)]
(Fset_process_sentinel): Add sentinel to childp plist
for network process.
(socket_options): Add `:' prefix to option names. Add optbit field.
(set_socket_option): Remove no_error arg and special handling of s < 0.
Return 1<<optbit for known option, 0 for unknown.
Do not interpret 0 as false for boolean option (only nil).
Pass failed option and value to report_file_error.
(Fset_network_process_options): Replaced by Fset_network_process_option.
(Fset_network_process_option): New function to set just one option.
(Fmake_network_process): Allow :coding arg to be a cons.
Allow :server arg to be an integer specifying backlog size.
Remove :options arg, and allow options to be specified directly
as :KEY, VALUE pairs. Parse these options before binding socket.
As before, :reuseaddr t is default for a server process, but this
can now be disabled by specifying :reuseaddr nil.
(Fnetwork_interface_info): Rename from Fget_network_interface_info.
(init_process): Availability of network options is now checked with
simpler syntax (featurep 'make-network-process :OPTION); use loop to
setup features.
(syms_of_process): Fix defsubr's for the replaced functions.