1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

37668 Commits

Author SHA1 Message Date
Miles Bader
eb3602912a (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL)
(DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD):
Remove `DOC_STRINGS_IN_COMMENTS' cases.
2001-10-22 01:10:13 +00:00
André Spiegel
a279f22fcf # 2001-10-21 23:38:42 +00:00
André Spiegel
e98b08246c (diff-switches): Remove duplicate definition. 2001-10-21 23:31:45 +00:00
Gerd Moellmann
26fe1f9257 *** empty log message *** 2001-10-21 23:04:02 +00:00
Gerd Moellmann
d749f559b2 (save-place): Require `saveplace'. 2001-10-21 23:03:27 +00:00
Gerd Moellmann
91ebb8c94a (set-version): Use `s' interactive spec for
version number.
2001-10-21 22:51:08 +00:00
Gerd Moellmann
0480815792 (cwarn-font-lock-feature-keywords-alist):
Use `sexp' for :value-type instead of `face'.
2001-10-21 22:47:15 +00:00
Jason Rumney
98515cf03b (x_erase_phys_cursor): Remove inverse_p. 2001-10-21 21:23:03 +00:00
Eli Zaretskii
a6a1654e25 *** empty log message *** 2001-10-21 19:20:30 +00:00
Eli Zaretskii
70d2f11579 (rmail-summary-font-lock-keywords): Fix the
regexps due to 5-digit message IDs.
2001-10-21 19:08:56 +00:00
Jason Rumney
4fdd691b32 *** empty log message *** 2001-10-21 18:49:20 +00:00
Jason Rumney
565153ffd3 Fix formatting for new function. 2001-10-21 18:35:35 +00:00
Gerd Moellmann
6aa97356aa *** empty log message *** 2001-10-21 17:41:43 +00:00
Jason Rumney
1a0b615ab5 (redisplay-dont-pause): Don't set. 2001-10-21 17:15:18 +00:00
Jason Rumney
42bde733cf (struct w32_output): Use correct spelling of x_compatible.
(w32_display_info): Add mouse_face_overlay.
2001-10-21 16:57:22 +00:00
Eli Zaretskii
93026d88c2 (Fml_if, Fml_provide_prefix_argument)
(Finsert_string): Avoid the multi-line string literals warning.
2001-10-21 16:55:26 +00:00
Jason Rumney
c169b8f145 *** empty log message *** 2001-10-21 16:23:07 +00:00
Miles Bader
c9a95b7902 *** empty log message *** 2001-10-21 15:34:22 +00:00
Miles Bader
e7348d1d6d (help-manyarg-func-alist): Variable removed. 2001-10-21 15:28:44 +00:00
Miles Bader
6924dda6ad (Fsave_window_excursion): Add usage: string to doc string. 2001-10-21 15:28:03 +00:00
Miles Bader
ab9ffd19d7 (Fwith_output_to_temp_buffer): Add usage: string to doc string. 2001-10-21 15:27:09 +00:00
Miles Bader
38623e24a8 (Ftrack_mouse): Add usage: string to doc string. 2001-10-21 15:23:58 +00:00
Miles Bader
f717af878f (Frun_hooks, Frun_hook_with_args, Frun_hook_with_args_until_failure)
(Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif, Fcond)
(Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun, Fdefmacro)
(Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch, Funwind_protect)
(Fcondition_case): Add usage: string to doc string.
2001-10-21 15:22:49 +00:00
Miles Bader
33c2d29f6c (Fsave_excursion, Fsave_current_buffer)
(Fsave_restriction): Add usage: string to doc string.
2001-10-21 15:21:33 +00:00
Miles Bader
512ca171d4 (Vhelp_manyarg_func_alist): Variable removed.
(Fdocumentation): Don't use it.
(syms_of_doc): Don't initialize it.
2001-10-21 15:20:42 +00:00
Miles Bader
a58d71cbdd (Ffind_operation_coding_system): Add usage: string to doc string. 2001-10-21 15:20:20 +00:00
Jason Rumney
9f5a911b46 (remember_mouse_glyph): New function.
(w32_mouse_position): Use it.
(note_mouse_movement): If the mouse moved off the glyph, remember its
new position.

Sync with xterm.c:
(notice_overwritten_cursor): Renamed from note_overwritten_text_cursor.
Rewritten to take glyph widths into account.
(x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
(fast_find_string_pos): New function.
(fast_find_position): Return the correct vpos.  Add parameter STOP.
In the final row, stop before glyphs having STOP as object.
Don't consider glyphs that are not from a buffer.
(fast_find_position) [0]: Add a presumably more correct version for after 21.1.
(expose_window_tree, expose_frame): Don't compute intersections here.
(expose_window): Do it here instead.
(expose_window_tree, expose_window, expose_line): Return 1 when
overwriting mouse-face.
(expose_window): If W is the window currently being updated, mark
the frame garbaged.
(expose_frame): If mouse-face was overwritten, redo it.
(x_use_underline_position_properties): New variable.
(syms_of_xterm): DEFVAR_BOOL it.
(x_draw_glyph_string): Add comment to use it in future.
(x_draw_glyph_string): Restore clipping after drawing box.
Fix a computation of the underline position.
(w32_get_glyph_string_clip_rect): Minor cleanup.
(x_fill_stretch_glyph_string): Remove an assertion.
(x_produce_glyphs): Don't convert multibyte characters
to unibyte characters in unibyte buffers.
(cursor_in_mouse_face_p): New function.
(x_draw_stretch_glyph_string): Use it to choose a different GC
when drawing a cursor within highlighted text.  Don't draw
background again if it has already been drawn.
(x_draw_glyph_string_box): Don't draw a full-width
box just because the glyph row's full_width_p flag is set.
(x_draw_glyphs): Fix computation of rightmost x for full-width rows.
(x_dump_glyph_string): Put in #if GLYPH_DEBUG.
(w32_draw_relief_rect): Extend left shadow to the bottom and left;
change bottom shadow accordingly. Some cleanup.
(x_update_window_end): Handle overwritten mouse face
also for tool bar windows.
(show_mouse_face): Set the glyph row's mouse_face_p flag also when
DRAW is DRAW_IMAGE_RAISED.
(clear_mouse_face): Return 1 if text with mouse face was
actually redrawn.  Make the function static.  Reset
dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might
optimize away highlighting if we pass over that same overlay again.
(note_mouse_highlight): Call mouse_face_overlay_overlaps
to detect a case where we have to highlight a different region
despite not having left the currently highlighted region.
Set mouse_face_overlay in the x_display_info.  Avoid changing the
mouse pointer shape when show_mouse_face has already done it, or
there is no need.  Handle mouse-face and help-echo in strings.
(glyph_rect): New function.
(w32_mouse_position): Use it to raise the threshold for mouse
movement event generation.
(w32_initialize_display_info): Initialize the x_display_info's
mouse_face_overlay.
(w32_set_vertical_scroll_bar): Don't clear a zero height or width area.
(w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure
a widget to zero height.
2001-10-21 15:20:03 +00:00
Miles Bader
a3b10252a6 *** empty log message *** 2001-10-21 14:44:58 +00:00
Miles Bader
7e9a6a1b84 *** empty log message *** 2001-10-21 14:33:15 +00:00
Miles Bader
29a9ebd0a5 (help-manyarg-func-alist): Remove entries for `insert',
`insert_and_inherit', `insert_before_markers',
`insert-before-markers-and-inherit', `messapge', `message_box',
`message_or_box', `propertize', `format', `encode_time', `append',
`concat', `vconcat', `nconc', `widget_apply', `make_hash_table',
`insert_string', `ml_if', `ml_provide_prefix_argument',
`ml_prefix_argument_loop'.
2001-10-21 14:23:32 +00:00
Miles Bader
e02cec3393 (Finsert_string, Fml_if, Fml_provide_prefix_argument)
(Fml_prefix_argument_loop): Add usage: string to doc string.
2001-10-21 14:20:44 +00:00
Miles Bader
4bf8e2a32e (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply, Fmake_hash_table):
Add usage: string to doc string.
2001-10-21 14:19:57 +00:00
Miles Bader
4bfbe194ac (Finsert, Finsert_and_inherit, Finsert_before_markers, Fmessage)
(Fmessage_box, Fmessage_or_box, Fpropertize, Fformat, Fencode_time)
(Finsert_and_inherit_before_markers): Add usage: string to doc string.
2001-10-21 14:18:44 +00:00
Miles Bader
52d8c52976 (struct rcsoc_state): New type.
(read_c_string_or_comment): Use a variable of type `rcsoc_state' to hold
most of our state.
(put_char): Add STATE parameter, and remove all other parameters
except CH.  Use STATE to get access to all needed state.
(scan_keyword_or_put_char): New function.
2001-10-21 13:48:16 +00:00
Pavel Janík
888ebd132e (Finsert_file_contents): Remove unused variable `gap_size'. 2001-10-21 13:28:46 +00:00
André Spiegel
72830e8a04 # 2001-10-21 13:26:09 +00:00
Pavel Janík
c6f73eec53 *** empty log message *** 2001-10-21 12:23:10 +00:00
André Spiegel
5e0fdc5a86 (vc-cvs-diff-tree): New function. 2001-10-21 12:21:29 +00:00
André Spiegel
2c87edc17b (vc-diff-internal, vc-coding-system-for-diff, vc-default-diff-tree):
New functions.
(vc-version-diff): Use them.  As a result, coding systems are now set
up properly for all sorts of diffs, and tree diffs can now also be
done locally.
(vc-diff): With a prefix argument, don't require that it's called from
a buffer under version control.
2001-10-21 12:15:22 +00:00
Pavel Janík
8c1a1077c0 Change doc-string comments to new style' [w/doc:' keyword]. 2001-10-21 12:13:46 +00:00
Pavel Janík
dfe45eff10 (delete-exited-processes): Change doc-string comments to new style' [w/doc:' keyword]. 2001-10-21 12:08:54 +00:00
Jason Rumney
3cf3436ebc (Fx_file_dialog): Pass a filter to GetOpenFileName.
Sync with xfns.c:
(x_laplace_read_row, x_laplace_write_row): Removed.
(postprocess_image): New function.
(lookup_image): Call it for all image types except PostScript.
(x_kill_gs_process): Call postprocess_image.
(tiff_error_handler, tiff_warning_handler): New functions.
(tiff_load): Install them as handlers.
(x_kill_gs_process): Recognize if someone has cleared the image
cache under us.
(valid_image_p): Protect better against invalid image
specifications.  Previous code could signal an error.
(Fx_hide_tip, Fshow_tip): Doc fix.
(Fv_max_tooltip_size): New variable.
(syns_of_xfns): DEFVAR_LISP it.
(Fx_show_tip): Add parameter TEXT.  Set the tip frame's root
window buffer to *tip* right after creating the frame. Set frame's
window_width.  Use a maximum tooltip size specified by
Vx_max_tooltip_size, if that has valid contents.
(compute_tip_xy): Add parameters WIDTH and HEIGHT.
Make sure the tooltip is completely visible.
(x_create_tip_frame): Set tooltip buffer's truncate-lines to nil.
(Fx_create_frame): Adjust the frame's height for presence
of the tool bar before calling x_figure_window_size.
(x_set_tool_bar_lines): Clear the tool bar window's current matrix
when the window gets smaller.
(x_set_foreground_color): Set frame's cursor_pixel.
(x_set_foreground_color, x_set_background_color): Cleaned up.
(x_set_font): Handle case of x_new_fontset returning the same name
as before, although there was a change in fontsets.
2001-10-21 11:45:21 +00:00
Jason Rumney
292508513c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]:
Protect unibyte stings created by replacing their multibyte
equivalents in menu_items.
(w32_menu_show): Don't overwrite an item's name with its key
description in case the description is a multibyte string.
(single_submenu): Some cleanup.
2001-10-21 10:54:17 +00:00
Miles Bader
386ca3619c *** empty log message *** 2001-10-21 10:25:36 +00:00
Miles Bader
4c5963d3b2 (help-manyarg-func-alist): Remove entries for list', vector',
`make-byte-code', `call-process', `call-process-region', `string', `+',
`-', `*', `/', `max', `min', `logand', `logior', and `logxor'.
2001-10-21 10:20:04 +00:00
Miles Bader
f44fba9ec2 (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior, Flogxor):
Add usage: string to doc string.
2001-10-21 10:00:33 +00:00
Miles Bader
5f5d497ee4 (Fstring): Add usage: string to doc string. 2001-10-21 09:59:56 +00:00
Miles Bader
d98b59b593 (Fcall_process_region, Fcall_process): Add usage: string to doc string. 2001-10-21 09:53:01 +00:00
Miles Bader
ae8e81224e (Fmake_byte_code, Fvector, Flist): Add usage: string to doc string. 2001-10-21 09:51:56 +00:00
Miles Bader
d097ad5744 (read_c_string_or_comment): Add SAW_USAGE parameter, and implement
scanning for a `usage:' keyword.
(scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
Don't output a usage-string if there was one in the doc string.
2001-10-21 09:21:46 +00:00