997d343821* cl.el (cl-version): Mark as no longer in beta test.
Jim Blandy
1993-02-14 14:26:41 +00:00
83f6a56577* Makefile.in (COPYDIR, COPYDESTS): Remove ${srcdir}/info and ${infodir} from these variables; we have written out explicit code to install the info files.
Jim Blandy
1993-02-14 14:26:06 +00:00
1bba56f6d7* configure (progname): New option --with-gcc'. Make it clearer how we are trying to guess whether or not we have GCC. * INSTALL: Document the --with-gcc' option, and improve description of `--with-x' options.
Jim Blandy
1993-02-14 14:25:18 +00:00
73eff16445Initial revision
Jim Blandy
1993-02-14 14:13:56 +00:00
5fbe2a4458(Fadd_text_properties): Put OBJECT arg last. Make it optional. (Fset_text_properties, Fremove_text_properties): Likewise. (Fnext_single_property_change, Fprevious_single_property_change): (Fnext_property_change, Fprevious_property_change): Likewise. (Ferase_text_properties): #if 0. (Fget_text_property): New function.
Richard M. Stallman
1993-02-13 21:56:10 +00:00
dcb70223ed(C_SWITCH_MACHINE): Don't define if GCC.
Richard M. Stallman
1993-02-13 11:34:19 +00:00
6125133886(enable-flow-control...): Renamed from evade... (enable-flow-control): Add autoload.
Richard M. Stallman
1993-02-11 23:32:07 +00:00
3fff2dfa0c(Finsert_buffer_substring): Proper error for non-ex buffer. (Fcompare_buffer_substrings): Likewise.
Richard M. Stallman
1993-02-11 23:21:01 +00:00
e9cf2084dd(Fcompare_buffer_substrings): New function.
Richard M. Stallman
1993-02-11 06:00:51 +00:00
3220bb9113removed m88kbcs, changed delta88 and harris to use sysv3.
John Hassey
1993-02-10 17:56:58 +00:00
a1ddedc69dUpdate GPL version.
Richard M. Stallman
1993-02-10 07:08:53 +00:00
23d46cf89e(set-gosmacs-bindings): Fix binding of \eh.
Richard M. Stallman
1993-02-10 06:45:33 +00:00
945807a338(char_ins_del_cost): Use FRAME_WIDTH, not FRAME_HEIGHT.
Richard M. Stallman
1993-02-10 06:14:12 +00:00
82ce8accb3Fix copyright notice.
Richard M. Stallman
1993-02-09 09:58:19 +00:00
74046d00de(add-change-log-entry): Undo Jan 25 change. It worked for buffers in indented-text-mode, but lost for change-log-mode, which is what matters.
Roland McGrath
1993-02-08 22:25:34 +00:00
bd3910fef2(compilation-forget-errors): Just set compilation-directory-stack to nil; no need to loop through it. (next-error): For a non-numeric prefix arg, pass nil for compile-reinitialize-errors's FIND-AT-LEAST arg. (next-error): When getting marker for error source location, be sure to examine buffer local value of compilation-old-error-list before switching to source file buffer.
Roland McGrath
1993-02-08 20:46:10 +00:00
b5ff800400(sort-subr): Fix previous change.
Richard M. Stallman
1993-02-07 16:44:11 +00:00
4f1b6c5449(sort-build-lists): Record the key as pair of positions; don't copy string from buffer. (sort-subr): Use compare-buffer-substrings.
Richard M. Stallman
1993-02-07 05:54:14 +00:00
70ca75ae69(mail-setup): Use fill-region-as-paragraph for To field; handle the CC just like the To.
Richard M. Stallman
1993-02-07 04:56:23 +00:00
9fa4395de7(extra_keyboard_modifiers): New Lisp var. (read_char): Support ctl and meta bits in extra_keyboard_modifiers.
Richard M. Stallman
1993-02-07 00:31:58 +00:00
64bb1782c4(XTread_socket): Support extra_keyboard_modifiers.
Richard M. Stallman
1993-02-07 00:30:36 +00:00
096fbe81fa(i[34]86sol2): New abbrev for i[34]86-unknown-solaris2.
Jim Wilson
1993-02-05 23:42:43 +00:00
14a08856ec(make-comint): Added docstring.
Roland McGrath
1993-02-05 18:28:05 +00:00
d81362b0c3Restore nuked information in minibuffer history bindings. Use intelligent method of disabling completion-oriented bindings.
Roland McGrath
1993-02-05 17:41:42 +00:00
34238338f9Once again, go back to ordinary next-history-element for M-n in minibuf, even for completion.
Richard M. Stallman
1993-02-05 02:06:38 +00:00
13f4b6b337(sort-subr): Doc fixes.
Richard M. Stallman
1993-02-03 04:33:30 +00:00
a59de7ab62(mail-do-fcc): Allow dash in timezone name.
Richard M. Stallman
1993-02-02 20:40:41 +00:00
2aa7a8bfe5* simple.el (kill-region): If the buffer is read-only, do beep, but also put the region in the kill ring. Doc fix.
Jim Blandy
1993-02-01 22:31:17 +00:00
cbbc8d275a* texinfo.el (texinfo-mode): Make page-delimiter buffer-local, and set it according to texinfo-chapter-level-regexp.
Jim Blandy
1993-02-01 22:19:52 +00:00
7b1437089b(mail-abbrev-end-of-buffer): Changed interactive spec from "P" to "p".
Roland McGrath
1993-01-31 20:48:19 +00:00
c584550897(c-macro-expand): Use expanded name to write or delete. Send two eofs.
Richard M. Stallman
1993-01-30 03:43:24 +00:00
df3bb2ab7c(force_fit_type): Abort if T not INTEGER_CST.
Richard M. Stallman
1993-01-30 02:16:57 +00:00
b8baad4034* window.c (Fscroll_left, Fscroll_right): Don't forget to apply XWINDOW to selected_window before passing it to window_internal_width.
Jim Blandy
1993-01-30 01:21:00 +00:00
c4e5d591e0* xmenu.c (Fx_popup_menu): Don't forget to turn the frame-relative coordinates for the menu position into root-window-relative coordinates.
Jim Blandy
1993-01-29 22:13:36 +00:00
5e43ddf5ff* lread.c (read1): Although digits followed by a '.' are an integer, a single . by itself (like, say, \.) should be a symbol.
Jim Blandy
1993-01-29 21:32:37 +00:00
b5e6f936b9(next-complete-history-element): Restore point after replacing the buffer text with the appropriate history element.
Roland McGrath
1993-01-28 20:22:03 +00:00
3def68cde8(sendmail-program): Try /usr/ucblib/sendmail.
Richard M. Stallman
1993-01-28 06:17:47 +00:00
658eed663cDon't use the completion-oriented history commands.
Richard M. Stallman
1993-01-28 06:16:04 +00:00
753be5cc50* make-dist: Don't distributed the RCS files in the etc directory.
Jim Blandy
1993-01-26 04:28:27 +00:00
31ef7f7a89* fns.c (internal_equal): Protect the clause for comparing numbers of different tpes with a "#ifdef LISP_FLOAT_TYPE".
Jim Blandy
1993-01-26 03:05:54 +00:00
dbc4e1c129JimB's changes since January 18th
Jim Blandy
1993-01-26 01:58:16 +00:00
7276614481JimB's changes from January 18 to present
Jim Blandy
1993-01-26 01:56:29 +00:00
ed015bddf7* disass.el (disassemble): Add autoload cookie for this. * bytecomp.el (byte-decompile-bytecode): Add an autoload for this.
Jim Blandy
1993-01-26 01:36:02 +00:00
96d699f33ecompiled-function-p has been renamed to byte-code-function-p. * subr.el: Define compiled-function-p as an alias for it. * bytecomp.el: Register compiled-function-p as obsolete. * bytecomp.el, byte-opt.el, disass.el, help.el, map-ynp.el: Change uses.
Jim Blandy
1993-01-26 01:29:51 +00:00
d81fd0bf01x-selection-value has been renamed to x-selection. x-own-selection has been renamed to x-set-selection, and the order of its arguments has been reversed, for consistency with other lisp functions like put and aset. * term/x-win.el (x-select-text): Adjusted. (x-cut-buffer-or-selection-value): Check the primary selection, using x-selection, instead of checking the cut buffer again.
Jim Blandy
1993-01-26 01:26:58 +00:00
312f637b70(tags-query-replace): C-t
Roland McGrath
1993-01-25 23:30:39 +00:00
55f0149e49[TERMINFO]: Don't define LIBS_TERMCAP.
Richard M. Stallman
1993-01-25 20:12:52 +00:00
baacd4229e[__GNUC__] (LD_SWITCH_SYSTEM): Remove -a. [__GNUC__] (ORDINARY_LINK): Defined.
Richard M. Stallman
1993-01-25 20:11:29 +00:00
63ed0aa079(add-change-log-entry): Restrict PARAGRAPH-END to being on the first page.
Roland McGrath
1993-01-25 17:05:57 +00:00
c7e6987699(next-complete-history-element): Use only buffer contents before point to match history elements.
Roland McGrath
1993-01-25 16:59:48 +00:00
d0678801de({next,previous}-complete-history-element): New functions. Bind them to M-n/M-p and next/prior in minibuffer completion maps.
Roland McGrath
1993-01-25 00:45:01 +00:00
c0ff3fabb8* xterm.c (x_scrollbar_create): Set the scrollbars to use EastGravity.
Jim Blandy
1993-01-22 02:47:12 +00:00
8678b9ccf5* frame.c (Fdelete_frame): Clear the frame's display after calling the window-system-dependent frame destruction routine. We no longer need to pass the display as a separate argument to x_destroy_window. * xterm.c (x_destroy_window): Put the code which clears out f's display here, right after we free the storage it points to. Put everything, including the code which clears x_focus_frame and x_highlight_frame, inside the BLOCK/UNBLOCK_INPUT pair.
Jim Blandy
1993-01-22 02:45:16 +00:00
0f6b9c324b(tags-loop-scan): Set default value to an error form.
Roland McGrath
1993-01-21 22:43:16 +00:00
2ae6a918b9(visit-tags-table-buffer): When propagating a change of name after file-find-noselect, refer to tags-file-name, not the undefined var FILE.
Roland McGrath
1993-01-21 22:36:48 +00:00
bf349f3687(visit-tags-table-buffer): Error if called with 'same and no current table.
Roland McGrath
1993-01-19 21:05:15 +00:00
46d3268aa2(Fdisplay_buffer): Doc fix.
Roland McGrath
1993-01-19 00:56:45 +00:00
3a65941e41* c-mode.el (c-switch-label-regexp): New constant. (electric-c-terminator, c-indent-line, indent-c-exp): Use it to correctly recognize default labels in switch statements.
Jim Blandy
1993-01-16 06:04:16 +00:00
cf7cb199e5* xterm.c (x_window_to_scrollbar): Search frames' condemned_scrollbars list as well; input might arrive during redisplay. (x_scrollbar_report_motion): Don't forget to BLOCK_INPUT. (XTjudge_scrollbars): Clear the condemned scrollbar list before traversing it, so we don't try to process an event on a scrollbar we've killed.
Jim Blandy
1993-01-16 05:58:15 +00:00
22d7cb8974(Frecent_keys): Doc fix.
Richard M. Stallman
1993-01-15 21:57:50 +00:00
62c9fad7e2(shell): Doc fix.
Richard M. Stallman
1993-01-15 07:02:35 +00:00
0b67eabf74Add copyright and authorship notices.
Paul Eggert
1993-01-15 05:33:29 +00:00
2be5e5dbe6(switch-to-buffer-other-frame): Pass t to pop-to-buffer.
Roland McGrath
1993-01-14 21:28:18 +00:00
b0c33a9470(Fwindow_at): Doc fix.
Richard M. Stallman
1993-01-14 21:20:01 +00:00
65565c6881*** empty log message ***
David J. MacKenzie
1993-01-14 20:38:21 +00:00
1e8e116226(find_entries): If filename ends in .f or .for, don't try anything but Fortran.
Richard M. Stallman
1993-01-14 20:09:22 +00:00
bf03a38a2aThe shell comment char is #, not ;.
Jim Blandy
1993-01-14 17:45:39 +00:00
23d030749eRemove info from the distribution. It looks very out of date now.
Jim Blandy
1993-01-14 17:37:06 +00:00
9a572e2a2a* xterm.c (x_scrollbar_create): Include PointerMotionHintMask in the event mask for scrollbars.
Jim Blandy
1993-01-14 17:31:56 +00:00
fda4e8f6d1* make-dist: Include ./lisp/calc-2.02' in the distribution. Add ./cpp', ./info', and ./man' back into the distribution.
Jim Blandy
1993-01-14 17:30:26 +00:00
9d0d777ceb* dispnew.c (Fredraw_display): DEFUN was missing a closing paren.
Jim Blandy
1993-01-14 16:15:54 +00:00
96858c4206* make-dist: Remember that the authoritative COPYING notice is etc/COPYING', not ../etc/COPYING'.
Jim Blandy
1993-01-14 15:37:33 +00:00
b236749086* .gdbinit: Add "-geometry +0+0" to default args. (xscrollbar): New command.
Jim Blandy
1993-01-14 15:36:25 +00:00
4e0277936aMake scrollbar structures into lisp objects, so that they can be GC'd; this allows windows and scrollbars can refer to each other without worrying about dangling pointers. * xterm.h (struct x_display): vertical_scrollbars and judge_timestamp members deleted. (struct scrollbar): Redesigned to be a template for a Lisp_Vector. (SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK, SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW, VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE, VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE): New macros, to help deal with the lispy structures, and deal with the graphics. * frame.h (WINDOW_VERTICAL_SCROLLBAR): Macro deleted. (struct frame): New fields scrollbars' and condemned_scrollbars', for use by the scrollbar implementation. [MULTI_FRAME and not MULTI_FRAME] (FRAME_SCROLLBARS, FRAME_CONDEMNED_SCROLLBARS): Accessors for the new field. * window.h (struct window): Doc fix for vertical_scrollbar field. * frame.c (make_frame): Initialize the scrollbars' and condemned_scrollbars' fields of the new frame. * alloc.c (mark_object): Mark the scrollbars' and condemned_scrollbars' slots of frames. * xterm.c (x_window_to_scrollbar): Scrollbars are chained on frames' scrollbar field, not their x.display->vertical_scrollbars field. (x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move, x_scrollbar_remove, XTset_vertical_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, x_scrollbar_expose, x_scrollbar_handle_click, x_scrollbar_handle_motion): Substantially rewritten to correct typos and brainos, and to accomodate the lispy structures.
Jim Blandy
1993-01-14 15:34:59 +00:00
12ba150f2fMake scrollbar structures into lisp objects, so that they can be GC'd; this allows windows and scrollbars can refer to each other without worrying about dangling pointers. * xterm.h (struct x_display): vertical_scrollbars and judge_timestamp members deleted. (struct scrollbar): Redesigned to be a template for a Lisp_Vector. (SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK, SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW, VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE, VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE): New macros, to help deal with the lispy structures, and deal with the graphics. * frame.h (WINDOW_VERTICAL_SCROLLBAR): Macro deleted. (struct frame): New fields scrollbars' and condemned_scrollbars', for use by the scrollbar implementation. [MULTI_FRAME and not MULTI_FRAME] (FRAME_SCROLLBARS, FRAME_CONDEMNED_SCROLLBARS): Accessors for the new field. * window.h (struct window): Doc fix for vertical_scrollbar field. * frame.c (make_frame): Initialize the scrollbars' and condemned_scrollbars' fields of the new frame. * alloc.c (mark_object): Mark the scrollbars' and condemned_scrollbars' slots of frames. * xterm.c (x_window_to_scrollbar): Scrollbars are chained on frames' scrollbar field, not their x.display->vertical_scrollbars field. (x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move, x_scrollbar_remove, XTset_vertical_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, x_scrollbar_expose, x_scrollbar_handle_click, x_scrollbar_handle_motion): Substantially rewritten to correct typos and brainos, and to accomodate the lispy structures.
Jim Blandy
1993-01-14 15:34:14 +00:00
cf177271a6* xfns.c (Fx_create_frame): After mapping the frame, call SET_FRAME_GARBAGED, not just plain FRAME_GARBAGED.
Jim Blandy
1993-01-14 15:19:55 +00:00
b1d1124bde* window.c (window_internal_width): New function, which accounts for scrollbars if present. * lisp.h (window_internal_height, window_internal_width): Add extern declarations for these. * dispnew.c (direct_output_for_insert, direct_output_forward_char, buffer_posn_from_coords): Use window_internal_width instead of writing out its definition. * indent.c (compute_motion): Doc fix; mention scrollbars and window_internal_width. (pos_tab_offset, Fvertical_motion): Use window_internal_width instead of writing it out. * window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left, Fscroll_right): Same. * xdisp.c (redisplay, try_window, try_window_id, display_text_line): Same.
Jim Blandy
1993-01-14 15:18:53 +00:00
7c299e7aa4Make scrollbar structures into lisp objects, so that they can be GC'd; this allows windows and scrollbars can refer to each other without worrying about dangling pointers. * xterm.h (struct x_display): vertical_scrollbars and judge_timestamp members deleted. (struct scrollbar): Redesigned to be a template for a Lisp_Vector. (SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK, SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW, VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE, VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE): New macros, to help deal with the lispy structures, and deal with the graphics. * frame.h (WINDOW_VERTICAL_SCROLLBAR): Macro deleted. (struct frame): New fields scrollbars' and condemned_scrollbars', for use by the scrollbar implementation. [MULTI_FRAME and not MULTI_FRAME] (FRAME_SCROLLBARS, FRAME_CONDEMNED_SCROLLBARS): Accessors for the new field. * window.h (struct window): Doc fix for vertical_scrollbar field. * frame.c (make_frame): Initialize the scrollbars' and condemned_scrollbars' fields of the new frame. * alloc.c (mark_object): Mark the scrollbars' and condemned_scrollbars' slots of frames. * xterm.c (x_window_to_scrollbar): Scrollbars are chained on frames' scrollbar field, not their x.display->vertical_scrollbars field. (x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move, x_scrollbar_remove, XTset_vertical_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, x_scrollbar_expose, x_scrollbar_handle_click, x_scrollbar_handle_motion): Substantially rewritten to correct typos and brainos, and to accomodate the lispy structures.
Jim Blandy
1993-01-14 15:17:39 +00:00
535e0b8ef6* window.c (window_internal_width): New function, which accounts for scrollbars if present. * lisp.h (window_internal_height, window_internal_width): Add extern declarations for these. * dispnew.c (direct_output_for_insert, direct_output_forward_char, buffer_posn_from_coords): Use window_internal_width instead of writing out its definition. * indent.c (compute_motion): Doc fix; mention scrollbars and window_internal_width. (pos_tab_offset, Fvertical_motion): Use window_internal_width instead of writing it out. * window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left, Fscroll_right): Same. * xdisp.c (redisplay, try_window, try_window_id, display_text_line): Same.
Jim Blandy
1993-01-14 15:17:11 +00:00
ec3f896ca7* termhooks.h (mouse_position_hook): Doc fix. (set_vertical_scrollbar_hook): This doesn't return anything any more, and doesn't take a struct scrollbar * argument any more. (condemn_scrollbars_hook, redeem_scrollbar_hook, judge_scrollbars_hook): Doc fixes. * term.c (mouse_position_hook): Doc fix. (set_vertical_scrollbar_hook): This doesn't return anything any more. Doc fixes. * keyboard.c (kbd_buffer_get_event): Receive the scrollbar's window from *mouse_position_hook and pass it to make_lispy_movement, instead of working with a pointer to a struct scrollbar. (make_lispy_event): We don't need a window_from_scrollbar function anymore; we are given the window directly in *EVENT. Unify the code which generates text-area mouse clicks and scrollbar clicks; use the same code to distinguish clicks from drags on the scrollbar as in the text area. Distinguish clicks from drags by storing a copy of the lispy position list returned as part of the event. (button_down_location): Make this a lisp vector, rather than an array of random structures. (struct mouse_position): Remove this; it's been replaced by a lisp list. (make_lispy_movement): Accept the scrollbar's window as a parameter, rather than the scrollbar itself. If FRAME is zero, assume that the other arguments are garbage. (syms_of_keyboard): No need to staticpro each window of button_down_location now; just initialize and staticpro it. * window.c (window_from_scrollbar): Function deleted; no longer needed. * xdisp.c (redisplay_window): Just pass the window to set_vertical_scrollbar hook; don't pass the scrollbar object too. * xterm.c (XTmouse_position): Don't return a pointer to the scrollbar for scrollbar motion; instead, return the scrollbar's window.
Jim Blandy
1993-01-14 15:15:15 +00:00
371fbaebef* term.c (set_vertical_scrollbar_hook, condemn_scrollbars_hook, redeem_scrollbar_hook, judge_scrollbars_hook): Removed dumbo "externs" from these. They're supposed to be real definitions.
Jim Blandy
1993-01-14 15:14:21 +00:00
1dc77cc346* frame.h (FRAME_SAMPLE_VISIBILITY): Make sure frame is marked as garbaged whenever it goes from invisible to visible. * dispextern.h (frame_garbaged): Move extern declaration from here... * frame.h (frame_garbaged): ... to here. The FRAME_SAMPLE_VISIBILITY macro uses it now, and this seems to be just as modular. Make a new page, just for this and message_buf_print. (struct frame): Doc fix for the `visible' field. * process.c: #include "frame.h" instead of "dispextern.h"; the only thing we care about from it is the frame_garbaged declaration. * ymakefile: Note dependency change.
Jim Blandy
1993-01-14 15:13:19 +00:00
02213e820f* window.c (window_internal_width): New function. * lisp.h (window_internal_height, window_internal_width): Add extern declarations for these. * dispnew.c (direct_output_for_insert, direct_output_forward_char, buffer_posn_from_coords): Use window_internal_width instead of writing out its definition. * indent.c (compute_motion): Doc fix; mention scrollbars and window_internal_width. (pos_tab_offset, Fvertical_motion): Use window_internal_width instead of writing it out. * window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left, Fscroll_right): Same. * xdisp.c (redisplay, try_window, try_window_id, display_text_line): Same.
Jim Blandy
1993-01-14 15:12:23 +00:00
7b4aedb99a* termhooks.h (mouse_position_hook): Doc fix. (set_vertical_scrollbar_hook): This doesn't return anything any more, and doesn't take a struct scrollbar * argument any more. (condemn_scrollbars_hook, redeem_scrollbar_hook, judge_scrollbars_hook): Doc fixes. * term.c (mouse_position_hook): Doc fix. (set_vertical_scrollbar_hook): This doesn't return anything any more. Doc fixes. * keyboard.c (kbd_buffer_get_event): Receive the scrollbar's window from *mouse_position_hook and pass it to make_lispy_movement, instead of working with a pointer to a struct scrollbar. (make_lispy_event): We don't need a window_from_scrollbar function anymore; we are given the window directly in *EVENT. Unify the code which generates text-area mouse clicks and scrollbar clicks; use the same code to distinguish clicks from drags on the scrollbar as in the text area. Distinguish clicks from drags by storing a copy of the lispy position list returned as part of the event. (button_down_location): Make this a lisp vector, rather than an array of random structures. (struct mouse_position): Remove this; it's been replaced by a lisp list. (make_lispy_movement): Accept the scrollbar's window as a parameter, rather than the scrollbar itself. If FRAME is zero, assume that the other arguments are garbage. (syms_of_keyboard): No need to staticpro each window of button_down_location now; just initialize and staticpro it. * window.c (window_from_scrollbar): Function deleted; no longer needed. * xdisp.c (redisplay_window): Just pass the window to set_vertical_scrollbar hook; don't pass the scrollbar object too. * xterm.c (XTmouse_position): Don't return a pointer to the scrollbar for scrollbar motion; instead, return the scrollbar's window.
Jim Blandy
1993-01-14 15:11:19 +00:00
fa61c7012f* window.c (window_internal_width): New function. * lisp.h (window_internal_height, window_internal_width): Add extern declarations for these. * dispnew.c (direct_output_for_insert, direct_output_forward_char, buffer_posn_from_coords): Use window_internal_width instead of writing out its definition. * indent.c (compute_motion): Doc fix; mention scrollbars and window_internal_width. (pos_tab_offset, Fvertical_motion): Use window_internal_width instead of writing it out. * window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left, Fscroll_right): Same. * xdisp.c (redisplay, try_window, try_window_id, display_text_line): Same.
Jim Blandy
1993-01-14 15:10:14 +00:00
20a6c8d708Make scrollbar structures into lisp objects, so that they can be GC'd; this allows windows and scrollbars can refer to each other without worrying about dangling pointers. * xterm.h (struct x_display): vertical_scrollbars and judge_timestamp members deleted. (struct scrollbar): Redesigned to be a template for a Lisp_Vector. (SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK, SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW, VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE, VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE): New macros, to help deal with the lispy structures, and deal with the graphics. * frame.h (WINDOW_VERTICAL_SCROLLBAR): Macro deleted. (struct frame): New fields scrollbars' and condemned_scrollbars', for use by the scrollbar implementation. [MULTI_FRAME and not MULTI_FRAME] (FRAME_SCROLLBARS, FRAME_CONDEMNED_SCROLLBARS): Accessors for the new field. * window.h (struct window): Doc fix for vertical_scrollbar field. * frame.c (make_frame): Initialize the scrollbars' and condemned_scrollbars' fields of the new frame. * alloc.c (mark_object): Mark the scrollbars' and condemned_scrollbars' slots of frames. * xterm.c (x_window_to_scrollbar): Scrollbars are chained on frames' scrollbar field, not their x.display->vertical_scrollbars field. (x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move, x_scrollbar_remove, XTset_vertical_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, x_scrollbar_expose, x_scrollbar_handle_click, x_scrollbar_handle_motion): Substantially rewritten to correct typos and brainos, and to accomodate the lispy structures.
Jim Blandy
1993-01-14 15:09:51 +00:00
178577827e* fileio.c (Fdo_auto_save): Add CURRENT_ONLY argument, as described in doc string.
Jim Blandy
1993-01-14 15:08:15 +00:00
40be253a3b* emacs.c (shut_down_emacs): New function. (fatal_error_signal, Fkill_emacs): Call it, instead of writing it out. * xterm.c (x_connection_closed): Call shut_down_emacs instead of Fkill_emacs; the latter will try to perform operations on the X server and die a horrible death. * lisp.h (shut_down_emacs): Add extern declaration for it.
Jim Blandy
1993-01-14 15:07:32 +00:00
7e1fc708f4* config.h.in: protect against multiple #inclusions.
Jim Blandy
1993-01-14 15:02:14 +00:00
6d62a90e1f* scrollbar.el: New file. * term/x-win.el: Require 'scrollbar.
Jim Blandy
1993-01-14 14:52:32 +00:00
d5ab20330a* simple.el (set-goal-column): Make this command disabled by default.
Jim Blandy
1993-01-14 14:50:16 +00:00
faa3b11db6* frame.el (frame-notice-user-settings): Don't try to delete the initial frame if the user took care of that.
Jim Blandy
1993-01-14 14:48:57 +00:00
396890d1bdInitial revision
Jim Blandy
1993-01-14 06:41:03 +00:00
08edea3c96Define MAKE, and use where appropriate.
Richard M. Stallman
1993-01-13 22:20:28 +00:00
7bc18990e1(Fredraw_display): Redraw all visible frames. Make the non-multi-frame version interactive.
Richard M. Stallman
1993-01-13 05:17:34 +00:00
40a45a9f94(mouse-save-then-kill): When deleting, avoid delay and don't set the mark. Replace obsolete fn event-point. (mouse-kill): Replace obsolete fn event-point.
Richard M. Stallman
1993-01-13 01:31:45 +00:00
0601fd3d8f(float_to_string): Add final 0 if text ends with decimal pt.
Richard M. Stallman
1993-01-13 00:25:03 +00:00
c24e9a53b3(Fset_default_file_modes, Fdefault_file_modes): Renamed from .._mode.
Richard M. Stallman
1993-01-12 00:12:21 +00:00
5f85ea584e(Fset_default_file_mode, Fdefault_file_mode): Renamed from Fset_umask and Fumask; sense of arg is reversed.
Richard M. Stallman
1993-01-12 00:04:37 +00:00