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.
Jim Blandy [Mon, 19 Sep 1994 17:31:15 +0000 (17:31 +0000)]
* disp-table.el: Add support for new window border display table
element.
(describe-display-table): Describe the window border glyph.
(display-table-len): New constant.
(make-display-table, standard-display-8bit,
standard-display-default, standard-display-ascii,
standard-display-g1, standard-display-graphic,
standard-display-underline): Use display-table-len, instead of
hard-coding the display table length.
Jim Blandy [Mon, 19 Sep 1994 17:28:37 +0000 (17:28 +0000)]
Add a new element to display tables controlling side-by-side
window borders.
* buffer.c (syms_of_buffer): Update doc string for
`buffer-display-table'.
* disptab.h (DISP_TABLE_SIZE): Bump to 262.
(DISP_BORDER_GLYPH): New accessor macro.
* xdisp.c (display_text_line): Consult the display table when
building side-by-side window borders.
Richard M. Stallman [Mon, 19 Sep 1994 05:03:02 +0000 (05:03 +0000)]
(rmail-summary-construct-io-menu): New function.
(rmail-new-summary): Call rmail-summary-construct-io-menu.
(rmail-summary-mode-map): New menu items 'Input Rmail File' and
'Output Rmail File'.
(rmail-summary-output-to-rmail-file): New arg 'file-name'. If it
non-nil, call rmail-output-to-rmail-file.