1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00
Commit graph

5656 commits

Author SHA1 Message Date
Richard M. Stallman
0fef40c099 (c-fill-paragraph): Handle C++ mode. 1994-01-29 01:27:32 +00:00
Richard M. Stallman
0af6a8312e Include stdio.h.
(init_callproc): Put non-ex-dir warnings on stderr.
1994-01-29 01:16:17 +00:00
Richard M. Stallman
3917910ac2 (init_lread): Put non-ex-dir warnings on stderr. 1994-01-29 01:15:53 +00:00
Fred Pierresteguy
80fd1fe20c (x_set_window_size): Add USE_X_TOOLKIT conditional. Call EmacsFrameSetCharSize and return. 1994-01-28 17:34:46 +00:00
Fred Pierresteguy
5c94b90b10 * xterm.c (x_term_init): Cast to (char **) before assignment to argv. 1994-01-28 14:28:51 +00:00
Fred Pierresteguy
bb936752e9 * keyboard.c (make_lispy_event): Add USE_X_TOOLKIT conditional and
test FRAME_EXTERNAL_MENU_BAR.
        (map_event_to_object) [USE_X_TOOLKIT]: Declare and use it.
1994-01-27 11:01:59 +00:00
Richard M. Stallman
4466efa553 (x_set_mouse_position): Don't raise the frame. 1994-01-26 21:09:54 +00:00
Richard M. Stallman
f389294647 (mkdir): Use MKDIR_PROTOTYPE if defined. 1994-01-26 20:55:19 +00:00
Richard M. Stallman
69b7282496 [__GNUC__] (MKDIR_PROTOTYPE): Defined. 1994-01-26 20:54:23 +00:00
Richard M. Stallman
224d56a3c5 (help-for-help): Doc fix. 1994-01-26 20:14:27 +00:00
Richard M. Stallman
d189e34689 (three-step-help): New option.
(make-help-screen): Implement that option.
Handle delete function key like DEL.
Don't include the option list in the prompt when displaying
a full window of options.
1994-01-26 20:12:33 +00:00
Richard M. Stallman
5ed1243c2f (rmail-summary-undelete): If we don't undelete anything, don't move point. 1994-01-26 18:58:37 +00:00
Fred Pierresteguy
f795ed97e6 Wed Jan 26 12:23:12 1994 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
* xterm.h [USE_X_TOOLKIT]: Don't include Xaw/Box.h.
1994-01-26 17:57:30 +00:00
Fred Pierresteguy
7861472138 Wed Jan 26 12:23:12 1994 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)
* xdisp.c (update_menu_bar): Add USE_X_TOOLKIT conditional and test
	FRAME_EXTERNAL_MENU_BAR.
1994-01-26 17:35:31 +00:00
Richard M. Stallman
028922cf6a (next-line): Move error signaling and special end of
line behavior into line-move so that next-line is symmetric with
previous-line when next-line-add-newlines is nil.

(line-move): Move as far as possible and ding with a message
if the requested motion cannot be accomplished.  When
selective-display is numeric, ensure point actually moves and does
so to a visible line.
1994-01-26 17:19:32 +00:00
Richard M. Stallman
40932d1ae9 (read_key_sequence): Properly gcpro fkey_map while using keytran_map.
(syms_of_keyboard): New Lisp var command-hook-internal.
(command_loop_1): Use it when running the command hooks.

(read_key_sequence): Don't call echo_truncate the first time through.

(echo_truncate): Call truncate_echo_area.
1994-01-26 07:22:11 +00:00
Richard M. Stallman
18686d472b Find lwlib.h and xlwmenuP.h in ../lwlib.
Reshuffle functions; put new ones in #ifdef USE_X_TOOLKIT.
(Fx_popup_menu): Add USE_X_TOOLKIT conditional around new decls.

(string_width): New function.
(event_is_in_menu_item, map_event_to_object): Likewise.
(set_menu_items, free_menu_items, popup_selection_callback): Likewise.
(popup_down_callback, free_menubar_widget_value_tree): Likewise.
(update_one_frame_psheets, set_frame_menubar): Likewise.
(Fx_popup_menu, xmenu_show): Handle USE_X_TOOLKIT.

(dispatch_dummy_expose): New function.
(XMenu_xpos, XMenu_ypos): Change the values of the constant assignment.
(xmenu_show): Change the way to make the menubar to redraw itself by
generating a dummy expose event.
1994-01-26 07:20:15 +00:00
Richard M. Stallman
3afe33e7ec (x_wm_set_size_hint): Swap southeast and northwest.
(XTupdate_end): No need to test updating_frame.

(construct_mouse_click): New function, in #ifdef USE_X_TOOLKIT.
(process_expose_from_menu): Likewise.
(XTread_socket, x_set_offset, x_set_window_size): Handle USE_X_TOOLKIT.
(x_raise_frame, x_lower_frame, x_make_frame_visible): Likewise.
(x_iconify_frame, x_destroy_window, x_wm_set_window_state): Likewise.
(x_term_init): Likewise.

(x_term_init): Pass argv, argc to XtAppInitialize with the display_name value.

Include syssignal.h.


The following belongs in a previous version's log entry:

(XTread_socket): temp_buffer and temp_index deleted.
Put all vendor-specific keys into the buffer.
(x_is_vendor_fkey): Function deleted.
(XTread_socket): Don't call it.
1994-01-26 05:25:06 +00:00
Richard M. Stallman
9ef48a9dec Find lwlib.h in ../lwlib.
(store_class_hints): Function deleted.

(Fx_create_frame): Bind x-resource-name to explicit title.
(Qx_resource_name): Declared.
(syms_of_xfns): Set up Qx_resource_name.

(x_window): Fix error message.

(x_any_window_to_frame): New function.
(x_window_to_frame, x_window): Handle USE_X_TOOLKIT.
(x_set_icon_type, x_set_menu_bar_lines, x_set_name): Likewise.
(store_class_hints, hack_wm_protocols): New function.
1994-01-26 05:19:51 +00:00
Richard M. Stallman
3e285e4daa (widgetobj): New variable.
(otherobj): Use widgetobj.
(XOBJ): Undo previous change.

(LWLIB_OPTIONS): Define if not defined.
(LIBXT): New variable.
(LIBX): Use LIBXT.
(widget.o): New target.
(XOBJ) [USE_X_TOOLKIT]: Add widget.o.

(lwlibdir): New variable.
($(OLDXMENU)) [USE_X_TOOLKIT]: Alternate rule.
(OLDXMENU) [USE_X_TOOLKIT]: Alternate value.
(really-lwlib): New rule.
1994-01-26 05:10:53 +00:00
Francesco Potortì
77dc8ce528 * m/delta.h (HAVE_BCOPY): undef'd for efficiency.
(bcopy, bzero, bcmp): define'd for efficiency.
        (GAP_USE_BCOPY, BCOPY_DOWNWARD_SAFE): define'd for GHc compiler.
1994-01-25 15:04:07 +00:00
Richard M. Stallman
adae5323e7 (appt-check): Doc fix. 1994-01-25 00:09:55 +00:00
Richard M. Stallman
7c203051cd (mail-mailer-swallows-blank-line): New variable.
(sendmail-send-it): Add extra newline if appropriate.
1994-01-24 23:52:51 +00:00
Richard M. Stallman
767809fb40 (graft_intervals_into_buffer): Fix one-off
comparing lengths of over and under.
1994-01-24 17:07:28 +00:00
Francesco Potortì
407362cd3b * m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
(HAVE_XSCREENNUMBEROFSCREEN): defined if X is used.
	(LIB_X11_LIB, LIBX11_SYSTEM): override only if X is used.
	(USG_SHARED_LIBRARIES): undefine only if X is used.
1994-01-24 12:31:40 +00:00
Richard M. Stallman
27d0b45aa7 (Fconcat): Doc fix. 1994-01-23 23:23:42 +00:00
Richard M. Stallman
45449f995e *** empty log message *** 1994-01-22 23:28:43 +00:00
Roland McGrath
d317463ce3 To define USE_X_TOOLKIT, check for $USE_X_TOOLKIT being != "no", not =
"yes" (it might be "athena" or somesuch).
1994-01-22 23:18:14 +00:00
Richard M. Stallman
3797b4c3fc (Fassq, Fassoc): Doc fixes. 1994-01-22 16:14:37 +00:00
Richard M. Stallman
73d4035593 (Faset): Doc fix. 1994-01-22 16:13:30 +00:00
Richard M. Stallman
5b5861558c (appt-check): Use the new variables
appt-disp-window-function and appt-delete-window-function.
(appt-disp-window-function): New variable.
(appt-delete-window-function): New variable.
(appt-delete-window): New function.
(appt-disp-window): Don't delete the appt window here;
instead, call appt-delete-window-function.
Fixed bug that messed up the screen when appt-check ran
when mouse is in the minibuffer.
Call select-frame only if window-system.
1994-01-21 21:21:20 +00:00
Richard M. Stallman
76412d64d2 (display_menu_bar): Add USE_X_TOOLKIT conditional.
(redisplay_window) [USE_X_TOOLKIT]: Test FRAME_EXTERNAL_MENU_BAR.
(update_menu_bar) [USE_X_TOOLKIT]: Call set_frame_menubar.

(truncate_echo_area): New function.

(decode_mode_spec) [MSDOS]: Let 't' expand to 'T' for
text mode or 'B' for binary mode.
(decode_mode_spec) [not subprocesses]: Don't access Fprocess_status.
1994-01-21 20:54:57 +00:00
Richard M. Stallman
9c95189bee (struct frame): New field external_menu_bar.
(FRAME_EXTERNAL_MENU_BAR): New macro.
1994-01-21 20:43:07 +00:00
Richard M. Stallman
0be31d57f4 [USE_X_TOOLKIT]: Include StringDefs.h, IntrinsicP.h,
CoreP.h, StringDefs.h, Xaw/Box.h.
(struct x_display) [USE_X_TOOLKIT]: New fields widget, column_widget,
edit_widget, menubar_widget.
(x_any_window_to_frame) [USE_X_TOOLKIT]: Declared.
1994-01-21 20:41:49 +00:00
Richard M. Stallman
65fbf4a3eb *** empty log message *** 1994-01-21 18:45:00 +00:00
Richard M. Stallman
d97342f3aa *** empty log message *** 1994-01-21 16:52:12 +00:00
Richard M. Stallman
85de16120a (forward-paragraph): Doc fix. 1994-01-21 16:30:21 +00:00
Roland McGrath
ddd6d6137f *** empty log message *** 1994-01-21 16:22:40 +00:00
Richard M. Stallman
c6a9d2511a (with_x_toolkit): Treat values athena and lucid alike. 1994-01-21 06:37:05 +00:00
Richard M. Stallman
0f2cd61fa5 (S_ISDIR): Define if not defined.
(file_p): Use S_ISDIR.

(search_magic_path): Fix logic testing for empty path element.
1994-01-21 06:34:16 +00:00
Richard M. Stallman
f5f6a944dc (isearch-highlight): Do nothing if not window-system. 1994-01-21 04:19:19 +00:00
Richard M. Stallman
7a8e3e3024 (update_end): Clear updating_frame before calling hook. 1994-01-21 00:09:47 +00:00
Richard M. Stallman
6e710ae591 (double_dollars): New function.
(Fread_file_name_internal): Use double_dollars.
(Fread_file_name): Likewise.
1994-01-20 23:50:37 +00:00
Richard M. Stallman
364a6ae392 Doc fix. 1994-01-20 19:58:44 +00:00
Richard M. Stallman
5abb9556a4 Doc fixes. 1994-01-20 19:56:36 +00:00
Richard M. Stallman
53b7feeccb (Fprevious_property_change): Move back at least 1 char.
(Fprevious_single_property_change): Likewise.
1994-01-20 19:54:47 +00:00
Richard M. Stallman
3bf5f17a18 (enable-flow-control-on): Do nothing if no TERM. 1994-01-20 15:12:30 +00:00
Richard M. Stallman
e6faba7f61 (VOID_TO_LISP, CVOID_TO_LISP, LISP_TO_VOID, LISP_TO_CVOID): New macros.
(Vinstallation_directory): Declared.
1994-01-20 14:41:49 +00:00
Richard M. Stallman
1c4ce111de Handle --with-x-toolkit. Produce lwlib/Makefile.
Substitute USE_X_TOOLKIT as both C macro and Make variable.

If CPP has a value that is a directory, discard the value.
1994-01-20 14:39:31 +00:00
Richard M. Stallman
ee18da5873 (make-help-screen): Use overriding-local-map.
Recognize C-v and M-v properly.
Compute help-screen after changing the map.
1994-01-20 14:27:51 +00:00