Richard M. Stallman [Fri, 23 Sep 1994 22:28:08 +0000 (22:28 +0000)]
(exec_sentinel_error_handler): New function.
(exec_sentinel): Catch all errors in the sentinel.
(read_process_output_error_handler): New function.
(read_process_output_call): New function.
(read_process_output): Catch and report errors in filters.
(pty_name): Move it up; make it static.
(create_process): Set the tty_name field.
(Fprocess_tty_name): New function.
(syms_of_process): defsubr it.
Richard M. Stallman [Fri, 23 Sep 1994 18:20:31 +0000 (18:20 +0000)]
(Fx_create_frame): Rename menuBarLines resource to menuBar.
(x_figure_window_size): Decode (- N), (+ N) for position.
(x_set_frame_parameters): Handle (+ N) and (- N).
Preserve negative positions properly too.
[USE_X_TOOLKIT] (x_window): Let xneg, yneg specify whether to
negate left and top.
(Fx_parse_geometry): Handle [XY]Negative with positive number
or negative number without [XY]Negative.
Richard M. Stallman [Fri, 23 Sep 1994 05:42:40 +0000 (05:42 +0000)]
(UTILITIES): Remove test-distrib, make-docfile, make-path.
(DONT_INSTALL): New variable--list those files here.
(clean): Delete the files in DONT_INSTALL.
Richard M. Stallman [Fri, 23 Sep 1994 05:31:24 +0000 (05:31 +0000)]
(Fx_list_fonts): Use a cache stored in FRAME_X_SCREEN.
(the_x_screen): New variable.
(syms_of_xfns): Staticpro parts of it.
(Fx_open_connection): Initialize it.
(Fx_create_frame): Make frame point to it.
Richard M. Stallman [Fri, 23 Sep 1994 04:37:16 +0000 (04:37 +0000)]
(rmail-retry-failure): Copy the whole block of headers from the message
and then discard those in rmail-retry-ignored-headers. Delete
usage of rmail-retry-setup-hook. Bind mail-signature and
mail-setup-hook to nil when composing retry buffer.
Handle mail-self-blind.
(rmail-retry-ignored-headers): New variable,
specifying the headers that should be removed by rmail-retry-failure.
(rmail-retry-setup-hook): Obsolete variable (see below), deleted.
(rmail-clear-headers): New optional arg is list of headers to clear.
Richard M. Stallman [Thu, 22 Sep 1994 06:26:46 +0000 (06:26 +0000)]
(cmd_error_internal): New function, broken out of cmd_error.
(read_char): Don't return right away when
read_char_minibuf_menu_prompt returns non-nil.
Instead, set key_already_recorded, which inhibits most but not all
of the work at non_reread.
Richard M. Stallman [Thu, 22 Sep 1994 05:04:59 +0000 (05:04 +0000)]
(display-buffer, special-display-buffer-names)
(special-display-regexps, special-display-function): Accept cons
cells in `special-display-buffer-names' and
`special-display-regexps'. If the buffer name matches the car,
call `special-display-function' with the cdr as a second argument.
Richard M. Stallman [Wed, 21 Sep 1994 18:54:05 +0000 (18:54 +0000)]
(Fmessage_box): Renamed from Fbox_message.
(Fbox_message): New function to print a message in a dialog box.
(Fmessage_or_box): New function that choose whether to print a
message in a dialog or in the echo area.
Francesco Potortì [Wed, 21 Sep 1994 16:15:42 +0000 (16:15 +0000)]
* man.el (Man-notify-flag): replaces the old Man-notify
variable, use the old one if it is bound as initial value.
(Man-reuse-okay-flag): replaces Man-reuse-okay.
(Man-downcase-section-letters-flag): replaces
Man-downcase-section-letters.
(Man-circular-pages-flag): replaces Man-circular-pages.
(Man-auto-section-alist): variable deleted.
(Man-section-translations-alist): removed the "3x" translation.
(Man-untabify-command, Man-untabify-command-args): new vars.
(Man-sed-command, Man-awk-command): new variables.
(Man-sysv-sed-script, Man-berkeley-sed-script): new constants.
(Man-name-regexp, Man-page-header-regexp): new variable.
(Man-heading-regexp): changed default value.
(Man-reference-regexp): now refers to previous regexps.
(Man-arguments): new buffer-local variable.
(Man-page-mode-string): changed default value.
(Man-mode-map): changed the meanings of ",", ".", "q". Added new
keys ">", "<", "k".
(Man-page-mode-string): function deleted.
(Man-init-defvars): New function used for initialising the system
and environment dependent variables Man-fontify-manpage-flag,
Man-uses-untabify, Man-sed-script, Man-filter-list.
(Man-delete-trailing-newlines): function deleted.
(Man-make-page-mode-string): new subst.
(Man-build-man-command): now subst instead of function. Modified
to comply with the new format of Man-filter-list.
(Man-downcase): function deleted.
(Man-translate-references): complete rewrite.
(Man-linepos): function deleted.
(Man-match-substring): new function.
(Man-default-man-args): function deleted.
(Man-default-man-entry): complete rewrite.
(man, manual-entry): function-alias relationship reversed.
(man): prompt changed, prompt using interactive, call
Man-init-defvars, set Man-arguments.
(Man-notify-when-ready): manage the 'pushy value.
(Man-fontify-manpage): substitute Man-set-fonts.
(Man-cleanup-manpage): new function.
(Man-bgproc-sentinel): cleanup, call Man-fontify-manpage and
Man-cleanup-page when necessary.
(Man-mode): call Man-strip-page-headers and Man-unindent.
(Man-build-section-alist, Man-build-references-alist,
Man-build-page-list): substs instead of functions.
(Man-build-references-alist): cleanup.
(Man-build-page-list): new algorithm.
(Man-strip-page-headers, Man-unindent): new substs.
(Man-find-section): assume section names start in column 1.
(Man-quit): bury the buffer instead of killing it, delete the
frame when necessary.
(Man-kill): new function.
(Man-goto-page): do the right thing when the manpage is not found,
do not assume that Man-build-references-alist is broken.
Richard M. Stallman [Wed, 21 Sep 1994 08:14:33 +0000 (08:14 +0000)]
(overlays_at): New arg PREV_PTR.
Return previous overlay end.
(Foverlays_at): Pass NULL for last 2 args of overlays_at.
(Fnext_overlay_change): Pass new arg to overlays_at.
(Fprevious_overlay_change): New function.
Karl Heuer [Tue, 20 Sep 1994 05:20:16 +0000 (05:20 +0000)]
(FRAME_SCROLL_BAR_PIXEL_WIDTH): New macro, supersedes
VERTICAL_SCROLL_BAR_PIXEL_WIDTH; no longer device-dependent.
All callers changed.
(FRAME_SCROLL_BAR_COLS): New macro, supersedes VERTICAL_SCROLL_BAR_WIDTH; no
longer constant. All callers changed.
(scroll_bar_pixel_width, scroll_bar_cols): New members of struct frame.
Karl Heuer [Tue, 20 Sep 1994 05:07:53 +0000 (05:07 +0000)]
(x_set_scroll_bar_width): New function.
(x_frame_parms): Add that function to this table.
(Qscroll_bar_width): New symbol.
(syms_of_xfns): Initialize and staticpro it.
(Fx_create_frame): Set default scroll bar width.
Karl Heuer [Tue, 20 Sep 1994 04:39:43 +0000 (04:39 +0000)]
(kbd_store_ptr): Declare storage class before qualifier.
(make_lispy_event): Fix Lisp_Object vs. int problems.
(read_avail_input, menu_bar_items_index, read_key_sequence): Likewise.
Richard M. Stallman [Tue, 20 Sep 1994 04:26:12 +0000 (04:26 +0000)]
(query-replace-interactive): New user option.
(query-replace-read-args): Obey that option--fetch from
search-ring or regexp-search-ring. New arg regexp-flag.
(query-replace, query-replace-regexp, replace-string)
(replace-regexp): Pass new arg to query-replace-read-args.
(map-query-replace-regexp): Obey query-replace-interactive.
Richard M. Stallman [Tue, 20 Sep 1994 02:20:05 +0000 (02:20 +0000)]
(struct saved_window_data): New slots min_width, min_height.
(Fcurrent_window_configuration): Set slots from window_min_...
(Fset_window_configuration): Restore them.
Set window_min_height and window_min_width to 1 while restoring windows.