1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00
Commit graph

1919 commits

Author SHA1 Message Date
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
Roland McGrath
bac7913ae4 Initial revision 1993-07-30 22:30:50 +00:00
Roland McGrath
22ddf25060 *** empty log message *** 1993-07-30 03:20:49 +00:00
Jim Blandy
d859c2cb93 * xfns.c (syms_of_xfns): Don't staticpro Vx_resource_name;
DEFVAR_LISP takes care of that, and it's deadly to staticpro a
variable containing a string twice.
1993-07-30 03:17:18 +00:00
Jim Blandy
628df3bfd9 * window.c (check_frame_size): Include the menu bar height in the
minimum frame height.
1993-07-30 01:48:19 +00:00
Richard M. Stallman
60bf8ee426 (Fdelete_frame): New arg FORCE allows deletion of last non-invisible frame.
(Fdelete_frame): Allow deletion if there is some other
visible (perhaps iconified) frame.  Also allow deleting terminal frame
if there are X frames.
1993-07-29 06:34:03 +00:00
Richard M. Stallman
5cb70bb5ad (bzero, bcmp, bcopy): New macros.
(LIB_STANDARD): Don't include libucb.a.
1993-07-29 04:12:41 +00:00
Richard M. Stallman
af7dc6c738 File removed. 1993-07-29 02:36:54 +00:00
Roland McGrath
16ae08a92a (syms_of_xfns): Use DEFVAR_LISP, not DEFVAR_INT, for Vx_pointer_shape. 1993-07-29 00:25:38 +00:00
Jim Blandy
c1f4f81aec * hpux9.h: Doc fix. 1993-07-28 18:57:47 +00:00
Jim Blandy
869fcb701c * s/hpux9.h: Doc fix. 1993-07-28 18:12:35 +00:00
Richard M. Stallman
6cbc22ed96 (wait_reading_process_input): Undo last two changes:
when wait_for_cell, do not check the keyboard.
1993-07-28 08:19:30 +00:00
Richard M. Stallman
a5fd213fe1 (make_hdr): Use & in call to bzero. 1993-07-28 08:18:09 +00:00
Richard M. Stallman
a646e5200b (command_loop_1): Call Qrecompute_lucid_menubar only if defined. 1993-07-27 22:49:05 +00:00
Richard M. Stallman
c6e5e6e083 entered into RCS 1993-07-27 20:21:14 +00:00