1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 13:40:36 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Richard M. Stallman
41f54422a4 (mark_object): Declare ptr volatile, or don't use it
after a recursive call.  Delete the aborts if ptr is clobbered.
1993-08-08 23:19:24 +00:00
Richard M. Stallman
2224a5fc74 (struct font_info): New structure.
(x_font_table): Use struct font_info as elements.
(x_new_font): Corresponding changes.
Use XListFonts, not XListFontsWithInfo.
Use XFreeFontNames, not XFreeFontInfo.
Compare fonts by name, not by fid.
If already_loaded is 0, that counts as "yes".
1993-08-08 22:38:31 +00:00
Richard M. Stallman
6f5d1a4f52 Don't put -q in args.
Don't unset TERM and TERMCAP--show them instead.
1993-08-08 07:41:41 +00:00
Richard M. Stallman
651c847c8f (HAVE_VFORK): Defined. 1993-08-08 06:55:45 +00:00
Richard M. Stallman
ace40a6918 (Vinvocation_directory): New var.
(init_cmdargs): Set up its value.
(Finvocation_directory): New function.
(main): Call init_buffer, init_callproc and init_cmdargs
before init_lread.
(syms_of_emacs): Install the function, and protect the variable.
1993-08-08 06:23:21 +00:00
Richard M. Stallman
ddc61f4653 (expand_and_dir_to_file): Use Fdirectory_file_name. 1993-08-08 05:17:22 +00:00
Richard M. Stallman
80667d531d (init_lread): Normally put Vinvocation_directory
at end of Vload_path, if not present already.
1993-08-08 05:01:06 +00:00
Richard M. Stallman
b30b24cbc3 (x_term_init): Set the hooks before we call Fset_input_mode. 1993-08-06 23:37:41 +00:00
Richard M. Stallman
fe8aeef3c3 (set_poll_suppress_count): New function. 1993-08-06 22:45:22 +00:00
Richard M. Stallman
1cdc315501 (unwind_to_catch): Call set_poll_suppress_count. 1993-08-06 22:44:00 +00:00
Richard M. Stallman
34f04431e2 (Fset_input_mode): Start polling, if appropriate.
At the beginning, stop polling.
Remove period from error message.
(stop_polling, start_polling): Check for interrupt_input.
(POLL_FOR_INPUT): Define whether or not target supports SIGIO.
1993-08-06 21:17:16 +00:00
Richard M. Stallman
69b4bf37c4 Total rewrite; includes ibmps2-aix.h. 1993-08-06 01:01:53 +00:00
Richard M. Stallman
76c2b0cc7d (do_autoload): Don't report autoload failure
if the autoload definition now is a different one.
1993-08-05 21:21:27 +00:00
Richard M. Stallman
b921eae6ab (SYSTEM_TYPE): Don't redefine it here. 1993-08-05 21:03:28 +00:00
Richard M. Stallman
af50f9e585 Doc fix. 1993-08-05 17:38:20 +00:00
Richard M. Stallman
0ce830bc26 (Fyes_or_no_p): Use Qyes_or_no_p_history.
(syms_of_fns): Set up Qyes_or_no_p_history.
1993-08-05 01:51:54 +00:00
Richard M. Stallman
298b760ea5 (expand_and_dir_to_file): Remove final / by copying abspath. 1993-08-04 22:51:22 +00:00
Richard M. Stallman
cefeb3a98d [BSD4_3] (HAVE_FTIME): Defined. 1993-08-04 04:18:32 +00:00
Richard M. Stallman
aa29f9b923 (Frem): Don't accept floats, just ints and markers. 1993-08-04 04:17:08 +00:00
Richard M. Stallman
df208aafdb (CRT0_COMPILE): Add -O and -Demacs. 1993-08-03 18:23:39 +00:00
Jim Blandy
e3a7436e6f Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
* 7300.h [__GNUC__]: #define HAVE_ALLOCA.
[not __GNUC__]: #define SWITCH_ENUM_BUG, C_ALLOCA, and STACK_DIRECTION.
(HAVE_SYSVIPC, USE_UTIME): #define these.
(memmove): We don't have this; call safe_bcopy.
(CRT0_COMPILE): #define this, so we always use the system's cc.
* config.h.in: Add #undefs for HAVE_MKDIR and HAVE_RMDIR, for
configure to edit.
* sysdep.c [not HAVE_MKDIR] (mkdir): New function, taken from tar,
for use on systems lacking the mkdir function.
[not HAVE_RMDIR] (rmdir): New function, taken from tar, for use on
systems lacking the rmdir function.
* ymakefile (crt0.o): Replace the compiler and switches with the
symbol CRT0_COMPILE.
(CRT0_COMPILE): If the system and machine description files have
left this undefined, then define it to do the same as the old
crt0.o rule used to.
1993-08-03 07:28:04 +00:00
Jim Blandy
23524fb950 * config.h.in: Add #undefs for HAVE_MKDIR and HAVE_RMDIR, for
configure to edit.
* sysdep.c [not HAVE_MKDIR] (mkdir): New function, taken from tar,
for use on systems lacking the mkdir function.
[not HAVE_RMDIR] (rmdir): New function, taken from tar, for use on
systems lacking the rmdir function.
1993-08-03 07:02:38 +00:00
Richard M. Stallman
2f1895276f Don't mention dir `s/' in #include. 1993-08-03 04:30:43 +00:00
Richard M. Stallman
0e18d8ef78 (vfork): Move this outside the USG conditional. 1993-08-03 02:40:31 +00:00
Roland McGrath
ef2c57aca0 (Fprevious_frame): New function, for parity with Fnext_frame.
(syms_of_frame): Add defsubr for Sprevious_frame.
1993-08-02 22:16:09 +00:00
Jim Blandy
db6f348c69 * xdisp.c (display_menu_bar): Redisplay all lines occupied by the
menu bar, not just the first.
1993-08-02 21:19:23 +00:00
Roland McGrath
f870f3fefd *** empty log message *** 1993-08-02 20:48:12 +00:00
Richard M. Stallman
ef58099133 (save_excursion_restore): Never make the buffer visible. 1993-08-02 07:58:13 +00:00
Richard M. Stallman
2e864a763b (read_key_sequence): Use XFASTINT to convert value
of Flength to an int.
1993-08-02 07:29:53 +00:00
Richard M. Stallman
be8b1c6b25 (Fmove_overlay): Avoid initializer for Lisp_Object vars.
(verify_overlay_modification): Declare ostart, oend as Lisp_Object.
1993-08-02 07:28:31 +00:00
Richard M. Stallman
4524cb1c30 (Fset_frame_position): Doc fix. 1993-08-02 05:54:55 +00:00
Roland McGrath
04402ae3dc *** empty log message *** 1993-08-01 23:03:26 +00:00
Roland McGrath
db6730c7ad *** empty log message *** 1993-08-01 20:39:38 +00:00
Richard M. Stallman
559f9d0405 (last_mouse_button): Renamed from button_up_button.
(last_mouse_x, last_mouse_y): Likewise.
(button_down_time): Replaces button_up_time.
(make_lispy_event): Set button_down_time.
Detect and report double-down and double-drag events.
(apply_modifiers_uncached): Put `double' or `triple' first.
(read_key_sequence): Convert unbound double-drag/down to drag/down.
1993-08-01 18:48:20 +00:00
Richard M. Stallman
57d8d46819 (Finsert_file_contents): Don't call prepare_to_modify_buffer
if inserting zero characters.
1993-08-01 12:19:11 +00:00
Richard M. Stallman
ec11639d93 Doc fix. 1993-08-01 08:42:46 +00:00
Richard M. Stallman
b0a0fbdac8 (try_window): Handle invisible newline at end of buffer.
(display_text_line): Don't display invisible text.
1993-07-31 22:00:33 +00:00
Richard M. Stallman
5a05d3d297 (compute_motion): Compute correctly for invisible text.
(vmotion): Take care of invisible newlines.

(Fmove_to_column): After we split a tab, make sure
to set last_known... consistently.
1993-07-31 21:59:42 +00:00
Richard M. Stallman
d169fe39da (direct_output_for_insert): Fail if character
just inserted has text properties.
(direct_ouput_forward_char): Fail if moving near invisible chars.
1993-07-31 21:58:45 +00:00
Richard M. Stallman
7ce503fdda (adjust_intervals_for_insertion): Handle insertion
between two unlike intervals via merge_properties_sticky.
(merge_properties_sticky): New function.
(graft_intervals_into_buffer): Leave handling of `sticky'-ness to
adjust_intervals_for_insertion, then merge properties of the
inserted text onto the old ones.
(textget_direct): New function.
(set_point): Fix calculating of fromprev.
(verify_interval_modification): Check for `read-only' property
and take its `sticky'-ness into account.

(set_point): Ignore `invisible' property unless property value is `hidden'.
1993-07-31 21:58:03 +00:00
Richard M. Stallman
58943db006 (MERGE_INSERTIONS): Define as 1.
(FRONT_STICKY): Add real definition.
(END_NONSTICKY): New macro.
(END_STICKY): Deleted.
(textget_direct, Qfront_sticky, Qrear_nonsticky): Declared.

(Qhidden): Declared.
1993-07-31 21:55:38 +00:00
Richard M. Stallman
19e1c4260a (Qfront_sticky, Qrear_nonsticky): New variables.
(syms_of_textprop): Set them up.

(Qhidden): New variable.
(syms_of_textprop): Set up Qhidden.

(property_change_between_p): New function.
1993-07-31 21:54:10 +00:00
Richard M. Stallman
2f65feb682 (prop_location_identifier): Was named prop_location_tick.
(property_change_reply_identifier): Renamed from ...-tick.
(struct prop_location): Field `identifier' renamed from `tick'.
Various functions changed accordingly.
(x_handle_selection_request): Delete local struct var `reply'.

(wait_for_property_change_unwind): New function.
(wait_for_property_change): Add unwind protect.

(wait_for_property_change): Eventually time out with error.
(x_reply_selection_request): XFlushQueue and UNBLOCK_INPUT
before calling wait_for_property_change.
(x_get_window_property): Simplify input blocking/unblocking.
Don't delete the property here.
(receive_incremental_selection): Delete property here.
Call XSelectInput to enable and disable PropertyChangeMask.
(x_get_window_property_as_lisp_data): And here.
1993-07-31 05:55:52 +00:00
Richard M. Stallman
7c011261b7 (Fnewline): Disable the "insert one position before"
optimization if it would screw up text property behavior.
1993-07-31 05:53:23 +00:00
Jim Blandy
b84b186a3a * config.h.in (HAVE_AIX_SMT_EXP): New #undef for configure to edit.
* m/ibmrs6000.h (LD_SWITCH_MACHINE): Don't mention
/usr/lpp/X11/bin/smt.exp unless HAVE_AIX_SMT_EXP is #defined.
1993-07-31 01:39:30 +00:00
Jim Blandy
f5db3b940f * xfns.c (Fx_open_connection): Test the CPP symbol
HAVE_XRMSETDATABASE to decide whether or not to call
XrmSetDatabase.
1993-07-31 01:32:23 +00:00
Jim Blandy
d8717d1508 * config.h.in (HAVE_XSCREENRESOURCESTRING): New #undef for
configure to edit.
* xrdb.c (get_user_db): Test it to decide whether or not to try to
retrieve the screen-dependent resources.
1993-07-31 01:31:46 +00:00
Jim Blandy
1f88d61ef5 * config.h.in (HAVE_BCOPY): Add an #undef for this.
(BSTRING): #define this iff HAVE_BCOPY is #defined here.  Ignore what
the system-description files say.  They don't always make fine
enough distinctions between systems, and sometimes the bcopy
routines are available only with X windows.
1993-07-31 01:21:21 +00:00
Jim Blandy
7b3de0eaf9 * xfns.c (x_set_background_color): Change the foreground color of
the cursor, too.
1993-07-30 23:12:25 +00:00
Richard M. Stallman
f5ff08b04f (syms_of_editfns): Just staticpro Vuser...name
and Vsystem_name; don't make them Lisp variables.
1993-07-30 22:48:30 +00:00