1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00
Commit graph

25955 commits

Author SHA1 Message Date
Glenn Morris
96a7394f29 (truncate-partial-width-windows): Doc fix. 2008-04-10 07:49:07 +00:00
Stefan Monnier
34b67b0f6b * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
New functions.
* fileio.c (read_file_name_cleanup, Fread_file_name_internal):
Move functions to minibuffer.el.
(syms_of_fileio): Don't declare them.
2008-04-10 03:12:49 +00:00
Stefan Monnier
ba5ff07b2a * minibuffer.el (minibuffer): Move group from cus-edit.el.
(completion-auto-help): Move from C code.
(minibuffer--maybe-completion-help): Remove.
(minibuffer--bitset): New function.
(minibuffer--do-completion): Rename from minibuffer-do-completion.
Renumber a bit.  Really complete on string *before* point.
Add argument used for word-completion.
Join trailing / in completion with following text, as done in
minibuffer-complete-word.
Handle new value `lazy' for completion-auto-help.
(minibuffer-try-word-completion): New function extracted from
minibuffer-complete-word.
(minibuffer-complete-word): Use minibuffer--do-completion.
(minibuffer--insert-strings): Rename from
minibuffer-complete-insert-strings.
(exit-minibuffer): Fix typo.
* cus-edit.el (minibuffer): Move group to minibuffer.el.
* cus-start.el: Remove completion-auto-help.
* minibuf.c (Vcompletion_auto_help): Move to minibuffer.el.
(syms_of_minibuf): Remove its initialization.
2008-04-09 19:33:56 +00:00
Stefan Monnier
c025fb0a25 (temp_echo_area_glyphs): Remove unused function. 2008-04-09 18:02:08 +00:00
Jason Rumney
3dc94c3075 (LOADDEFS): Add mh-loaddefs.el.
($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
(pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
(AUTOGENEL): New variable.
(distclean, maintainer-clean): New targets.
2008-04-09 16:26:54 +00:00
Jason Rumney
c237889829 (distclean): Delete makefile too.
(maintainer-clean): New target.
2008-04-09 16:21:34 +00:00
Juanma Barranquero
7a6a86adef (Ffield_string_no_properties): Fix typo in docstring. 2008-04-09 15:57:40 +00:00
Jason Rumney
8d28646bf8 (redisplay_internal) [!WINDOWSNT]: Conditionalize last change. 2008-04-09 13:33:56 +00:00
Jason Rumney
cf907d69dd (w32_compute_glyph_string_overhangs): Compute overhangs
for new font backend and composite cases.
2008-04-09 12:14:52 +00:00
Jan Djärv
ef5eb9256f (wait_reading_process_output): If SYNC_INPUT and pending_atimers, run atimers. 2008-04-09 06:47:19 +00:00
Jan Djärv
cb5c5b3d7c (emacs_write): If SYNC_INPUT and pending_atimers, run atimers. 2008-04-09 06:46:14 +00:00
Jan Djärv
170c80bed4 (alarm_signal_handler): Call run_timers if not SYNC_INPUT.
Most of the code moved to run_timers.
(do_pending_atimers): Call run_timers.
(run_timers): New function.
2008-04-09 06:46:02 +00:00
Stefan Monnier
32bae13cf7 * lisp/minibuffer.el: New file.
* src/minibuf.c (last_exact_completion): Remove variable.
(Fdelete_minibuffer_contents, do_completion, Fminibuffer_complete)
(complete_and_exit_1, complete_and_exit_2)
(Fminibuffer_complete_and_exit, Fminibuffer_complete_word)
(Fdisplay_completion_list, display_completion_list_1)
(Fminibuffer_completion_help, Fself_insert_and_exit)
(Fexit_minibuffer, Fminibuffer_message): Move functions to minibuffer.el.
(syms_of_minibuf): Remove corresponding initializations.
2008-04-09 03:34:19 +00:00
Stefan Monnier
5c4cc82aeb (Qdeactivate_mark): New var.
(command_loop_1): Use it to call `deactivate-mark'.
(syms_of_keyboard): Initialize it.
2008-04-09 03:29:46 +00:00
Stefan Monnier
9b2cd40320 * xdisp.c (redisplay_internal): Reset tty's color_mode when switching
to another frame.
* frame.c (do_switch_frame): Refine the top_frame/async_visible code.
Don't call set_tty_color_mode.
(store_frame_param): Reset previous_frame rather than call
set_tty_color_mode.
* term.c (set_tty_color_mode): Rewrite.
* dispextern.h (set_tty_color_mode): New type.
* termchar.h (struct tty_display_info): Add `previous_color_mode'.
2008-04-09 03:25:14 +00:00
Stefan Monnier
84cb7b4562 (access_keymap): Remove the value 2 for t_ok which was used
for generic chars, which do not exist any more in emacs-unicode.
2008-04-08 22:13:13 +00:00
Michael Albinus
3ed051d450 * coding.c (detect_coding_emacs_mule)
(Ffind_operation_coding_system): Fix typo.
2008-04-08 20:18:14 +00:00
Jason Rumney
3bf8d23048 (SNAME): Extract only symbol name. 2008-04-08 14:46:49 +00:00
Jason Rumney
56a70cca39 (struct w32_metric_cache): New struct.
(w32font_info): Use it.
(W32METRIC_NO_ATTEMPT, W32METRIC_SUCCESS, W32METRIC_FAIL)
(CACHE_BLOCKSIZE): New constants.
2008-04-08 14:29:39 +00:00
Jason Rumney
58c3ea4277 *** empty log message *** 2008-04-08 13:58:29 +00:00
Jason Rumney
8f112d5210 (Qja, Qko, Qzh): New symbols.
(syms_of_w32font): Initialise them.
(font_matches_spec): Use them to filter by language.
(recompute_cached_metrics): Remove function.
(compute_metrics, clear_cached_metrics): New functions.
(w32font_encode_char): Use them to manage metric cache.
(w32font_text_extents): Cache metrics for all glyphs on demand.
Delay converting glyph indices to WORD until needed.
(w32font_open_internal): Initialize metric cache to empty.
(registry_to_w32_charset): Charset should always be a symbol.
(fill_in_logfont, list_all_matching_fonts): Family should always be a symbol.
2008-04-08 13:52:21 +00:00
Juanma Barranquero
fbf57abbfe *** empty log message *** 2008-04-07 11:11:28 +00:00
Jason Rumney
b7655e0cb4 (uniscribe_shape): Map char at FROM to current glyph. 2008-04-06 14:29:29 +00:00
Jason Rumney
0ce24b2d12 (uniscribe_shape): Increase items buffer size.
Give up if glyph indices not supported.  Use uniscribe obtained
ABC widths for individual metrics.  Map glyph clusters back to
characters using fClusterStart flag.  Return number of glyphs
produced, not chars processed.
2008-04-06 01:08:19 +00:00
Miles Bader
5bc6ddff00 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1107
2008-04-05 23:01:26 +00:00
Chong Yidong
37128b5497 (compile_pattern_1): Treat non-nil and non-string of
search-spaces-regexp as nil.
2008-04-05 21:42:59 +00:00
Chong Yidong
6ffb36c380 * search.c (compile_pattern_1): Treat non-nil and non-string of
search-spaces-regexp as nil.
2008-04-05 21:42:01 +00:00
Chong Yidong
d8c852509f (compile_pattern_1): Treat non-nil and non-string of
search-spaces-regexp as nil.
2008-04-05 21:40:16 +00:00
Chong Yidong
9605d5675e * search.c (compile_pattern_1): Treat non-nil and non-string of
search-spaces-regexp as nil.
2008-04-05 21:40:04 +00:00
Juanma Barranquero
c5ad7a3d92 *** empty log message *** 2008-04-05 21:08:50 +00:00
Chong Yidong
c6a82c1866 (Fassoc_string): Tweak docstring. 2008-04-05 21:03:47 +00:00
Chong Yidong
c36e15db97 * minibuf.c (Fassoc_string): Tweak docstring. 2008-04-05 21:03:40 +00:00
Miles Bader
80d0c8d97f Add arch tagline 2008-04-05 20:18:32 +00:00
Eli Zaretskii
f3a3640be8 (Ffile_attributes) [WINDOWSNT]: Force inode be positive. 2008-04-05 19:10:08 +00:00
Eli Zaretskii
aa08d1ff92 (init_user_info): Don't restrict UID and GID to 0-60000 range. 2008-04-05 15:26:10 +00:00
Eli Zaretskii
40beb14781 New file. 2008-04-05 14:34:28 +00:00
Eli Zaretskii
e3b88685f9 (sys_chown, stat, fstat): Use S_* constants instead of _S_* ones, since we
now use our own sys/stat.h.
(stat, fstat): Don't mangle the inode number.
2008-04-05 14:32:28 +00:00
Eli Zaretskii
e058f331f5 (Ffile_attributes): Support inode numbers wider than 32 bits.
Remove ugly WINDOWSNT-specific kludge introduced on 2008-03-14 to force
inode be positive.
2008-04-05 14:31:42 +00:00
Jason Rumney
388c38f9b3 (w32font_text_extents): Use font's ascent and descent.
(recompute_cached_metrics): Don't set ascent and descent per char.
2008-04-04 23:05:43 +00:00
Stefan Monnier
d4417eb006 (struct frame): Give one more bit to `visible' since we use
values larger than 1 to indicate obscured frames on ttys.
2008-04-04 17:56:23 +00:00
Stefan Monnier
00f7c5edc6 * subr.el (keymap-canonicalize): New function.
* mouse.el (mouse-menu-non-singleton): Use it.
(mouse-major-mode-menu): Remove hack made unnecessary.
* keymap.c (Qkeymap_canonicalize): New var.
(Fmap_keymap_internal): New fun.
(describe_map): Use keymap-canonicalize.
2008-04-04 17:31:20 +00:00
Stefan Monnier
4591d6cbef (last_boundary_buffer, last_boundary_position): New vars.
(Fundo_boundary): Set them.
(syms_of_undo): Initialize them.
(record_point): Use them instead of last_point_position*.
(last_undo_buffer): Change type.
2008-04-04 16:59:52 +00:00
Jason Rumney
d0bfec76e4 (uniscribe_check_otf): Rearrange loop for counting features. 2008-04-04 12:08:14 +00:00
Jason Rumney
e38ac6e203 (uniscribe_check_otf): Add GC protection before consing.
Use CAR_SAFE to increment loop.
2008-04-04 11:59:09 +00:00
Jason Rumney
3187540eff (uniscribe_check_otf): Fix last change. 2008-04-04 07:59:20 +00:00
Stefan Monnier
f1a6b2163c (insert_from_buffer_1): Don't compare bytes in destination
buffer with byte-size of source buffer.
2008-04-03 20:01:31 +00:00
Chong Yidong
e5a31bbbcb (Fcall_interactively): Handle temporary region even when
shift-select-mode is off.
2008-04-03 16:36:47 +00:00
Chong Yidong
1d8dcf63aa * callint.c (Fcall_interactively): Handle temporary region even
when shift-select-mode is off.
2008-04-03 16:36:29 +00:00
Jason Rumney
6b8aa22a8a (uniscribe_check_otf): Sanity check otf_spec. 2008-04-03 15:38:29 +00:00
Jason Rumney
0c1b4ae237 (CONFIG_H): New variable. Use it to clean up
dependencies.
(w32uniscribe.$(O)): New file to build.
(FONT_OBJ): Include w32uniscribe.$(O).
(LIBS): Add uniscribe libraries.
2008-04-03 13:16:13 +00:00