Commit graph

27096 commits

Author SHA1 Message Date
Kenichi Handa
fc88345bb7 (scan_for_column): Don't handle automatic composition if the current
buffer is not associated with a window.
2008-09-12 06:13:36 +00:00
Kenichi Handa
3eda4b1921 (find_automatic_composition): Fix previous change. 2008-09-12 05:42:28 +00:00
Kenichi Handa
b9be9bd391 (compose-gstring-for-graphic): Fix previous change. 2008-09-12 05:41:47 +00:00
Kenichi Handa
29fb730696 (composition_reseat_it): If the current buffer is
not associated with a window, ignore the automatic composition.
(find_automatic_composition): Likewise.
2008-09-12 05:38:37 +00:00
Stefan Monnier
ed5ff21d09 * term.c (close_gpm): New fun extracted from Fgpm_mouse_stop.
(Fgpm_mouse_stop): Use it.
* termhooks.h (close_gpm): Declare.
* keyboard.c (tty_read_avail_input): Forcefully close the gpm
connection if Gpm_GetEvent fails.
2008-09-12 04:10:59 +00:00
Stefan Monnier
da39107c7b (set_window_buffer): Always preserve current-buffer. 2008-09-12 03:41:11 +00:00
Glenn Morris
c8f9440342 (init_charset): Warn if etc/charsets not found. (Bug#909) 2008-09-12 03:11:38 +00:00
Glenn Morris
6f3122a737 (charset-map-path): Doc fix. 2008-09-11 06:18:24 +00:00
Kenichi Handa
f83ef65368 (handle_composition_prop): Set it->cmp_it.ch to -1. 2008-09-10 12:39:03 +00:00
Kenichi Handa
053ca52bec (composition_compute_stop_pos): Reset cmp_it->id to -1 at first. 2008-09-10 12:02:36 +00:00
Kenichi Handa
fc3a285ed7 (Ffont_shape_gstring): Make glyphs of non-nil adjustment
compose a grapheme cluster with the preceding base glyph.
2008-09-10 05:54:23 +00:00
Glenn Morris
fa2dda1469 (character.o, chartab.o): Fix config.h typo. 2008-09-10 04:03:15 +00:00
Kenichi Handa
44566dc7f2 (composition_compute_stop_pos): Fix previous change. 2008-09-10 01:36:19 +00:00
Chong Yidong
f1ba6ccdf5 (read_key_sequence): Reapply translation maps when switching
keyboards.
2008-09-09 18:16:48 +00:00
Chong Yidong
daf85753e6 * keyboard.c (read_key_sequence): Reapply translation maps when
switching keyboards.
2008-09-09 18:15:41 +00:00
Kenichi Handa
6450412dcf *** empty log message *** 2008-09-09 11:09:31 +00:00
Kenichi Handa
3ffdafce60 (composition_compute_stop_pos): Limit the search of composition to
at most 500 characters ahead.  If we reach the limit or find a
newline, set cmp_it->ch to -2 and return 0.
(composition_reseat_it): Handle the case that cmp_it->ch is -2.
2008-09-09 11:07:49 +00:00
Kenichi Handa
da2cf48856 (ftfont_shape_by_flt): Use "combining" FLT for ASCII characters. 2008-09-09 02:29:02 +00:00
Kenichi Handa
d45a49e3b9 (FORWARD_CHAR): Fix calculation of (POSITION).pos_byte. 2008-09-09 02:09:32 +00:00
Kenichi Handa
187bc86f15 (Fvertical_motion): Be sure to set it_overshoot_expected if
it.cmp_it.id is non-nengative.
2008-09-08 05:46:36 +00:00
Juanma Barranquero
9d43832560 Fix typo in comment. 2008-09-07 20:41:10 +00:00
Andreas Schwab
1aa83b226a (Fcall_process): Don't hold references to string data
across garbage collection.  Move initialisation of new_argv down
to avoid compiler bug.
2008-09-07 20:35:14 +00:00
Roland Winkler
a7713d6639 (Fsystem_process_attributes): Doc fix. 2008-09-07 19:47:29 +00:00
Chong Yidong
db8454b07a (Fcall_process): Canonicalize current directory name. 2008-09-07 19:10:28 +00:00
Chong Yidong
39fc455ff0 * callproc.c (Fcall_process): Canonicalize current directory name. 2008-09-07 19:10:18 +00:00
Chong Yidong
5b6f0284d0 (move_it_to): When moving by vpos, ensure that the iterator advances
to the next line if the current line ends in a continued tab.
2008-09-07 14:16:15 +00:00
Chong Yidong
0f6c7c7ed8 * xdisp.c (move_it_to): When moving by vpos, ensure that the iterator
advances to the next line if the current line ends in a continued tab.
2008-09-07 14:15:40 +00:00
Teodor Zlatanov
93c7fcf88a * nsfont.m (nsfont_draw): Fix the references to missing gidx data
member to point to cmp_from.

* xdisp.c: Doc fix for references to gidx data member.
2008-09-07 11:16:20 +00:00
Stefan Monnier
126f1fc1a3 (Fbuffer_swap_text): Reset window->point markers. 2008-09-07 01:22:25 +00:00
Kenichi Handa
900c448630 (FORWARD_CHAR): Check STOP after incrementing (POSITION).pos. 2008-09-07 01:11:46 +00:00
Roland Winkler
ea92add1fe (Fsystem_process_attributes): Doc fix. 2008-09-06 23:00:17 +00:00
Chong Yidong
9252e0c0d7 (Ftop_level): Doc fix. 2008-09-06 17:22:05 +00:00
Chong Yidong
58bba8074d * keyboard.c (Ftop_level): Doc fix. 2008-09-06 17:21:57 +00:00
Eli Zaretskii
2de7397f32 (xmenu_show) [!HAVE_X_WINDOWS]: If frame has a minibuffer, don't let lower
part of menu invade the echo area.
2008-09-06 13:43:36 +00:00
Eli Zaretskii
e779d63012 (IT_menu_display): Use STRING_CHAR_ADVANCE instead of a "char *q" to access
menu text and advance through it.  Revert the change that displayed ">"
instead of ASCII character 0x10.
2008-09-06 11:15:04 +00:00
Eli Zaretskii
18a2979dce Fix spelling and wording of comments. 2008-09-06 09:57:15 +00:00
Eli Zaretskii
dda8632194 (single_menu_item) [!HAVE_BOXES]: Enable emulation of toggle boxes and
radio buttons on MS-DOS as well.
2008-09-05 14:42:05 +00:00
Kenichi Handa
90b3fe9125 (autocmp_chars): Check lookback count.
(composition_compute_stop_pos): Set cmp_it->lookback.
(composition_reseat_it): Check lookback count.
(struct position_record): New struct.
(FORWARD_CHAR, BACKWARD_CHAR, CHAR_COMPOSABLE_P): New macros.
(find_automatic_composition): New function.
(composition_adjust_point): Use find_automatic_composition.
2008-09-05 00:47:23 +00:00
Kenichi Handa
cbf21103d9 (struct composition_it): New member lookback. 2008-09-05 00:40:53 +00:00
Chong Yidong
d8a7e7fc77 (Fvertical_motion): Don't call move_it_by_lines again if moving by a
single line.
2008-09-02 17:28:59 +00:00
Chong Yidong
efa09d5d1f * indent.c (Fvertical_motion): Don't call move_it_by_lines again
if moving by a single line.
2008-09-02 17:28:47 +00:00
Andreas Schwab
afed25840b (x_delete_display): Fix merge error. 2008-09-02 11:45:08 +00:00
Andreas Schwab
7a3cddefca (Fexpand_file_name): Remove unused variables. 2008-09-02 08:13:20 +00:00
Miles Bader
9850eff524 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1398
2008-09-02 05:35:54 +00:00
Chong Yidong
a77d5bb2eb (Finternal_set_alternative_font_family_alist)
(Finternal_set_alternative_font_registry_alist): Properly copy entire
alist structure.
2008-09-01 19:46:16 +00:00
Chong Yidong
d7642a183f * xfaces.c (Finternal_set_alternative_font_family_alist)
(Finternal_set_alternative_font_registry_alist): Properly copy
entire alist structure.
2008-09-01 19:45:11 +00:00
Kenichi Handa
fc41e69bef *** empty log message *** 2008-09-01 05:36:13 +00:00
Kenichi Handa
fdcb19cafd (LGLYPH_SET_CODE): Add comment. 2008-09-01 05:15:58 +00:00
Kenichi Handa
7c4bd58d24 (ftfont_spec_pattern): Don't create a charset of the
representative chars of the script is a vector.
(ftfont_list): Handle the case the representative chars of the
script is a vector.
2008-09-01 02:46:23 +00:00
Kenichi Handa
c3bb7671de (syms_of_character): Docstring of script-representative-chars fixed. 2008-09-01 02:44:56 +00:00