1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-21 06:11:50 -07:00
Commit graph

13173 commits

Author SHA1 Message Date
Roland McGrath
cc6d6e586d (put_entries): For NODE->rewritten, put pattern before \177 and name after,
not vice versa.
1993-08-01 22:13:54 +00:00
Paul Eggert
c5eeaf525f (pick-random): Remove.
All callers changed to use `random' instead.
1993-08-01 20:50:07 +00:00
Paul Eggert
82305cbd4d (dissociated-press): Use `(random N)' instead of while loop. 1993-08-01 20:50:07 +00:00
Paul Eggert
93cc044bd6 (dun-endgame-question, tcom, tloc):
Use (random N) instead of combination of %, abs and random.
1993-08-01 20:50:07 +00:00
Paul Eggert
f7e55318b4 (random-number): Remove.
All callers changed to use `random' instead.
1993-08-01 20:50:07 +00:00
Paul Eggert
6b6d5edf69 (life-insert-random-pattern): Simplify (% (abs (random)) N)
to (random N).
1993-08-01 20:50:07 +00:00
Paul Eggert
c9575b25ac (mpuz-random): Remove.
All callers changed to use `random' instead.
1993-08-01 20:50:07 +00:00
Paul Eggert
e00fcc05ec (emerge-default-[AB]): Use (zerop (% A B)) instead of
(= (* (/ A B) B) A).
1993-08-01 20:48:43 +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
7f3e80e3b4 Installed the version from the Texinfo package. 1993-08-01 12:23:22 +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
1d673d85da (dired-sort-mode): Variable deleted.
Don't display it in mode line.
(dired-sort-set-modeline): Set mode-name instead.
1993-08-01 11:55:12 +00:00
Richard M. Stallman
ec11639d93 Doc fix. 1993-08-01 08:42:46 +00:00
Richard M. Stallman
4d09905307 (main): Generate a SIGIO as soon as we've initialized. 1993-08-01 07:45:35 +00:00
Richard M. Stallman
a5024e2ace (visit-tags-table-buffer): New local named
visit-tags-table-buffer-cont copies cont.
(tags-table-including): Set that, instead of cont.
1993-08-01 07:09:22 +00:00
Richard M. Stallman
280a6a9f18 Version 2.7 from stig. 1993-08-01 06:26:18 +00:00
Richard M. Stallman
cf3623c64c (etags-goto-tag-location): Handle selective display. 1993-08-01 06:04:06 +00:00
Richard M. Stallman
b70af8d72f (indent-c-exp): Don't move an { from column 0. 1993-08-01 05:17:42 +00:00
Richard M. Stallman
e865c5cea7 Fix doc strings and error message syntax.
Add menu bar items.
(tar-subfile-mode): Set a local-write-file-hook
rather than using key bindings.
(tar-subfile-save-buffer): Return t.
1993-07-31 22:35:20 +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
964141f289 (change-log-mode): Use \f for formfeed, to avoid syntax error. 1993-07-31 18:41:53 +00:00
Richard M. Stallman
d49b6338aa (isearch-done): Move point (for small window)
before deciding whether to set the mark.
1993-07-31 18:39:09 +00:00
Richard M. Stallman
ea1ebaed7a (Man-section-translations-alist): Add entries for xlib. 1993-07-31 18:34:04 +00:00
Richard M. Stallman
3eedeb851b (Man-build-references-alist): When setting word,
use only what Man-reference-regexp matched.
(Man-reference-regexp): Don't match starting with a period.
(Man-first-heading-regexp): Allow leading space.
(Man-heading-regexp): Allow leading space.
1993-07-31 18:32:04 +00:00
Richard M. Stallman
bbd93e4129 (validate-tex-buffer): Record mismatches in *Occur*. 1993-07-31 07:33:02 +00:00
Richard M. Stallman
2943f983f2 (basic-save-buffer): When we read a file name,
use set-visited-file-name to put it in.
1993-07-31 06:40:04 +00:00
Richard M. Stallman
009ef4024d (shell-command-history): New variable.
(shell-command, shell-command-on-region): Use it.
1993-07-31 06:10:44 +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
Richard M. Stallman
49e61c4267 (mouse-choose-completion): Actually choose that alternative,
don't just insert its name.
1993-07-31 05:31:58 +00:00
Jim Blandy
8686888e2c * configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
and #define HAVE_AIX_SMT_EXP if we do.  This is present in some
versions of AIX, and needs to be passed to the loader.
1993-07-31 01:40:35 +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
9b7cd36694 * configure.in: Test for the availablility of the
XScreenResourceString function.
1993-07-31 01:34: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
Richard M. Stallman
3eb217a0b3 (shrink-window-if-larger-than-buffer): Do nothing if the
window is the only window of its frame.  If the buffer ends in newline
and point is not at the end of the buffer, don't display last (empty) line.
1993-07-31 01:08:48 +00:00
Jim Blandy
f5ad956022 * configure.in: Test for availability of bcopy functions, searching
the X libraries if we're using X.
1993-07-31 01:07:38 +00:00
Richard M. Stallman
4c2d8cf9b5 (vc-shrink-to-fit): Deleted. All callers changed to use
the new, fixed `shrink-window-if-larger-than-buffer' instead.
In some places move it after a (goto-char (point-min)).
1993-07-31 01:05:33 +00:00
Jim Blandy
825e4ec2b9 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
LD_SWITCH_X_SITE and assume --with-x11.
Only look for X11 files if we weren't told about a window system
or if we were told to use X11 but not told where.
Search the libraries from the s and/or m files when checking for
functions.

* configure.in: Remove any trailing slashes in prefix and exec_prefix.
1993-07-31 00:55:39 +00:00
Jim Blandy
0cffbbb992 * frame.el (frame-notice-user-settings): If we had to create a new
frame in order to obey initial-frame-alist, use delete-frame's
FORCE argument to get rid of the old frame even if the new one
hasn't been mapped yet.
1993-07-31 00:21:33 +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
Jim Blandy
304188d616 * gud.el (gud-gdb-marker-filter): Preserve the match data across
the filter's execution.

* gud.el (gud-gdb-marker-filter): If we received some text after
the position marker, append it to any text before the marker,
instead of throwing away the text before the marker.
1993-07-30 22:43:39 +00:00