1d386d28ff(Fwrite_region): Doc fix.
Richard M. Stallman
1993-01-11 23:15:30 +00:00
88c1aa792a(kill-append): Doc fix.
Richard M. Stallman
1993-01-11 05:10:15 +00:00
edb2a7079b(float_to_string): Add `.0' at end if needed.
Richard M. Stallman
1993-01-10 20:10:26 +00:00
51ac6f8388(Fload): If warn that .elc file is older, inhibit the ordinary message that would follow.
Richard M. Stallman
1993-01-10 16:44:36 +00:00
487fcdc0a3(mail-unsent-separator): Add `-- begin message --'.
Richard M. Stallman
1993-01-09 14:30:36 +00:00
22faf17184(dired-mark-read-regexp): Give dired-read-regexp 1 arg.
Richard M. Stallman
1993-01-09 13:54:05 +00:00
d2cadc4b9d(dired-regexp-history): New history list. (dired-read-regexp): Use that history list. Take just one arg.
Richard M. Stallman
1993-01-09 13:53:49 +00:00
d680e99c81(update-copyright): Doc fix.
Roland McGrath
1993-01-09 00:01:00 +00:00
a973c898d9Use process-send-string instead of send-string.
Michael I. Bushnell
1993-01-08 21:14:11 +00:00
6d7ee041a2(add-change-log-entry): Search for existing ChangeLog in parent dir and its parents.
Richard M. Stallman
1993-01-08 21:13:23 +00:00
c193197b50Also, write a newline after the token.
Michael I. Bushnell
1993-01-08 21:12:58 +00:00
07941899b3Also, write a newline after the token.
Michael I. Bushnell
1993-01-08 20:36:35 +00:00
5319c7c1b9timer.c (notify): Flush stdout after writing message to avoid lossage on terminals.
Michael I. Bushnell
1993-01-08 20:36:14 +00:00
dbac6e3de7Doc fixes.
Richard M. Stallman
1993-01-08 20:33:12 +00:00
dffd312417(run-at-time): Use a pipe to talk to the timer process.
Roland McGrath
1993-01-08 20:28:41 +00:00
507876f3c7timer.c (notify): Flush stdout after writing message to avoid lossage on terminals.
Michael I. Bushnell
1993-01-08 20:26:54 +00:00
ac96728ddaInitial revision
Richard M. Stallman
1993-01-08 15:30:08 +00:00
2e9c66ab52entered into RCS
Richard M. Stallman
1993-01-08 15:12:37 +00:00
ce7385cb60(Frandom): Change arg name.
Richard M. Stallman
1993-01-08 09:08:24 +00:00
f3bca33c57(unexec): Don't call exit, just return.
Richard M. Stallman
1993-01-07 10:22:16 +00:00
d2561f346f(mail-send): Don't clear modified or delete autosave if visiting a file.
Richard M. Stallman
1993-01-07 10:18:46 +00:00
7992688912* simple.el (kill-region): Change interactive spec to signal an error if the buffer is read-only, and remove the code to do a copy-region-as-kill if the buffer is read-only.
Jim Blandy
1993-01-07 02:50:39 +00:00
e33981b69dSmall changes to keep people from running Emacs under X.
Jim Blandy
1993-01-07 02:49:15 +00:00
8558648404*** empty log message ***
Jim Blandy
1993-01-07 01:47:11 +00:00
652304c9d3entered into RCS
Richard M. Stallman
1993-01-06 04:35:15 +00:00
c2fabcbf95New version received.
Richard M. Stallman
1993-01-05 22:25:05 +00:00
7617f113cd($os alternatives for sco and isc): Preserve the specified os version if any. Each alternative handles both 386 and 486, preserving distinction. ($basic_machine alternatives for sco and isc): Deleted. (i[34]86v32, i[34]86v, i[34]86v4): Handle both cpus together, preserving distinction.
Richard M. Stallman
1993-01-05 05:43:42 +00:00
5c600c5c2f(apropos-match-keys): Handle non-chars as keys.
Richard M. Stallman
1993-01-04 11:36:14 +00:00
8fabe6f428(Fx_get_resource): Use EMACS_CLASS to make class_key even if SUBCLASS is specified. I don't know whether that is right, but that's what the doc says. Cosmetic changes in arg names and doc string.
Richard M. Stallman
1993-01-03 23:43:29 +00:00
ca8efa98caTranslate sunos5 to solaris2, and solaris1 to sunos4.
Richard M. Stallman
1993-01-02 21:51:50 +00:00
fdcba502fa(compilation-sentinel): Change buffer-read-only with let.
Richard M. Stallman
1993-01-02 21:21:14 +00:00
76a66e5e9f(texinfo-tex-command): Use texi2dvi. (texinfo-texindex, texinfo-texindex-command): Commented out.
Richard M. Stallman
1992-12-30 08:14:01 +00:00
1df181b65f[! emacs] [HAVE_CONFIG_H]: #include "config.h"
Roland McGrath
1992-12-29 21:58:10 +00:00
2d82f7b90d(mouse-buffer-menu): Select the window clicked on.
Richard M. Stallman
1992-12-29 21:06:51 +00:00
82f4acafc5(add-change-log-entry): Notice when ENTRY is equal to FILE-NAME, not the hard-wired string "ChangeLog". Added missing regexp-quote's in same-day entry search. Search only in the first paragraph for a similar entry to add to.
Roland McGrath
1992-12-29 01:07:26 +00:00
9ac65684cfDefault to bsd for *-sequent.
Richard M. Stallman
1992-12-28 19:57:15 +00:00
ffb3a4db3c(abbreviated-home-dir): New variable. (abbreviate-file-name): Properly convert abbreviated homedir to ~.
Richard M. Stallman
1992-12-26 08:46:31 +00:00
21ccfb5cf1(visit-tags-table-buffer): When picking a table and using tags-table-list, skip over nonexistent files in the list.
Roland McGrath
1992-12-24 22:42:05 +00:00
e4fc4f587d(etags-verify-tags-table): Use eq instead of = in case char-after returns nil.
Roland McGrath
1992-12-24 22:33:11 +00:00
0783dc9abe*** empty log message ***
Jim Blandy
1992-12-24 06:49:45 +00:00
c8e3cbe03e* frame.h (struct frame): New fields can_have_scrollbars' and has_vertical_scrollbars'. (FRAME_CAN_HAVE_SCROLLBARS, FRAME_HAS_VERTICAL_SCROLLBARS): New accessors, for both the MULTI_FRAME and non-MULTI_FRAME. (VERTICAL_SCROLLBAR_WIDTH, WINDOW_VERTICAL_SCROLLBAR, WINDOW_VERTICAL_SCROLLBAR_COLUMN, WINDOW_VERTICAL_SCROLLBAR_HEIGHT): New macros. * window.h (struct window): New field vertical_scrollbar'. * xterm.h (struct x_display): vertical_scrollbars, judge_timestamp, vertical_scrollbar_extra: New fields. (struct scrollbar): New struct. (VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT, VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER, VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER, CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): New accessors and macros. * frame.c (make_frame): Initialize the can_have_scrollbars' and has_vertical_scrollbars' fields of the frame. * term.c (term_init): Note that TERMCAP terminals don't support scrollbars. (mouse_position_hook): Document new args. (set_vertical_scrollbar_hook, condemn_scrollbars_hook, redeem_scrollbar_hook, judge_scrollbars_hook): New hooks. * termhooks.h: Declare and document them. (enum scrollbar_part): New type. (struct input_event): Describe the new form of the scrollbar_click event type. Change part' from a Lisp_Object to an enum scrollbar_part. Add a new field `scrollbar'. * keyboard.c (kbd_buffer_get_event): Pass appropriate new parameters to *mouse_position_hook, and make_lispy_movement. * xfns.c (x_set_vertical_scrollbar): New function. (x_figure_window_size): Use new macros to calculate frame size. (Fx_create_frame): Note that X Windows frames do support scroll bars. Default to "yes". * xterm.c: #include <X11/cursorfont.h> and "window.h". (x_vertical_scrollbar_cursor): New variable. (x_term_init): Initialize it. (last_mouse_bar, last_mouse_bar_frame, last_mouse_part, last_mouse_scroll_range_start, last_mouse_scroll_range_end): New variables. (XTmouse_position): Use them to return scrollbar movement events. Take new arguments, for that purpose. (x_window_to_scrollbar, x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move, XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, x_scrollbar_expose, x_scrollbar_background_expose, x_scrollbar_handle_click, x_scrollbar_handle_motion): New functions to implement scrollbars. (x_term_init): Set the termhooks.h hooks to point to them. (x_set_window_size): Use new macros to calculate frame size. Set vertical_scrollbar_extra field. (x_make_frame_visible): Use the frame accessor FRAME_HAS_VERTICAL_SCROLLBARS to decide if we need to map the frame's subwindows as well. (XTread_socket): Use new size-calculation macros from xterm.h when processing ConfigureNotify events. (x_wm_set_size_hint): Use PIXEL_TO_CHAR_WIDTH and PIXEL_TO_CHAR_HEIGHT macros. * ymakefile (xdisp.o): This now depends on termhooks.h. (xterm.o): This now depends on window.h.
Jim Blandy
1992-12-24 06:23:08 +00:00
f451eb1325* frame.h (struct frame): New fields can_have_scrollbars' and has_vertical_scrollbars'. (FRAME_CAN_HAVE_SCROLLBARS, FRAME_HAS_VERTICAL_SCROLLBARS): New accessors, for both the MULTI_FRAME and non-MULTI_FRAME. (VERTICAL_SCROLLBAR_WIDTH, WINDOW_VERTICAL_SCROLLBAR, WINDOW_VERTICAL_SCROLLBAR_COLUMN, WINDOW_VERTICAL_SCROLLBAR_HEIGHT): New macros. * window.h (struct window): New field vertical_scrollbar'. * xterm.h (struct x_display): vertical_scrollbars, judge_timestamp, vertical_scrollbar_extra: New fields. (struct scrollbar): New struct. (VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT, VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER, VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER, CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): New accessors and macros. * frame.c (make_frame): Initialize the can_have_scrollbars' and has_vertical_scrollbars' fields of the frame. * term.c (term_init): Note that TERMCAP terminals don't support scrollbars. (mouse_position_hook): Document new args. (set_vertical_scrollbar_hook, condemn_scrollbars_hook, redeem_scrollbar_hook, judge_scrollbars_hook): New hooks. * termhooks.h: Declare and document them. (enum scrollbar_part): New type. (struct input_event): Describe the new form of the scrollbar_click event type. Change part' from a Lisp_Object to an enum scrollbar_part. Add a new field `scrollbar'. * keyboard.c (kbd_buffer_get_event): Pass appropriate new parameters to *mouse_position_hook, and make_lispy_movement. * xfns.c (x_set_vertical_scrollbar): New function. (x_figure_window_size): Use new macros to calculate frame size. (Fx_create_frame): Note that X Windows frames do support scroll bars. Default to "yes". * xterm.c: #include <X11/cursorfont.h> and "window.h". (x_vertical_scrollbar_cursor): New variable. (x_term_init): Initialize it. (last_mouse_bar, last_mouse_bar_frame, last_mouse_part, last_mouse_scroll_range_start, last_mouse_scroll_range_end): New variables. (XTmouse_position): Use them to return scrollbar movement events. Take new arguments, for that purpose. (x_window_to_scrollbar, x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move, XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, x_scrollbar_expose, x_scrollbar_background_expose, x_scrollbar_handle_click, x_scrollbar_handle_motion): New functions to implement scrollbars. (x_term_init): Set the termhooks.h hooks to point to them. (x_set_window_size): Use new macros to calculate frame size. Set vertical_scrollbar_extra field. (x_make_frame_visible): Use the frame accessor FRAME_HAS_VERTICAL_SCROLLBARS to decide if we need to map the frame's subwindows as well. (XTread_socket): Use new size-calculation macros from xterm.h when processing ConfigureNotify events. (x_wm_set_size_hint): Use PIXEL_TO_CHAR_WIDTH and PIXEL_TO_CHAR_HEIGHT macros. * ymakefile (xdisp.o): This now depends on termhooks.h. (xterm.o): This now depends on window.h.
Jim Blandy
1992-12-24 06:21:14 +00:00
179956b9a4* frame.h (struct frame): New fields can_have_scrollbars' and has_vertical_scrollbars'. (FRAME_CAN_HAVE_SCROLLBARS, FRAME_HAS_VERTICAL_SCROLLBARS): New accessors, for both the MULTI_FRAME and non-MULTI_FRAME. (VERTICAL_SCROLLBAR_WIDTH, WINDOW_VERTICAL_SCROLLBAR, WINDOW_VERTICAL_SCROLLBAR_COLUMN, WINDOW_VERTICAL_SCROLLBAR_HEIGHT): New macros. * window.h (struct window): New field vertical_scrollbar'. * xterm.h (struct x_display): vertical_scrollbars, judge_timestamp, vertical_scrollbar_extra: New fields. (struct scrollbar): New struct. (VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT, VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER, VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER, CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): New accessors and macros. * frame.c (make_frame): Initialize the can_have_scrollbars' and has_vertical_scrollbars' fields of the frame. * term.c (term_init): Note that TERMCAP terminals don't support scrollbars. (mouse_position_hook): Document new args. (set_vertical_scrollbar_hook, condemn_scrollbars_hook, redeem_scrollbar_hook, judge_scrollbars_hook): New hooks. * termhooks.h: Declare and document them. (enum scrollbar_part): New type. (struct input_event): Describe the new form of the scrollbar_click event type. Change part' from a Lisp_Object to an enum scrollbar_part. Add a new field `scrollbar'. * keyboard.c (kbd_buffer_get_event): Pass appropriate new parameters to *mouse_position_hook, and make_lispy_movement. * xfns.c (x_set_vertical_scrollbar): New function. (x_figure_window_size): Use new macros to calculate frame size. (Fx_create_frame): Note that X Windows frames do support scroll bars. Default to "yes". * xterm.c: #include <X11/cursorfont.h> and "window.h". (x_vertical_scrollbar_cursor): New variable. (x_term_init): Initialize it. (last_mouse_bar, last_mouse_bar_frame, last_mouse_part, last_mouse_scroll_range_start, last_mouse_scroll_range_end): New variables. (XTmouse_position): Use them to return scrollbar movement events. Take new arguments, for that purpose. (x_window_to_scrollbar, x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move, XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, x_scrollbar_expose, x_scrollbar_background_expose, x_scrollbar_handle_click, x_scrollbar_handle_motion): New functions to implement scrollbars. (x_term_init): Set the termhooks.h hooks to point to them. (x_set_window_size): Use new macros to calculate frame size. Set vertical_scrollbar_extra field. (x_make_frame_visible): Use the frame accessor FRAME_HAS_VERTICAL_SCROLLBARS to decide if we need to map the frame's subwindows as well. (XTread_socket): Use new size-calculation macros from xterm.h when processing ConfigureNotify events. (x_wm_set_size_hint): Use PIXEL_TO_CHAR_WIDTH and PIXEL_TO_CHAR_HEIGHT macros. * ymakefile (xdisp.o): This now depends on termhooks.h. (xterm.o): This now depends on window.h.
Jim Blandy
1992-12-24 06:19:31 +00:00
30c566e465* xdisp.c: #include "termhooks.h". (redisplay, redisplay_window): Use set_vertical_scrollbar_hook, condemn_scrollbars_hook, redeem_scrollbar_hook, and judge_scrollbars_hook to make scrollbars redisplay properly.
Jim Blandy
1992-12-24 06:18:24 +00:00
20a558dc14* frame.h (struct frame): New fields can_have_scrollbars' and has_vertical_scrollbars'. (FRAME_CAN_HAVE_SCROLLBARS, FRAME_HAS_VERTICAL_SCROLLBARS): New accessors, for both the MULTI_FRAME and non-MULTI_FRAME. (VERTICAL_SCROLLBAR_WIDTH, WINDOW_VERTICAL_SCROLLBAR, WINDOW_VERTICAL_SCROLLBAR_COLUMN, WINDOW_VERTICAL_SCROLLBAR_HEIGHT): New macros. * window.h (struct window): New field vertical_scrollbar'. * xterm.h (struct x_display): vertical_scrollbars, judge_timestamp, vertical_scrollbar_extra: New fields. (struct scrollbar): New struct. (VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT, VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER, VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER, CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): New accessors and macros. * frame.c (make_frame): Initialize the can_have_scrollbars' and has_vertical_scrollbars' fields of the frame. * term.c (term_init): Note that TERMCAP terminals don't support scrollbars. (mouse_position_hook): Document new args. (set_vertical_scrollbar_hook, condemn_scrollbars_hook, redeem_scrollbar_hook, judge_scrollbars_hook): New hooks. * termhooks.h: Declare and document them. (enum scrollbar_part): New type. (struct input_event): Describe the new form of the scrollbar_click event type. Change part' from a Lisp_Object to an enum scrollbar_part. Add a new field `scrollbar'. * keyboard.c (kbd_buffer_get_event): Pass appropriate new parameters to *mouse_position_hook, and make_lispy_movement. * xfns.c (x_set_vertical_scrollbar): New function. (x_figure_window_size): Use new macros to calculate frame size. (Fx_create_frame): Note that X Windows frames do support scroll bars. Default to "yes". * xterm.c: #include <X11/cursorfont.h> and "window.h". (x_vertical_scrollbar_cursor): New variable. (x_term_init): Initialize it. (last_mouse_bar, last_mouse_bar_frame, last_mouse_part, last_mouse_scroll_range_start, last_mouse_scroll_range_end): New variables. (XTmouse_position): Use them to return scrollbar movement events. Take new arguments, for that purpose. (x_window_to_scrollbar, x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move, XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, x_scrollbar_expose, x_scrollbar_background_expose, x_scrollbar_handle_click, x_scrollbar_handle_motion): New functions to implement scrollbars. (x_term_init): Set the termhooks.h hooks to point to them. (x_set_window_size): Use new macros to calculate frame size. Set vertical_scrollbar_extra field. (x_make_frame_visible): Use the frame accessor FRAME_HAS_VERTICAL_SCROLLBARS to decide if we need to map the frame's subwindows as well. (XTread_socket): Use new size-calculation macros from xterm.h when processing ConfigureNotify events. (x_wm_set_size_hint): Use PIXEL_TO_CHAR_WIDTH and PIXEL_TO_CHAR_HEIGHT macros. * ymakefile (xdisp.o): This now depends on termhooks.h. (xterm.o): This now depends on window.h.
Jim Blandy
1992-12-24 06:17:18 +00:00
db269683bc* keyboard.c (Qscrollbar_movement, Qvertical_scrollbar, Qabove_handle, Qhandle, Qbelow_handle): New symbols. (make_lispy_event): New code to build scrollbar clicks. (make_lispy_movement): New code to handle scrollbar movement. (head_table): Include Qscrollbar_movement in the event heads. (syms_of_keyboard): Init and staticpro Qvertical_scrollbar, Qabove_handle, Qhandle, and Qbelow_handle. * keyboard.h (Qscrollbar_movement): Declare this along with the other event types. * lisp.h (Qvertical_scrollbar): Declare this. * window.c (window_from_scrollbar): New function.
Jim Blandy
1992-12-24 06:16:36 +00:00
c2e42adb64* floatfns.c (Flog): Fix unescaped newline in string. * frame.c (Fnext_frame): Same. * textprop.c (Fprevious_single_property_change): Same. (syms_of_textprop): Same, for DEFVAR for `interval_balance_threshold'.
Jim Blandy
1992-12-24 06:16:01 +00:00
08b879b49f* scroll.c (do_scrolling): When bcopying the max_ascent field from current_frame to temp_frame, remember that max_ascent is an array of shorts, not ints.
Jim Blandy
1992-12-24 06:13:57 +00:00
ea73629837* keyboard.c (Qscrollbar_movement, Qvertical_scrollbar, Qabove_handle, Qhandle, Qbelow_handle): New symbols. (make_lispy_event): New code to build scrollbar clicks. (make_lispy_movement): New code to handle scrollbar movement. (head_table): Include Qscrollbar_movement in the event heads. (syms_of_keyboard): Init and staticpro Qvertical_scrollbar, Qabove_handle, Qhandle, and Qbelow_handle. * keyboard.h (Qscrollbar_movement): Declare this along with the other event types. * lisp.h (Qvertical_scrollbar): Declare this. * window.c (window_from_scrollbar): New function.
Jim Blandy
1992-12-24 06:13:24 +00:00
d56a7c549e* keyboard.c (Qscrollbar_movement, Qvertical_scrollbar, Qabove_handle, Qhandle, Qbelow_handle): New symbols. (make_lispy_event): New code to build scrollbar clicks. (make_lispy_movement): New code to handle scrollbar movement. (head_table): Include Qscrollbar_movement in the event heads. (syms_of_keyboard): Init and staticpro Qvertical_scrollbar, Qabove_handle, Qhandle, and Qbelow_handle. * keyboard.h (Qscrollbar_movement): Declare this along with the other event types. * lisp.h (Qvertical_scrollbar): Declare this. * window.c (window_from_scrollbar): New function.
Jim Blandy
1992-12-24 06:13:00 +00:00
4bb994d1ad* keyboard.c: Protect all references to kbd_buffer_frames with #ifdef MULTI_FRAME.
Jim Blandy
1992-12-24 06:12:04 +00:00
46a5c4874d* frame.h (struct frame): New fields can_have_scrollbars' and has_vertical_scrollbars'. (FRAME_CAN_HAVE_SCROLLBARS, FRAME_HAS_VERTICAL_SCROLLBARS): New accessors, for both the MULTI_FRAME and non-MULTI_FRAME. (VERTICAL_SCROLLBAR_WIDTH, WINDOW_VERTICAL_SCROLLBAR, WINDOW_VERTICAL_SCROLLBAR_COLUMN, WINDOW_VERTICAL_SCROLLBAR_HEIGHT): New macros. * window.h (struct window): New field vertical_scrollbar'. * xterm.h (struct x_display): vertical_scrollbars, judge_timestamp, vertical_scrollbar_extra: New fields. (struct scrollbar): New struct. (VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT, VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER, VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER, CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): New accessors and macros. * frame.c (make_frame): Initialize the can_have_scrollbars' and has_vertical_scrollbars' fields of the frame. * term.c (term_init): Note that TERMCAP terminals don't support scrollbars. (mouse_position_hook): Document new args. (set_vertical_scrollbar_hook, condemn_scrollbars_hook, redeem_scrollbar_hook, judge_scrollbars_hook): New hooks. * termhooks.h: Declare and document them. (enum scrollbar_part): New type. (struct input_event): Describe the new form of the scrollbar_click event type. Change part' from a Lisp_Object to an enum scrollbar_part. Add a new field `scrollbar'. * keyboard.c (kbd_buffer_get_event): Pass appropriate new parameters to *mouse_position_hook, and make_lispy_movement. * xfns.c (x_set_vertical_scrollbar): New function. (x_figure_window_size): Use new macros to calculate frame size. (Fx_create_frame): Note that X Windows frames do support scroll bars. Default to "yes". * xterm.c: #include <X11/cursorfont.h> and "window.h". (x_vertical_scrollbar_cursor): New variable. (x_term_init): Initialize it. (last_mouse_bar, last_mouse_bar_frame, last_mouse_part, last_mouse_scroll_range_start, last_mouse_scroll_range_end): New variables. (XTmouse_position): Use them to return scrollbar movement events. Take new arguments, for that purpose. (x_window_to_scrollbar, x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move, XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, x_scrollbar_expose, x_scrollbar_background_expose, x_scrollbar_handle_click, x_scrollbar_handle_motion): New functions to implement scrollbars. (x_term_init): Set the termhooks.h hooks to point to them. (x_set_window_size): Use new macros to calculate frame size. Set vertical_scrollbar_extra field. (x_make_frame_visible): Use the frame accessor FRAME_HAS_VERTICAL_SCROLLBARS to decide if we need to map the frame's subwindows as well. (XTread_socket): Use new size-calculation macros from xterm.h when processing ConfigureNotify events. (x_wm_set_size_hint): Use PIXEL_TO_CHAR_WIDTH and PIXEL_TO_CHAR_HEIGHT macros. * ymakefile (xdisp.o): This now depends on termhooks.h. (xterm.o): This now depends on window.h.
Jim Blandy
1992-12-24 06:07:02 +00:00
a42e972438* frame.h (struct frame): New fields can_have_scrollbars' and has_vertical_scrollbars'. (FRAME_CAN_HAVE_SCROLLBARS, FRAME_HAS_VERTICAL_SCROLLBARS): New accessors, for both the MULTI_FRAME and non-MULTI_FRAME. (VERTICAL_SCROLLBAR_WIDTH, WINDOW_VERTICAL_SCROLLBAR, WINDOW_VERTICAL_SCROLLBAR_COLUMN, WINDOW_VERTICAL_SCROLLBAR_HEIGHT): New macros. * window.h (struct window): New field vertical_scrollbar'. * xterm.h (struct x_display): vertical_scrollbars, judge_timestamp, vertical_scrollbar_extra: New fields. (struct scrollbar): New struct. (VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT, VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER, VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER, CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): New accessors and macros. * frame.c (make_frame): Initialize the can_have_scrollbars' and has_vertical_scrollbars' fields of the frame. * term.c (term_init): Note that TERMCAP terminals don't support scrollbars. (mouse_position_hook): Document new args. (set_vertical_scrollbar_hook, condemn_scrollbars_hook, redeem_scrollbar_hook, judge_scrollbars_hook): New hooks. * termhooks.h: Declare and document them. (enum scrollbar_part): New type. (struct input_event): Describe the new form of the scrollbar_click event type. Change part' from a Lisp_Object to an enum scrollbar_part. Add a new field `scrollbar'. * keyboard.c (kbd_buffer_get_event): Pass appropriate new parameters to *mouse_position_hook, and make_lispy_movement. * xfns.c (x_set_vertical_scrollbar): New function. (x_figure_window_size): Use new macros to calculate frame size. (Fx_create_frame): Note that X Windows frames do support scroll bars. Default to "yes". * xterm.c: #include <X11/cursorfont.h> and "window.h". (x_vertical_scrollbar_cursor): New variable. (x_term_init): Initialize it. (last_mouse_bar, last_mouse_bar_frame, last_mouse_part, last_mouse_scroll_range_start, last_mouse_scroll_range_end): New variables. (XTmouse_position): Use them to return scrollbar movement events. Take new arguments, for that purpose. (x_window_to_scrollbar, x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move, XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars, x_scrollbar_expose, x_scrollbar_background_expose, x_scrollbar_handle_click, x_scrollbar_handle_motion): New functions to implement scrollbars. (x_term_init): Set the termhooks.h hooks to point to them. (x_set_window_size): Use new macros to calculate frame size. Set vertical_scrollbar_extra field. (x_make_frame_visible): Use the frame accessor FRAME_HAS_VERTICAL_SCROLLBARS to decide if we need to map the frame's subwindows as well. (XTread_socket): Use new size-calculation macros from xterm.h when processing ConfigureNotify events. (x_wm_set_size_hint): Use PIXEL_TO_CHAR_WIDTH and PIXEL_TO_CHAR_HEIGHT macros. * ymakefile (xdisp.o): This now depends on termhooks.h. (xterm.o): This now depends on window.h.
Jim Blandy
1992-12-24 06:05:56 +00:00
950c26286e* dispnew.c (Fredraw_display): Use the FRAME_VISIBLE_P and FRAME_GARBAGED_P accessors. * dispnew.c (Fredraw_display): Use the FRAME_VISIBLE_P and FRAME_GARBAGED_P accessors.
Jim Blandy
1992-12-24 06:04:32 +00:00
76f590d740* buffer.c (Frename_buffer): Set update_mode_lines.
Jim Blandy
1992-12-24 06:03:20 +00:00
307436bb71* ymakefile (all, xemacs): We build an executable called emacs' now, not xemacs'. * Makefile.in (distclean, xemacs, doxemacs): Same.
Jim Blandy
1992-12-24 06:03:04 +00:00
70f5352e86* sendmail.el (mail-position-on-field): `end' is guaranteed to be at the beginning of the header separator; don't skip back to the end of the previous line.
Jim Blandy
1992-12-24 06:01:33 +00:00
13a5fb226a* rmail.el (rmail-unix-mail-delimiter): Not all time zone names end with "T". Accept any sequence of three or four alphabetic characters.
Jim Blandy
1992-12-24 06:01:02 +00:00
59f3e9a221* loadup.el: Dump under the name emacs', not xemacs'.
Jim Blandy
1992-12-24 06:00:32 +00:00
57c8389c3d* compile.el (compilation-error-regexp-alist): Tightened up BSD/GNU regexp to insist that line number end with a colon or close-paren.
Jim Blandy
1992-12-24 06:00:03 +00:00
8931ecc028* c-mode.el (c-fill-paragraph): Calculating the proper fill-prefix shouldn't change the buffer text. Make it not. If we're in the blank space before another comment, fill that one as a comment, not as normal text.
Jim Blandy
1992-12-24 05:59:00 +00:00
c87b230fa2* make-dist: Make sure that the COPYING notices in each directory are copies, not symlinks.
Jim Blandy
1992-12-24 05:57:29 +00:00
0691c17956* configure: Start with a blank line; this keeps some old CSH's from thinking it's a CSH script. Most systems will just use /bin/sh to run it, which is what we're expecting; the only other shells which might try to interpret it themselves are probably Bourne-compatible.
Jim Blandy
1992-12-24 05:56:57 +00:00
868e080d41* INSTALL: The build process produces an executable called emacs' now. Change references. * Makefile.in: Adjust install.mumble' targets to install src/emacs', not src/xemacs'.
Jim Blandy
1992-12-24 05:56:33 +00:00
4d997d08f1(visit-tags-table-buffer): Don't look in list for tags-file-name if nil.
Roland McGrath
1992-12-21 19:13:11 +00:00
b6176f6493Many comments added and docstrings fixed. (tags-table-list): Elt of nil is not special. (tags-expand-table-name): Value of nil is not special. (tags-next-table): Removed arg RESET; no caller used it. (visit-tags-table-buffer): Don't need to do tags-expand-table-name in or form. When table is invalid, only set tags-file-name to nil globally if its global value contained the losing table file name. (find-tag-tag): Return a string, not a list. (find-tag-noselect, find-tag, find-tag-other-window, find-tag-other-frame): Changed callers. (etags-recognize-tags-table): Call etags-verify-tags-table, rather than duplicating its functionality. (visit-tags-table-buffer): When CONT is 'same, set it to nil after the cond. We want the normal list frobbing to take place in this case. (find-tag-other-window): Save and restore window-point around call to find-tag-noselect.
Roland McGrath
1992-12-21 19:08:50 +00:00
a42a43055f(ignore): Use defun instead of fset to define; the byte compiler is smart enough now not to compile this trivial function into slow byte code.
Roland McGrath
1992-12-21 18:34:22 +00:00
ac21ec406a(tagsfiles): New variable. (TAGS): Depend on $(tagsfiles); use that in cmds. (tags): Separate phony rule; depends on TAGS.
Roland McGrath
1992-12-21 18:26:29 +00:00
be58fa58a9(Fcall_interactively): For `s', use Fread_string.
Richard M. Stallman
1992-12-21 05:38:25 +00:00
8c74709f51Display load-path at start.
Richard M. Stallman
1992-12-19 20:55:16 +00:00
e9fab8d3fc* frame.c (make_terminal_frame): Don't forget to set the `async_visible' flag of the new frame.
Jim Blandy
1992-12-18 10:42:10 +00:00
1a4ea60bd2*** empty log message ***
David J. MacKenzie
1992-12-15 02:35:40 +00:00
4af46de60c*** empty log message ***
Jim Blandy
1992-12-14 02:28:29 +00:00
1d650ff1bd* make-dist: Don't bother creating an arch-lib directory; that's only for installation now.
Jim Blandy
1992-12-12 15:43:12 +00:00
e94740ce87* configure: Don't make the top-level Makefile read-only - people may want to edit the values of the path variables.
Jim Blandy
1992-12-12 15:42:53 +00:00
78008d140e* Makefile.in (install, install.sysv, install.xenix, install.aix): Install the info files in ${infodir}. Install the executable under both emacs' and emacs-VERSION'.
Jim Blandy
1992-12-12 15:42:14 +00:00
fd482be5a7* window.c (Fset_window_configuration): If we're restoring the configuration of a dead frame, don't bother rebuilding its window tree, restoring its focus redirection, or temporarily resizing it to fit the saved window configuration. If the frame which was selected when the configuration was captured is now dead, don't try to select it.
Jim Blandy
1992-12-12 15:38:45 +00:00
c1dc99a185* search.c (Fskip_chars_forward, Fskip_chars_backward): Return the distance traveled. (skip_chars): Return the distance traveled, as a Lisp_Object.
Jim Blandy
1992-12-12 15:37:30 +00:00
1e30af705aGive subprocess creation a way to find a valid current directory for subprocesses when the buffer's default-directory is a handled name. * fileio.c (Funhandled_file_name_directory): New function. (Qunhandled_file_name_directory): New file-name-handler operation. (syms_of_fileio): Defsubr Sunhandled_file_name_directory, and initialize and staticpro Qunhandled_file_name_directory. * callproc.c (Fcall_process): Call Funhandled_file_name_directory on the buffer's default directory. Do it earlier in the function so there's less to GCPRO. * process.c (create_process): Don't check the validity of the buffer's default directory here... (Fstart_process): Instead, do it here; if we call Funhandled_file_name_directory here, there's less GCPROing to do.
Jim Blandy
1992-12-12 15:36:50 +00:00
e86f81cc46* macros.c (Fend_kbd_macro): Don't use XFASTINT to check if arg is negative; XFASTINT only works on values known to be positive. (Fexecute_kbd_macro): Check QUIT in the repetition loop. If the macro is null, no characters are actually being read, so this matters.
Jim Blandy
1992-12-12 15:35:41 +00:00
997bf68d0a* fileio.c (find_file_handler): Rename this to Ffind_file_name_handler, and make it visible to lisp. Add a QUIT to the loop which scans file-name-handler-alist. All uses changed. (syms_of_fileio): Mention this new function in the docstring for Vfile_name_handler_alist. defsubr Sfind_file_name_handler. * lisp.h (Ffind_file_name_handler): Added extern declaration. * dired.c: All uses of find_file_handler changed here too.
Jim Blandy
1992-12-12 15:35:12 +00:00
4a88b3b0fe* frame.c (Fdelete_frame): Delete all the windows in the frame's window tree, using delete_all_subwindows. * window.c (delete_all_subwindows): Don't make this static anymore.
Jim Blandy
1992-12-12 15:34:44 +00:00
642ef2454bGive subprocess creation a way to find a valid current directory for subprocesses when the buffer's default-directory is a handled name. * fileio.c (Funhandled_file_name_directory): New function. (Qunhandled_file_name_directory): New file-name-handler operation. (syms_of_fileio): Defsubr Sunhandled_file_name_directory, and initialize and staticpro Qunhandled_file_name_directory. * callproc.c (Fcall_process): Call Funhandled_file_name_directory on the buffer's default directory. Do it earlier in the function so there's less to GCPRO. * process.c (create_process): Don't check the validity of the buffer's default directory here... (Fstart_process): Instead, do it here; if we call Funhandled_file_name_directory here, there's less GCPROing to do.
Jim Blandy
1992-12-12 15:32:51 +00:00
58616e6755Give subprocess creation a way to find a valid current directory for subprocesses when the buffer's default-directory is a handled name. * fileio.c (Funhandled_file_name_directory): New function. (Qunhandled_file_name_directory): New file-name-handler operation. (syms_of_fileio): Defsubr Sunhandled_file_name_directory, and initialize and staticpro Qunhandled_file_name_directory. * callproc.c (Fcall_process): Call Funhandled_file_name_directory on the buffer's default directory. Do it earlier in the function so there's less to GCPRO. * process.c (create_process): Don't check the validity of the buffer's default directory here... (Fstart_process): Instead, do it here; if we call Funhandled_file_name_directory here, there's less GCPROing to do.
Jim Blandy
1992-12-12 15:31:32 +00:00
9e012fc3b7* Makefile.in (distclean): Don't delete machine.h or system.h; they don't exist anymore.
Jim Blandy
1992-12-12 15:29:40 +00:00
84128dee7b* make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes a different number of arguments than other DEFVARs, recognize it specially, and expect the right number of commas.
Jim Blandy
1992-12-12 15:25:18 +00:00
c71beb7551* Makefile.in (exec_prefix): New variable. (bindir, libdir): Use it instead of `prefix'.
Jim Blandy
1992-12-12 15:24:50 +00:00
315e49edd0* vc.el (vc-do-command): Set the default directory of the *vc* buffer to the directory containing FILE.
Jim Blandy
1992-12-12 15:22:26 +00:00
5dbfdacd20The find-file-name-handler function in ../src/fileio.c is now callable from lisp; use it instead of writing out its code. * dired-aux.el (dired-compress-file): Just that. * dired.el (dired-uncache): Just that. * files.el (file-local-copy, file-truename, file-name-sans-versions, make-directory, save-buffers-kill-emacs): Just that. * ls-lisp.el (insert-directory): Just that.
Jim Blandy
1992-12-12 15:21:45 +00:00
7114f404be* lpr.el (lpr-switches, lpr-command): Make these defvars, not defconsts.
Jim Blandy
1992-12-12 15:21:21 +00:00
9ca74466e3* ange-ftp.el (ange-ftp-unhandled-file-name-directory): New function. Set ange-ftp's `unhandled-file-name-property' to its name.
Jim Blandy
1992-12-12 15:19:13 +00:00
71715da973*** empty log message ***
Jim Blandy
1992-12-12 14:44:09 +00:00
c6b4078874*** empty log message ***
Jim Meyering
1992-12-12 02:55:16 +00:00
82a4c0084e(Info-{first,second,third,fourth,fifth}-menu-item): Removed. (Info-nth-menu-item): New function; bound to 1..9. Bind 0 to undefined, not to Info-nth-menu-item.
Roland McGrath
1992-12-09 17:30:20 +00:00
e38e736708(Info-{first,second,third,fourth,fifth}-menu-item): Removed. (Info-nth-menu-item): New function; bound to 1..9.
Roland McGrath
1992-12-09 17:28:25 +00:00
168e32e6e0*** empty log message ***
Jim Blandy
1992-12-08 00:39:49 +00:00
92e0f87a1f* sendmail.el (mail-self-blind, mail-interactive, mail-yank-ignored-headers): Make these defvars, not defconsts. Otherwise, they wipe out the user's customizations when we autoload sendmail.el.
Jim Blandy
1992-12-06 22:42:10 +00:00