1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-14 11:42:29 -08:00
Commit graph

3859 commits

Author SHA1 Message Date
Jim Blandy
d02e05d1ff * configure.in: Add --verbose flag. 1993-06-24 01:52:49 +00:00
Jim Blandy
ac2e902d45 (hexl-in-save-buffer): New flag.
(hexl-save-buffer): Prevent infinite recursion.
1993-06-24 01:48:59 +00:00
Jim Blandy
31ea78fd30 * xterm.c (XTread_socket): Remove #if 0''s around code which tests
for dropped connection (i.e. sigio but no events).
1993-06-24 01:34:33 +00:00
Jim Blandy
878a082725 * term/x-win.el (command-switch-alist): "-ib" takes a numeric
argument; use x-handle-numeric-switch for it.
1993-06-22 08:30:36 +00:00
Jim Blandy
5c1538928e * commands.h (Vglobal_mouse_map): Removed; unused.
* xfns.c (Vglobal_mouse_map): Same.
1993-06-22 08:17:56 +00:00
Jim Blandy
7e6992e06e * keyboard.c (menu_bar_items, read_key_sequence): Use
current_global_map, not global_map; the latter is only meant to be
	used for initial_define_key.
	* commands.h: Doc fix.
1993-06-22 08:17:36 +00:00
Jim Blandy
6ce387e698 * keyboard.c (menu_bar_items, read_key_sequence): Use
current_global_map, not global_map; the latter is only meant to be
	used for initial_define_key.
	* commands.h: Doc fix.

	* commands.h (Vglobal_mouse_map): Removed; unused.
	* xfns.c (Vglobal_mouse_map): Same.
1993-06-22 08:17:26 +00:00
Jim Blandy
384c7da487 * replace.el (query-replace-map): Fix typo in binding for [return]. 1993-06-22 08:12:10 +00:00
Jim Blandy
718cde7d8e * buffer.c (list_buffers_1): Make desired_point a lisp object; set
it to nil, unless we find the current buffer.
	(Flist_buffers): Don't try to set point in the buffer list unless
	list_buffers_1 actually returns an integer.  Don't use a full
	save_excursion; just save and restore the buffer.
1993-06-22 07:39:26 +00:00
Jim Blandy
28f7279833 Separate parameter faces (those created and modified by the user)
from the computed faces (the combinations created by
	compute_char_face), so that we don't waste global face id's.
	* xterm.h (struct x_display): Replace the fields faces and n_faces
	with fields param_faces, n_param_faces, computed_faces,
	n_computed_faces, and size_computed_faces.
	(FRAME_FACES, FRAME_N_FACES): Replaced by...
	(FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES,
	FRAME_N_PARAM_FACES): New macros.
	* xfaces.c: Doc fixes.
	(init_frame_faces): Call new_computed_face to create entries for
	the default and mode line faces.  Use the FRAME...PARAM_FACES
	macros.
	(free_frame_faces): Use the FRAME...PARAM_FACES and
	FRAME...COMPUTED_FACES macros.  Don't use the copy flag; all
	parameter faces have real X resources, and all computed faces just
	have copies.  Free both the parameter and computed face arrays.
	(new_computed_face): New function.
	(intern_computed_face): Renamed from intern_frame_face; callers
	changed.  Call new_computed_face.
	(ensure_face_ready, compute_char_face, compute_glyph_face): Use the
	FRAME...PARAM_FACES macros.
	(recompute_basic_faces): Use the FRAME...PARAM_FACES and
	FRAME...COMPUTED_FACES macros.  Produce the computed faces by
	starting with the base faces and merging in the parameter faces.
	(Fset_face_attribute_internal): Use the FRAME...PARAM_FACES
	macros.  Just call recompute_basic_faces if the default or mode
	line faces have changed.
	* xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros.
	* xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros.
	* dispextern.h (struct face): Remove the copy member.  This is no
	longer necessary; all computed faces are copies, and no parameter
	faces are.
1993-06-22 07:26:44 +00:00
Jim Blandy
7b00de84fd Separate parameter faces (those created and modified by the user)
from the computed faces (the combinations created by
	compute_char_face), so that we don't waste global face id's.
	* xterm.h (struct x_display): Replace the fields faces and n_faces
	with fields param_faces, n_param_faces, computed_faces,
	n_computed_faces, and size_computed_faces.
	(FRAME_FACES, FRAME_N_FACES): Replaced by...
	(FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES,
	FRAME_N_PARAM_FACES): New macros.
	* xfaces.c: Doc fixes.
	(init_frame_faces): Call new_computed_face to create entries for
	the default and mode line faces.  Use the FRAME...PARAM_FACES
	macros.
	(free_frame_faces): Use the FRAME...PARAM_FACES and
	FRAME...COMPUTED_FACES macros.  Don't use the copy flag; all
	parameter faces have real X resources, and all computed faces just
	have copies.  Free both the parameter and computed face arrays.
	(new_computed_face): New function.
	(intern_computed_face): Renamed from intern_frame_face; callers
	changed.  Call new_computed_face.
	(ensure_face_ready, compute_char_face, compute_glyph_face): Use the
	FRAME...PARAM_FACES macros.
	(recompute_basic_faces): Use the FRAME...PARAM_FACES and
	FRAME...COMPUTED_FACES macros.  Produce the computed faces by
	starting with the base faces and merging in the parameter faces.
	(Fset_face_attribute_internal): Use the FRAME...PARAM_FACES
	macros.  Just call recompute_basic_faces if the default or mode
	line faces have changed.
	* xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros.
	* xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros.
	* dispextern.h (struct face): Remove the copy member.  This is no
	longer necessary; all computed faces are copies, and no parameter
	faces are.

	* xfaces.c (face_vector, nfaces, nfaces_allocated): Make these
	static.
1993-06-22 07:25:42 +00:00
Jim Blandy
a081bd3724 Separate parameter faces (those created and modified by the user)
from the computed faces (the combinations created by
	compute_char_face), so that we don't waste global face id's.
	* xterm.h (struct x_display): Replace the fields faces and n_faces
	with fields param_faces, n_param_faces, computed_faces,
	n_computed_faces, and size_computed_faces.
	(FRAME_FACES, FRAME_N_FACES): Replaced by...
	(FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES,
	FRAME_N_PARAM_FACES): New macros.
	* xfaces.c: Doc fixes.
	(init_frame_faces): Call new_computed_face to create entries for
	the default and mode line faces.  Use the FRAME...PARAM_FACES
	macros.
	(free_frame_faces): Use the FRAME...PARAM_FACES and
	FRAME...COMPUTED_FACES macros.  Don't use the copy flag; all
	parameter faces have real X resources, and all computed faces just
	have copies.  Free both the parameter and computed face arrays.
	(new_computed_face): New function.
	(intern_computed_face): Renamed from intern_frame_face; callers
	changed.  Call new_computed_face.
	(ensure_face_ready, compute_char_face, compute_glyph_face): Use the
	FRAME...PARAM_FACES macros.
	(recompute_basic_faces): Use the FRAME...PARAM_FACES and
	FRAME...COMPUTED_FACES macros.  Produce the computed faces by
	starting with the base faces and merging in the parameter faces.
	(Fset_face_attribute_internal): Use the FRAME...PARAM_FACES
	macros.  Just call recompute_basic_faces if the default or mode
	line faces have changed.
	* xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros.
	* xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros.
	* dispextern.h (struct face): Remove the copy member.  This is no
	longer necessary; all computed faces are copies, and no parameter
	faces are.

	* xfns.c (Fx_open_connection): Remember to block input while
	calling x_load_resources.
	* xrdb.c: Undo change of June 19th; it was a BLOCK_INPUT problem,
	not a server-specific bug.
1993-06-22 07:25:11 +00:00
Jim Blandy
85f26be98d * xdisp.c (redisplay_window): Remember to compute end relative to
the start of the visible region, too.
1993-06-22 06:59:07 +00:00
Richard M. Stallman
e45fce0359 (rmail-summary-mode-map): Bind summary sort commands.
(rmail-summary-sort-...): Moved from rmailsort.el.
(rmail-sort-from-summary): Likewise.  Require rmailsort.
1993-06-22 05:55:59 +00:00
Richard M. Stallman
8b1d5b3126 Don't touch rmail-summary-mode-map.
Don't touch rmail-mode-map.  Don't require rmail or sort.
(rmail-summary-sort-...): Moved to rmailsum.el.
(rmail-sort-from-summary): Likewise.
1993-06-22 05:55:41 +00:00
Richard M. Stallman
3bf526cfc6 Add autoloads for rmailsort commands.
(rmail-mode-map): Add bindings for those commands.
1993-06-22 05:55:22 +00:00
Jim Blandy
4348b379b1 * Makefile.in (ctags): Depend on etags, so that parallel makes
don't write etags.o files on top of each other.
1993-06-22 03:58:05 +00:00
Jim Blandy
aead2f9fa6 * compile.el (compile-file-of-error): Remember that
compilation-error-list stores file names as strings, not as (DIR .
	FILE) pairs.
1993-06-22 03:54:25 +00:00
Jim Blandy
929cc9de2d * diff.el (diff-parse-differences): Preserve the match data
across the call to find-file-noselect.
1993-06-22 03:50:08 +00:00
Jim Blandy
fdce0b3948 * xrdb.c (get_user_db): Remember to free the screen-local resource
string after we've merged its data into db.
1993-06-22 03:44:28 +00:00
Jim Blandy
3e03d7c74e * cal-dst.el: New file.
(calendar-/, calendar-%, calendar-absolute-from-time,
        calendar-time-from-absolute, calendar-next-time-zone-transition,
        calendar-time-zone-daylight-rules): New functions.
        (calendar-current-time-zone): Moved from calendar.el and rewritten.
        (calendar-current-time-zone-cache): New variable.
        (calendar-current-time-zone, calendar-time-zone,
        calendar-daylight-time-offset, calendar-standard-time-zone-name,
        calendar-daylight-time-zone-name,
        calendar-daylight-savings-starts, calendar-daylight-savings-ends,
        calendar-daylight-savings-switchover-time): Moved from calendar.el.
1993-06-22 03:25:13 +00:00
Jim Blandy
80e48f9fa8 * lunar.el (lunar-phase): Use time conversion from solar.el 1993-06-22 03:24:44 +00:00
Jim Blandy
8ec105a066 * holidays.el (calendar-holiday-function-fixed,
calendar-holiday-function-float, calendar-holiday-function-julian,
        calendar-holiday-function-islamic,
        calendar-holiday-function-hebrew, calendar-holiday-function-sexp,
        calendar-holiday-function-advent,
        calendar-holiday-function-easter-etc,
        calendar-holiday-function-greek-orthodox-easter,
        calendar-holiday-function-rosh-hashanah-etc,
        calendar-holiday-function-hanukkah,
        calendar-holiday-function-passover-etc,
        calendar-holiday-function-tisha-b-av-etc): Renamed without words
        "calendar" and "function"; changed argument from a list of values to
        individual values.  Fixed doc strings.
        (calendar-holiday-function-if): Removed.
        (calendar-holiday-solar-equinoxes-solstices): Renamed
        solar-equinoxes-solstices.
        (calendar-holiday-list): Rewrote to accomodate the name changes
        above and the unquoting of calendar-holidays.
        (calendar-cursor-holidays):  Change screen-width to frame-width.
        (holiday-sexp): Rewritten.
1993-06-22 03:24:23 +00:00
Jim Blandy
c6b6c929dc * cal-mayan.el (calendar-mayan-days-before-absolute-zero,
calendar-mayan-haab-difference, calendar-mayan-tzolkin-difference,
        calendar-mayan-tzolkin-haab-on-or-before,
        calendar-previous-calendar-round-date,
        calendar-absolute-from-mayan-long-count,
        calendar-print-mayan-date): Fix doc strings.
1993-06-22 03:23:59 +00:00
Jim Blandy
44e9df9abc * diary-ins.el (insert-cyclic-diary-entry): Fix date form. 1993-06-22 03:23:38 +00:00
Jim Blandy
1bd410e56e * diary.el (list-sexp-diary-entries,
hebrew-calendar-year-Saturday-incomplete-Sunday,
        hebrew-calendar-year-Monday-incomplete-Tuesday,
        hebrew-calendar-year-Tuesday-regular-Thursday,
        hebrew-calendar-year-Thursday-complete-Sunday,
        hebrew-calendar-year-Saturday-complete-Thursday,
        hebrew-calendar-year-Monday-complete-Saturday,
        hebrew-calendar-year-Thursday-incomplete-Sunday): Fix doc strings.
        (diary-sexp-entry): Use calendar-sexp-debug to turn off error catching.
1993-06-22 03:23:14 +00:00
Jim Blandy
a92ade89ed * solar.el (calendar-holiday-solar-equinoxes-solstices): Renamed
solar-equinoxes-solstices.
        (calendar-time-display-form, calendar-latitude,
        calendar-longitude): Moved from calendar.el.
        (calendar-time-zone, calendar-standard-time-zone-name,
        calendar-daylight-time-zone-name,
        calendar-daylight-savings-starts, calendar-daylight-savings-ends):
        Take default values from calendar-current-time-zone, instead of
        being overwritten in open code if they were set to nil.
        (solar-time-string): Subtract calendar-daylight-time-offset when
        computing dst-ends.  Avoid rounding errors when rounding time to
        the nearest minute.
1993-06-22 03:22:40 +00:00
Jim Blandy
354d06443e * calendar.el (calendar-version): Update to 5.1. Fixed a variety
of spelling error in comments and doc strings.
        (calendar-sexp-debug): New variable to turn off error catching.
	(calendar-absolute-from-gregorian): Removed unused vars month, day.
        (view-calendar-holidays-initially, all-hebrew-calendar-holidays,
        all-christian-calendar-holidays, all-christian-islamic-holidays,
        diary-nonmarking-symbol, hebrew-diary-entry-symbol,
        islamic-diary-entry-symbol, diary-include-string,
        abbreviated-calendar-year, european-calendar-style,
        european-calendar-display-form, american-calendar-display-form,
        calendar-date-display-form, print-diary-entries-hook,
        list-diary-entries-hook, nongregorian-diary-listing-hook,
        nongregorian-diary-marking-hook, diary-list-include-blanks,
        holidays-in-diary-buffer, general-holidays,
        increment-calendar-month, calendar-sum, calendar-string-spread,
        calendar-absolute-from-iso, calendar-print-iso-date,
        hebrew-calendar-elapsed-days, list-yahrzeit-dates,
        calendar-print-astro-day-number): Fix doc strings.
        (calendar-nth-named-day): Rewritten to include optional day of month.
        (general-holidays, calendar-holidays, hebrew-holidays,
        christian-holidays, islamic-holidays,
        solar-holidays): Rewritten to include require of cal-dst.el and to
        show the time of the change to/from daylight savings time.
        (calendar-current-time-zone, calendar-time-zone,
        calendar-daylight-time-offset, calendar-standard-time-zone-name,
        calendar-daylight-time-zone-name, calendar-daylight-savings-starts,
        calendar-daylight-savings-ends,
        calendar-daylight-savings-switchover-time): Moved to cal-dst.el.
        (calendar-location-name, calendar-time-display-form, calendar-latitude,
        calendar-longitude): Moved to solar.el.
        (calendar-holidays): Unquote it!
1993-06-22 03:22:12 +00:00
Richard M. Stallman
aac180a7b1 (rmail-mode): Move to the last message. 1993-06-22 02:51:26 +00:00
Richard M. Stallman
5201dddabb (rmail-mode-map): Add local menu bar bindings.
(rmail-search-backward): New command.
1993-06-22 02:25:20 +00:00
Richard M. Stallman
e7a00c2598 (rmail-summary-mode-map): Add local menu bar bindings.
(rmail-summary-search-backward): New command.
(rmail-summary-search): Don't use save-excursion.
1993-06-22 02:25:05 +00:00
Jim Blandy
fbcd35bd72 * keyboard.c (make_lispy_event): Added detection of double-click
and triple-click events.
	(parse_modifiers_uncached, apply_modifiers_uncached): Same.
	(read_key_sequence): Coerce double-clicks to clicks, and triple-clicks
	to double-clicks or clicks, by analogy with drag events.
	(double_click_time): Added variable.
	* termhooks.h: Added multi-click event modifier bits.
1993-06-22 02:06:54 +00:00
Jim Blandy
69b95560cd * subr.el (event-end): Modified to account for multi-click events. 1993-06-22 02:02:00 +00:00
Richard M. Stallman
299fdd8d65 (mail-mode-map): Add local menu bar bindings. 1993-06-21 20:08:39 +00:00
Richard M. Stallman
05d5b93e40 (Fremove_text_properties, Fadd_text_properties):
Really do next_interval when skipping the first interval.
1993-06-21 19:37:49 +00:00
Richard M. Stallman
0f99112d11 *** empty log message *** 1993-06-21 06:59:02 +00:00
Richard M. Stallman
bab8cd704a Initial revision 1993-06-21 06:45:33 +00:00
Richard M. Stallman
022c78a368 entered into RCS 1993-06-21 05:06:06 +00:00
Richard M. Stallman
9565745ac3 Initial revision 1993-06-21 05:05:59 +00:00
Jim Blandy
0e93321957 * add-log.el (add-log-current-defun): To find the name of the
function being defined in emacs-lisp-mode, lisp-mode, and
	scheme-mode, skip an opening paren and an s-expression, instead of
	just one word.  This allows us to properly recognize things like
	define-key and define-macro.
1993-06-21 00:51:36 +00:00
Jim Blandy
919592c00e * replace.el (query-replace-map): Make return exit query-replace,
just like escape.
1993-06-21 00:45:17 +00:00
Jim Blandy
7d385b0569 * alloc.c (Fgarbage_collect): If the minibuffer is active, don't
display the "...done" message; allow the minibuffer to show again.
1993-06-21 00:25:57 +00:00
Richard M. Stallman
41a3409651 (mh-yank-cur-msg): Test mark-active. 1993-06-20 22:45:13 +00:00
Jim Blandy
b38f9ff319 * config.h.in (HAVE_LONG_FILE_NAMES): Add an #undef, for autoconf
to chew on.  Re-arrange macros to reflect the ordering of the
	corresponding macros in configure.in, to facilitate this kind of
	checking.
1993-06-20 20:18:32 +00:00
Richard M. Stallman
ed8d30ae81 Translate F11 (ESC [ 23 ~) to ESC. 1993-06-20 08:49:42 +00:00
Richard M. Stallman
7c92db56e0 (verify_interval_modification): Don't just test
Qread_only prop; use INTERVAL_WRITABLE_P.
1993-06-20 08:48:58 +00:00
Richard M. Stallman
af4d5234ee Comment change. 1993-06-20 08:48:12 +00:00
Jim Blandy
9f2ccd7bc1 * puresize.h (PURESIZE): Up this to 20500 for MULTI_FRAME Emaces,
and 190000 for non-MULTI_FRAME Emaces.
1993-06-19 22:58:35 +00:00
Jim Blandy
841a51ee64 Sat Jun 19 17:47:40 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
* info.el (Info-insert-dir): Remove the call to recursive-edit.
1993-06-19 21:48:16 +00:00
Jim Blandy
254a1b6640 * xfaces.c (recompute_basic_faces): This shouldn't be declared static. 1993-06-19 21:28:56 +00:00