Richard M. Stallman [Wed, 19 Apr 1995 06:37:49 +0000 (06:37 +0000)]
(cpp-edit-reset): Fix typo.
(cpp-signal-read-only, cpp-grow-overlay): Update to new calling conventions.
(cpp-make-overlay-hidden): Don't allow insertion before a read-only overlay.
Richard M. Stallman [Wed, 19 Apr 1995 04:35:22 +0000 (04:35 +0000)]
Downcase function parameters.
Doc fixes.
Rewrite to support secondary selection.
(mouse-sel-maintainer-address): New constant.
(mouse-sel-submit-bug-report): New function.
Rename mouse-sel-selection-type to mouse-sel-primary-thing.
(mouse-sel-secondary-thing): New variable.
(mouse-sel-selection-alist): New constant.
(mouse-sel-set-selection-function): Semantics changed. Value
should now be a function taking two arguments.
(mouse-sel-get-selection-function): Semantics changed. Value
should now be a function taking one argument.
(mouse-sel-selection-owner-p-function): New variable.
Removed variable mouse-sel-check-selection-function.
Rename mouse-sel-determine-selection-type to
mouse-sel-determine-selection-thing.
(mouse-sel-set-selection): New function.
(mouse-sel-get-selection): New function.
(mouse-sel-selection-owner-p): New function.
(mouse-sel-selection-overlay): New function.
(mouse-sel-selection-thing): New function.
(mouse-sel-region-to-primary): New function.
(mouse-sel-primary-to-region): New function.
(mouse-sel-eval-at-event-end): New macro.
(mouse-sel-determine-selection-thing): Quad-click selects paragraphs.
Removed variable mouse-sel-retain-highlight; use inverse of
transient-mark-mode instead.
(mouse-select-internal): New function.
(mouse-select): Re-written using mouse-select-internal and
mouse-sel-primary-to-region.
(mouse-select-secondary): New function.
(mouse-extend-internal): New function.
(mouse-extend): Re-written using mouse-extend-internal,
mouse-sel-region-to-primary and mouse-sel-primary-to-region.
(mouse-extend-secondary): New function.
(mouse-insert-selection-internal): New function.
(mouse-insert-selection): Re-written using
mouse-insert-selection-internal.
(mouse-insert-secondary): New function.
(mouse-sel-validate-selection): Check all selections in
mouse-sel-selection-alist.
Karl Heuer [Mon, 17 Apr 1995 23:16:23 +0000 (23:16 +0000)]
(insert_1): Adjust overlay center after inserting.
(insert_from_string_1, insert_from_buffer_1): Likewise.
(del_range_1): Adjust overlay center after deleting.
Richard M. Stallman [Sun, 16 Apr 1995 05:41:53 +0000 (05:41 +0000)]
(font-lock-make-faces): Determine font-lock-background-mode from color
values of background color.
(font-lock-make-faces-done): New variable.
(font-lock-make-faces): Set font-lock-make-faces-done to t.
Don't call it when loading the file.
(font-lock-mode): Call font-lock-make-faces if not yet done.
Richard M. Stallman [Sat, 15 Apr 1995 18:33:29 +0000 (18:33 +0000)]
(size_menu): Make height and label_width unsigned.
(fit_to_screen): Make screen_width and screen_height unsigned.
(motion_event_is_in_menu): Make x, y unsigned.
Richard M. Stallman [Sat, 15 Apr 1995 02:04:41 +0000 (02:04 +0000)]
(cpp-parse-open): Delete comments that go past end of line.
(cpp-edit-reset): Clean up the four standard buttons.
(cpp-parse-buffer): Name was undefined--use cpp-highlight-buffer.
Richard M. Stallman [Fri, 14 Apr 1995 22:16:50 +0000 (22:16 +0000)]
(rmail-reformat-message): Call `rmail-clear-headers'
also if `rmail-displayed-headers' is set.
(rmail-clear-headers): Handle `rmail-displayed-headers' correctly.
(rmail-insert-inbox-text): When reading old
.newmail-<user> file, report it specifically.
(rmail-displayed-headers): New variable.
(rmail-clear-headers): Handle rmail-displayed-headers
(rmail-display-labels): Use `format' to convert
message numbers to strings.
(rmail-resend): If mailabbrev loaded, use that to expand abbrevs.
Richard M. Stallman [Fri, 14 Apr 1995 20:46:11 +0000 (20:46 +0000)]
(tar-mode): Locally bind next-line-add-newlines to nil.
(tar-subfile-mode): Doc fix.
(tar-expunge): Make questions and messages start with upper case letter.
(tar-summarize-buffer): Ditto.
(tar-subfile-save-buffer): Make message like others.
(tar-mode): Locally bind local-write-file-hooks.
(tar-mode-write-file): Renamed from tar-mode-maybe-write-tar-file.
(tar-mode-write-file): Simplify to only work for tar file buffers.
(write-file-hooks): Don't modify this.
Richard M. Stallman [Fri, 14 Apr 1995 18:36:40 +0000 (18:36 +0000)]
(popup_get_selection): Queue up events that aren't
for the menu, and process them afterward. New arg dpyinfo.
(set_frame_menubar): Use inhibit_garbage_collection.
[USE_X_TOOLKIT] (xmenu_show): Delete the queue code here.
Pass dpyinfo to popup_get_selection.
Don't call lw_destroy_all_widgets.
[USE_X_TOOLKIT] (xdialog_show): Simplify using popup_get_selection.
Richard M. Stallman [Fri, 14 Apr 1995 18:33:44 +0000 (18:33 +0000)]
(fill-paragraph, fill-region, fill-nonuniform-paragraphs)
(fill-individual-paragraphs): Pass `full' for JUSTIFY arg,
in the interactive spec, if have prefix arg.
Richard M. Stallman [Fri, 14 Apr 1995 18:26:53 +0000 (18:26 +0000)]
(kbd_buffer_get_event): Don't use prototype.
(read_char): Rearrange code so that getcjmp is set
only around sit_for and kbd_buffer_get_event, and
and polling is stopped only around the kbd_buffer_get_event call.
(Ftrack_mouse, tracking_off, read_char): Don't call prepare_menu_bars.
Richard M. Stallman [Fri, 14 Apr 1995 18:24:00 +0000 (18:24 +0000)]
(redisplay): Call init_desired_glyphs for each frame.
Call prepare_menu_bars.
(prepare_menu_bars): Delete code at beginning that duplicates
things done at the beginning of redisplay.
(message_log_check_duplicate): Make p1 and p2 unsigned char *.
Richard M. Stallman [Thu, 13 Apr 1995 17:05:39 +0000 (17:05 +0000)]
(reporter-mailer): Replace mail with reporter-mail.
(reporter-mail): New function.
(reporter-submit-bug-report): Don't check return value of
the reporter-mailer function.
Richard M. Stallman [Thu, 13 Apr 1995 01:33:08 +0000 (01:33 +0000)]
(time-stamp-format): Replace list of Lisp
functions with string containing %-escapes in the style of date(1).
(time-stamp): Widen buffer while time-stamping.
(time-stamp-toggle-active): New function.
(time-stamp-warn-inactive): New variable.