Jim Blandy [Sat, 7 Nov 1992 06:17:04 +0000 (06:17 +0000)]
* isearch.el (isearch-frames-exist): This isn't what we want -
replaced by...
(isearch-gnu-emacs-events): non-nil if should expect events in the
style generated by GNU Emacs 19. Set if set-frame-height is
fboundp; this is true on any GNU Emacs 19, whether or not it was
compiled with multiple frame support.
(isearch-mode-map): Test isearch-gnu-emacs-events instead of
isearch-frames-exist to see if we should bind switch-frame events.
(isearch-update): Test isearch-gnu-emacs-events instead of
isearch-frames-exist to see if unread-command-char's quiescent
value is nil or -1.
Jim Blandy [Sat, 7 Nov 1992 06:10:53 +0000 (06:10 +0000)]
* autoload.el (make-autoload): When creating an autoload
invocation for a macro, pass (list 'quote 'macro) as the sixth
argument, not just t. autoload's sixth argument is now a type
instead of just a boolean value, so we should use a value which
reflects that.
Richard M. Stallman [Thu, 5 Nov 1992 20:25:10 +0000 (20:25 +0000)]
version 1.28.8
(fortran-indent-to-column): Make turning of lines that begin with
`fortran-continuation-string' into properly formated continuation
lines work for fortran TAB mode.
Cleaned up some doc strings.
(fortran-abbrev-help, fortran-prepare-abbrev-list-buffer): Use
`insert-abbrev-table-description' and make buffer in abbrevs-mode.
Many changes since version 1.28.3. Added auto-fill-mode, support
for some Fortran 90 statements. Adjust comments to conform to new
gnu conventions.
(fortran-mode): Fix `comment-line-start-skip' by changing \\1 to
\\2 and include cpp statements in matching. Changes for auto fill.
(fortran-auto-fill-mode, fortran-do-auto-fill,
fortran-break-line): New functions to implement auto fill.
(fortran-indent-line, fortran-reindent-then-newline-and-indent):
Added auto fill support.
(find-comment-start-skip, is-in-fortran-string-p): New functions.
(fortran-electric-line-number): Works better in overwrite mode.
(fortran-indent-comment, fortran-indent-line,
fortran-indent-to-column): Use find-comment-start-skip instead of
searching for `comment-start-skip'.
(fortran-mode, calculate-fortran-indent): Added indentation
for fortran 90 statements.
(fortran-mode, calculate-fortran-indent,
fortran-setup-tab-format-style, fortran-setup-fixed-format-style):
`fortran-comment-line-column' meaning changed. Now defaults to 0.
Richard M. Stallman [Tue, 3 Nov 1992 07:07:02 +0000 (07:07 +0000)]
(make-directory): Renamed from make-directory-path.
Optional argument says whether to create parent dirs.
Invoke file-name handler here.
(after-find-file): Delete code that offers to create dir.
Instead, just print a message.
Jim Blandy [Tue, 3 Nov 1992 02:00:50 +0000 (02:00 +0000)]
* ange-ftp.el: Tighten the regular expression used in
file-name-handler-alist to recognized ange-ftp filenames; the
slash, username and hostname must be at the start of the filename,
not just anywhere in the filename.
Jim Blandy [Sat, 31 Oct 1992 05:43:42 +0000 (05:43 +0000)]
* xterm.h (x_screen_count, x_release, x_screen_height,
x_screen_height_mm, x_screen_width, x_screen_width_mm,
x_save_under, x_screen_planes): Declare this as ints, to match
their definitions in xterm.c.
Jim Blandy [Sat, 31 Oct 1992 05:43:00 +0000 (05:43 +0000)]
* xterm.c (x_convert_modifiers): Declare this to return an
unsigned int, not a Lisp_Object. Remember that the quiescent
value for part is Qnil, not zero, that x_mouse_x and x_mouse_y
are ints, not Lisp_Objects, and that RESULT->x and RESULT->y are
Lisp_Objects, not ints.
(XTread_socket): Declare this to return int, not Lisp_Object.
When calling construct_mouse_click on a non-scrollbar click, pass
PART as Qnil, not zero.
(x_calc_absolute_position): Remember that x_screen_width and
x_screen_height are ints, not Lisp_Objects.
e
Jim Blandy [Sat, 31 Oct 1992 05:42:28 +0000 (05:42 +0000)]
* xselect.c (own_selection): selection_type is an X Atom value,
not a Lisp_Object.
(x_selection_arrival): Declare this static, and add a forward
declaration at the top of the page.
Jim Blandy [Sat, 31 Oct 1992 05:41:49 +0000 (05:41 +0000)]
* xfns.c (x_decode_color, Fx_color_display_p): x_screen_planes is
an int, not a Lisp_Object.
(x_set_mouse_color): Give separate error messages for the
different cursors we try to set.
(Fx_geometry): Declare STRING to be a Lisp_Object.
(Fx_create_frame): No need to use XSET to assign NAME to f->name;
they're both Lisp_Objects.
(adjust_scrollbars): Use XINT to access w->hscroll.
(Fx_open_connection): x_screen_count, x_release, x_screen_height,
x_screen_height_mm, x_screen_width, x_screen_width_mm,
x_save_under, and x_screen_planes are integers, not Lisp_Objects.
(syms_of_xfns): x_mouse_x, x_mouse_y, and mouse_buffer_offset are
integers, not Lisp_Objects.
Jim Blandy [Sat, 31 Oct 1992 05:41:20 +0000 (05:41 +0000)]
* xdisp.c (redisplay): Use ! EQ to compare the old and new arrow
positions, not !=.
(mark_window_display_accurate): Barf if WINDOW isn't a window.
(display_string): Test buffer_defaults.ctl_arrow using NILP,
instead of comparing it with zero.
* xdisp.c (last_arrow_position, last_arrow_string): Make these
static.
* xdisp.c (message): Re-write this in terms of message1.
(message1): Move code to clear out echo_area_glyphs and
previous_echo_glyphs from message to here.
Jim Blandy [Sat, 31 Oct 1992 05:39:49 +0000 (05:39 +0000)]
* window.c (Fwindow_width, Fset_window_hscroll): Use accessors on
w->width, w->left, w->hscroll, and arguments.
(replace_window): Use EQ, not ==.
(Fdelete_window): p->top and p->left are not C integers.
(Fnext_window, Fprevious_window): Use EQ, not ==.
Jim Blandy [Sat, 31 Oct 1992 05:27:42 +0000 (05:27 +0000)]
* process.c: (status_convert): Declare this to return a
Lisp_Object at the top of the file.
(decode_status): Don't untag XCONS (tem)->cdr before storing it in
tem; tem is a Lisp_Object, too.
(process_send_signal): Declare this to be static void. Don't
return Qnil; nobody cares.
(sigchld_handler): Use XFASTINT to manipulate p->infd.
* process.c (pty_process): Variable deleted; it's no longer used.
(syms_of_process): Don't initialize it.
Jim Blandy [Sat, 31 Oct 1992 05:24:47 +0000 (05:24 +0000)]
* keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume
that Flength returns an integer.
* keymap.c: Deal with autoloaded keymaps properly.
(get_keymap_1): Renamed to inner_get_keymap; made
static. New argument AUTOLOAD says to pursue autoloads if
non-zero.
(Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1
not to perform autoloads.
(Fdefine_key): Ask get_keymap_1 to perform autoloads. Since
autoloading may GC, remember that we have to GCPRO our local
variables now.
(Fminor_mode_key_binding): Call get_keymap instead of calling
get_keymap_1 with equivalent arguments.
Jim Blandy [Sat, 31 Oct 1992 05:21:45 +0000 (05:21 +0000)]
* keyboard.c: #include dispextern.h.
(recursive_edit_unwind, command_loop, Fthis_command_keys): Declare
these to return Lisp_Objects at the very top of the file, to avoid
having them implicitly declared as ints.
(echo_char): Use EQ to compare C to help_char.
(read_char): Remember to apply XFASTINT to the return value of
Flength before using it. Apply XINT to c when clearing its high
bits and meta bits, and when writing it to the dribble file.
(read_char_menu_prompt): Use EQ to compare obj with
menu_prompt_more_char and its control-character analog.
(read_key_sequence): Declare PROMPT to be char *, not a
Lisp_Object. Use the appropriate accessors on keybuf when looking
for ASCII function key sequences.
* keyboard.c (echobuf): Make this 300 characters, not 100. This
isn't a real fix, but it's quick.
* keyboard.c (read_char): When returning an unread switch-frame
event, jump to reread_first to return it, rather than reread; this
makes sure the event gets echoed (if appropriate) and goes into
this_command_keys.
* keyboard.c (read_key_sequence): If the key sequence starts with
a mouse click, read the key sequence using the keymaps of the
buffer clicked on, not the current buffer.
* keyboard.c (unread_switch_frame): Make this static, to indicate
that nobody outside of this file uses it.
* keyboard.c (follow_key): Ask get_keymap_1 to perform autoloads.
(read_key_sequence): When pursuing potential bindings in the
function key map, ask get_keymap_1 to perform autoloading. This
is hardly important, but it's consistent.
Jim Blandy [Sat, 31 Oct 1992 05:18:48 +0000 (05:18 +0000)]
* doc.c: #include keyboard.h.
* doc.c (Fsubstitute_command_keys): Ask get_keymap_1 to
perform autoloads. Autoloading might GC; we need to GCPRO our
local variables now.
(Fdocumentation, Fdocumentation_property): Autoloading in
Fsubstitute_command_keys might GC; we need to GCPRO our
local variables now.
Jim Blandy [Sat, 31 Oct 1992 04:55:02 +0000 (04:55 +0000)]
* casetab.c (set_case_table): Declare this to be static, and
return a Lisp_Object. Add static declaration for this
before Fset_case_table and Fset_standard_case_table.
(Fset_case_table, Fset_standard_case_table): Return the return
value of set_case_table, instead of returning garbage.
Jim Blandy [Sat, 31 Oct 1992 04:53:11 +0000 (04:53 +0000)]
* callproc.c: Arrange for synchronous processes to get SIGINT the
first time the user quits, or SIGKILL if the user quits again.
#include "syssignal.h".
(call_process_kill): New function.
(call_process_cleanup): Send SIGINT to the subprocess, and then
arrange to call call_process_kill if the user quits while we wait
for it to terminate.
(Fcall_process, Fcall_process_region): Doc fix.
Richard M. Stallman [Fri, 30 Oct 1992 06:01:13 +0000 (06:01 +0000)]
(preserved_fns): New var.
(Fcall_interactively): Preserve fns listed in preserved_fns
when they appear in an interactive spec which is a call to `list'.
(syms_of_callint): Set preserved_fns and staticpro it.
Richard M. Stallman [Tue, 27 Oct 1992 10:21:22 +0000 (10:21 +0000)]
(fortran-tab-mode): Add defvar.
(fortran-analyze-file-format): Bind i.
(fortran-tab-mode-string): Add defvar.
(fortran-tab-mode): Use `arg' as variable, not as function.
(fortran-prepare-abbrev-list-buffer): New function.
(fortran-abbrev-help): Call that.
Richard M. Stallman [Tue, 27 Oct 1992 10:14:08 +0000 (10:14 +0000)]
Rename buffer-flush-undo to buffer-disable-undo.
(Info-goto-emacs-key-command-node): Fix typo.
(Info-menu-item-sequence): Commented out.
(Info-follow-nearest-node): Use new event format.
Select the window clicked on.
Richard M. Stallman [Mon, 26 Oct 1992 05:33:20 +0000 (05:33 +0000)]
(vc-resynch-window): New arg NOQUERY. Pass it to vc-revert-buffer1.
(vc-checkout, vc-finish-logentry, vc-revert-buffer, vc-finish-steal):
Supply t as NOQUERY arg for vc-resynch-window.
(vc-next-action): Don't revert workfile from master if buffer is modified.
Richard M. Stallman [Sat, 24 Oct 1992 04:39:49 +0000 (04:39 +0000)]
(relinquish): Adjust page_break_value by amount of memory actually given back.
(r_alloc_sbrk): Provide hysteresis in relocating the blocs.
(relinquish): Never free less than extra_bytes;
keep extra_bytes of empty space.
(obtain): Always get extra_bytes additional space.
(r_alloc_init): Set extra_bytes and page_size.
(ALIGNED, ROUNDUP, ROUND_TO_PAGE): Use page_size.