1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
Commit graph

20227 commits

Author SHA1 Message Date
Masatake YAMATO
f5fab556d4 * message.el (message-expand-group): Pass the common
prefix substring of completion to `display-completion-list'.

* mh-comp.el (mh-complete-word): Pass the common
prefix substring of completion to `display-completion-list'.

* dabbrev.el (dabbrev-completion): Pass the common
prefix substring of completion to `display-completion-list'.

* filecache.el (file-cache-minibuffer-complete)
(file-cache-complete): Ditto.

* tempo.el (tempo-display-completions): Ditto.

* wid-edit.el (widget-file-complete, widget-color-complete): Ditto.

* emacs-lisp/lisp.el (lisp-complete-symbol): Ditto.

* eshell/em-hist.el (eshell-list-history): Ditto.

* mail/mailabbrev.el (mail-abbrev-complete-alias): Ditto.

* progmodes/etags.el (complete-tag): Ditto.

* progmodes/make-mode.el (makefile-complete): Ditto.

* progmodes/meta-mode.el (meta-complete-symbol): Ditto.

* progmodes/octave-mod.el (octave-complete-symbol): Ditto.

* progmodes/pascal.el (pascal-complete-word)
(pascal-show-completions): Ditto.

* textmodes/bibtex.el (bibtex-complete-internal): Ditto.

* simple.el (completion-common-substring): New variable.
(completion-setup-function): Use `completion-common-substring'
to put faces.

* minibuf.c (Fdisplay_completion_list): Add new optional
argument COMMON_SUBSTRING. Bind `completion-common-substring'
to the optional argument during running `completion-setup-hook'.
2005-10-16 09:31:48 +00:00
YAMAMOTO Mitsuharu
2ef1363ecd *** empty log message *** 2005-10-16 02:23:23 +00:00
YAMAMOTO Mitsuharu
159e1856b0 (mac_clear_area): Add extern. 2005-10-16 02:23:09 +00:00
YAMAMOTO Mitsuharu
236072aebf (MAC_WINDOW_NORMAL_GC): Remove macro.
(FRAME_NORMAL_GC): New macro.
(mac_draw_line, mac_clear_area, mac_clear_window)
(mac_fill_rectangle, mac_draw_string, mac_draw_string_16)
(mac_draw_image_string, mac_draw_image_string_16): Rename from
XDrawLine, XClearArea, XClearWindow, XFillRectangle, XDrawString,
XDrawString16, XDrawImageString, and XDrawImageString16, respectively.
All uses changed.
(mac_draw_line, mac_erase_rectangle, mac_clear_area)
(mac_clear_window, mac_draw_bitmap, mac_draw_rectangle)
(mac_invert_rectangle, mac_draw_string_common, mac_draw_string)
(mac_draw_string_16, mac_draw_image_string)
(mac_draw_image_string_16, mac_copy_area, mac_copy_area_with_mask)
(mac_scroll_area): Drawing functions now take frame as destination.
All uses changed.
(mac_draw_string_common): Get port height with FRAME_PIXEL_HEIGHT.
(x_draw_fringe_bitmap): Set clipping area in face->gc.
2005-10-16 02:22:59 +00:00
YAMAMOTO Mitsuharu
0abf3e71f3 (Fx_create_frame): Add debugging code.
(Fx_show_tip): Set frame pixel width and height.
2005-10-16 02:22:35 +00:00
YAMAMOTO Mitsuharu
5f8080a9e2 [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp): Allow nil
as argument.
[TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Regard nil
for encoding arguments as UTF-16 in native byte order, no BOM.
2005-10-16 02:22:16 +00:00
Richard M. Stallman
a19a00033c *** empty log message *** 2005-10-15 13:42:32 +00:00
YAMAMOTO Mitsuharu
fc5c75503b (note_mouse_movement, w32_read_socket): Apply 2005-10-14 changes for
xterm.c.
2005-10-14 08:10:05 +00:00
YAMAMOTO Mitsuharu
af1229d96a (note_mouse_movement, XTread_socket): Apply 2005-10-14 changes for
xterm.c.
2005-10-14 08:08:37 +00:00
Kenichi Handa
fed91c3814 (search_buffer): Give up BM search on case-fold-search
if one of a target character has a case-equivalence of different
charset even if that target charcter is an ASCII.
2005-10-14 07:55:05 +00:00
Kenichi Handa
cac3d6206b (casify_object): Fix for the case that case
conversion change the byte length.
2005-10-14 07:51:51 +00:00
Kim F. Storm
6507c4c73d (make_lispy_position): Adjust wx for left margin if ON_TEXT.
(Fposn_at_x_y): Fix calculation of x coordinate.
(Fposn_at_point): Return nil if point is hscrolled out of view.
2005-10-13 22:42:01 +00:00
Kim F. Storm
8460eb1eb5 (pos_visible_p): Convert w->hscroll to pixels before use.
(remember_mouse_glyph): Clear RECT if mouse is over an image glyph.
2005-10-13 22:41:40 +00:00
Kim F. Storm
bb339c57aa (note_mouse_movement): Return 1 if mouse moved; 0 otherwise.
(handle_one_xevent): Only clear help_echo_string; restore it if
note_mouse_movement didn't record any mouse movement.
2005-10-13 22:41:21 +00:00
Kim F. Storm
0ea1a8afa4 *** empty log message *** 2005-10-13 22:39:06 +00:00
Andreas Schwab
6e5b238580 (request_sigio, unrequest_sigio): Do nothing in
non-interactive mode.
2005-10-13 09:29:18 +00:00
YAMAMOTO Mitsuharu
6de0e1a293 (note_mouse_movement): Undo last change. 2005-10-12 12:19:15 +00:00
Kim F. Storm
ce728a0c84 (handle_one_xevent): Clear last_mouse_glyph on mouse up/down. 2005-10-12 11:43:57 +00:00
Kim F. Storm
78f3b91f68 *** empty log message *** 2005-10-12 11:43:26 +00:00
YAMAMOTO Mitsuharu
621036f968 *** empty log message *** 2005-10-12 11:19:29 +00:00
YAMAMOTO Mitsuharu
47b40faff4 (note_mouse_movement): Restore help_echo_string if mouse is moved
inside last_mouse_glyph.
2005-10-12 11:18:01 +00:00
Romain Francoise
b639c9be35 (init_buffer): Rename rc' to len' for clarity. 2005-10-12 10:14:41 +00:00
YAMAMOTO Mitsuharu
76d8f04c6d (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to
get end of text rows.  Obtain header-line/mode-line rows directly.
2005-10-12 09:50:50 +00:00
Kim F. Storm
cc9e7d9176 (glyph_rect, remember_mouse_glyph): Remove X versions.
(note_mouse_movement, XTmouse_position): Use generic
remember_mouse_glyph, add last_mouse_glyph arg.
2005-10-11 22:37:01 +00:00
Kim F. Storm
984c107d5e (remember_mouse_glyph): New generic version based on
glyph_rect and remember_mouse_glyph from xterm.c enhanced to
properly handle all different window areas.
2005-10-11 22:36:46 +00:00
Kim F. Storm
1bb92ecaf3 (note_mouse_movement): Fix last_mouse_glyph check.
(glyph_rect, remember_mouse_glyph): Remove w32 specific versions.
(note_mouse_movement, w32_mouse_position): Use generic
remember_mouse_glyph, add last_mouse_glyph arg.
2005-10-11 22:36:35 +00:00
Kim F. Storm
e2570d37b2 (note_mouse_movement): Add call to remember_mouse_glyph.
(glyph_rect, remember_mouse_glyph): Remove mac specific versions.
(XTmouse_position): Adapt to use generic remember_mouse_glyph
instead of pixel_to_glyph_coords.
2005-10-11 22:35:40 +00:00
Kim F. Storm
d7f18f68ff (remember_mouse_glyph): Add prototype. 2005-10-11 22:35:22 +00:00
Kim F. Storm
7a1277840d *** empty log message *** 2005-10-11 22:35:06 +00:00
Kim F. Storm
66d41723c5 (coordinates_in_window): Fix x position for ON_RIGHT_MARGIN.
Fix x position for ON_TEXT when left margin width > 0.
2005-10-11 22:21:50 +00:00
Kim F. Storm
d76432f581 *** empty log message *** 2005-10-11 22:21:36 +00:00
Romain Francoise
f727012811 *** empty log message *** 2005-10-11 15:18:36 +00:00
Kim F. Storm
a65fc2c397 (make_lispy_position): Fix buffer calculations for
mouse click or movement in right fringe and the margins.
2005-10-11 15:07:28 +00:00
Kim F. Storm
4d1add72eb (coordinates_in_window): Fix returned y position when
ON_SCROLL_BAR.
2005-10-11 15:07:07 +00:00
Kim F. Storm
55a4ac3e20 *** empty log message *** 2005-10-11 15:06:48 +00:00
Juanma Barranquero
2d4713aa66 *** empty log message *** 2005-10-11 08:32:08 +00:00
Juanma Barranquero
b25a72ab31 (fn_jpeg_stdio_src): Don't define it.
(init_jpeg_functions): Don't initialize `fn_jpeg_stdio_src'.
(our_common_init_source): Rename from `our_init_source'.
(our_common_term_source): Rename from `our_term_source'.
(our_memory_fill_input_buffer): Rename from `our_fill_input_buffer'.
(our_memory_skip_input_data): Rename from `our_skip_input_data'.
(jpeg_memory_src): Use the new names.
(struct jpeg_stdio_mgr): New struct.
(JPEG_STDIO_BUFFER_SIZE): New constant.
(our_stdio_fill_input_buffer, our_stdio_skip_input_data, jpeg_file_src): New
functions.
(jpeg_load): Use `jpeg_file_src' instead of `fn_jpeg_stdio_src'.
2005-10-11 08:25:27 +00:00
YAMAMOTO Mitsuharu
71b7a47f79 (PER_CHAR_METRIC): Remove unused macro.
(fm_font_family_alist): New variable.
(syms_of_macterm): Initialize and staticpro it.
(decode_mac_font_name): Replace '-' in family name with '_' if it
occurs just once.  Lower family name.
(parse_x_font_name): Rename from x_font_name_to_mac_font_name.
All uses changed.  Remove argument MF and code conversion for it.
Add argument SIZE.  Rename argument MF_DECODED to FAMILY, and CS
to CHARSET.  Parse font size.  Lower family name.  Return integer
value for status of parsing.
(init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name.
Don't use Fdowncase because family name is already lowered by
decode_mac_font_name.
(init_font_name_table): Always call decode_mac_font_name.  Add
pair of family name and its reference to fm_font_family_alist.
(mac_clear_font_name_table): Clear fm_font_family_alist.
(XLoadQueryFont): Move font size parsing part to parse_x_font_name.
Lookup fm_font_family_alist to get font family reference.
(XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family
name is already lowered by parse_x_font_name.
2005-10-11 03:35:54 +00:00
Kim F. Storm
f0ad2f4c89 (glyph_rect): Return 0 if position is outside text area. 2005-10-10 22:54:19 +00:00
Kim F. Storm
31ab1f0585 (make_lispy_position): Fix buffer position calculation for
mouse click or movement in fringe.
2005-10-10 22:54:03 +00:00
Kim F. Storm
74051a928f *** empty log message *** 2005-10-10 22:50:01 +00:00
Kim F. Storm
58af559124 *** empty log message *** 2005-10-10 20:49:55 +00:00
Jason Rumney
9b909870cd (remember_mouse_glyph): New function.
(note_mouse_movement): Use it to remember the current glyph if
changed.
(XTmouse_position): Fix calculation of fake glyph under mouse.
Move code to calculate glyph under mouse into
remember_mouse_glyph.
2005-10-10 19:02:10 +00:00
Jan Djärv
f9e36a6dc9 -nb changed to -nbi 2005-10-10 16:14:00 +00:00
Juanma Barranquero
04bc79457e *** empty log message *** 2005-10-10 14:59:07 +00:00
Juanma Barranquero
66a9dbbea5 (Fredirect_frame_focus): Fix typos in docstring.
(next_frame, prev_frame, set_term_frame_name): Make static.
2005-10-10 14:52:50 +00:00
Juanma Barranquero
008171a4e0 (Fwindow_tree): Fix spelling. 2005-10-10 13:41:06 +00:00
Romain Francoise
41791a20d7 (Fwindow_end): Don't try to redisplay if non-interactive. 2005-10-09 16:53:35 +00:00
Jan Djärv
55c9bfe532 * emacs.c (standard_args): Removed options -i, -itype, --icon-type,
added -nb, --no-bitmap-icon.
2005-10-09 06:57:00 +00:00
Jan Djärv
84f2588006 * xfns.c (Fx_create_frame): Make bitmapIcon have default on. 2005-10-09 06:56:31 +00:00