Richard M. Stallman [Tue, 27 Jul 1993 08:38:00 +0000 (08:38 +0000)]
(x-handle-iconic): New function.
(command-switch-alist): Use that.
(x-switch-definitions): Delete elt for `-iconic'.
(x-selection-timeout): Use 20000 as default.
(x-select-text): Never set the CLIPBOARD selection.
(x-cut-buffer-or-selection-value): Try PRIMARY before cut buffer.
(x-cut-buffer-max): Set based on x-server-max-request-size.
Richard M. Stallman [Mon, 26 Jul 1993 07:10:13 +0000 (07:10 +0000)]
(indent-c-exp): When previous line ends in comma,
use calculate-c-indent. Fix the "inner loop" to properly detect
a line that ends outside of comments and strings.
Richard M. Stallman [Sun, 25 Jul 1993 22:00:25 +0000 (22:00 +0000)]
(lisp_data_to_selection_data): New arg NOFREE_RET.
For a string, just return its data's address.
(x_handle_selection_request): Pass new arg.
If value comes back 1, don't call xfree.
Richard M. Stallman [Sun, 25 Jul 1993 20:30:04 +0000 (20:30 +0000)]
(x-select-text): Never set the CLIPBOARD selection.
(x-cut-buffer-or-selection-value): Try PRIMARY before cut buffer.
(x-cut-buffer-max): Set based on x-server-max-request-size.
Richard M. Stallman [Sat, 24 Jul 1993 21:16:29 +0000 (21:16 +0000)]
(rmail-output-to-rmail-file): Set rmail-last-rmail-file
while reading the interactive args.
(rmail-output): Likewise, for rmail-last-file.
(rmail-output-to-rmail-file): Use default-file consistently.
Richard M. Stallman [Sat, 24 Jul 1993 08:42:00 +0000 (08:42 +0000)]
(tar-parse-info, tar-header-offset, tar-superior-buffer)
(tar-superior-descriptor): Make them permanent locals.
(tar-mode): Call kill-all-local-variables.
Locally set enable-local-variables to nil.
Richard M. Stallman [Fri, 23 Jul 1993 05:10:00 +0000 (05:10 +0000)]
(font-lock-after-change-function):
Scan for comments and strings from beg of line.
(c-font-lock-keywords-1): Recognize &, like *, before fn name.
(perl-font-lock-keywords): Put digit 1 into function-name-face items.
Allow whitespace before the open-brace.
Jim Blandy [Thu, 22 Jul 1993 22:00:48 +0000 (22:00 +0000)]
Implement search for app-defaults directory and
localized default databases, along with some other functionality
provided by Xt.
#include <stdio.h>, since we call sprintf.
[emacs] (malloc, realloc, free): #define these to xmalloc,
xrealloc, and xfree.
(x_get_string_resource, file_p): Add forward declarations for these.
(x_customization_string): New variable.
(x_get_customization_string): New function.
(gethomedir): Return malloc'ed space of the right size, instead of
writing into a fixed-size buffer; this means that our callers do
not impose an arbitrary limit on file name length.
(magic_file_p): Rewrite of decode_magic; actually do the
substitutions, instead of expanding all %-escapes to "". Support
the customization string. Return 0 or the expanded file name,
instead of just zero or one. Allocate the space for the expanded
file name ourselves, instead of writing into a fixed-size buffer
passed to us; this removes an arbitrary limit.
(search_magic_path): Rewrite of magic_searchpath_decoder. Return
0 or the expanded file name, instead of just zero or one.
Allocate the space for the expanded file name ourselves, instead
of writing into a fixed-size buffer passed to us; this means that
our callers do not impose an arbitrary limit on file name length.
(get_system_app): Changed to work with search_magic_path.
(get_user_app): Rewritten to work with search_magic_path, and not
to assume that the values of XAPPLRESDIR is a single directory.
(get_user_db): Properly use the new version of gethomedir.
(get_environ_db): Remove arbitrary limit on length of host name.
(x_load_resources): Take a new argument, myname.
Call get_user_db early to obtain the customization string.
Changes to stand-alone testing code.
Paul Eggert [Thu, 22 Jul 1993 10:57:46 +0000 (10:57 +0000)]
> (vc-backend-revert): Use `co -f' instead of deleting the
working file ourselves; that way, if `co' fails, we won't have
deleted the working file.
(vc-backend-steal): Don't delete the working file. Use `rcs -u -l',
not `rcs -u ; rcs -l'; it's faster. Use vc-backend-dispatch -- the
old code couldn't have possibly worked.