Eli Zaretskii
3e7600a697
(x_wm_set_size_hint): Use x_display_pixel_width and x_display_pixel_height.
2008-09-19 10:05:13 +00:00
Juanma Barranquero
05eb7cdce9
* frame.c (x_fullscreen_adjust): Declare var as Display_Info.
...
* w32fns.c (Fx_display_pixel_width, Fx_display_pixel_height)
(compute_tip_xy): Use x_display_pixel_width, x_display_pixel_height.
2008-09-19 08:44:14 +00:00
Dan Nicolaescu
85c66abe5e
(struct it): Move line_wrap away from the middle of
...
bitfields. Move voffset in struct iterator_stack_entry after the
bitfields. Move tab_width near after another short.
2008-09-19 03:35:56 +00:00
Dan Nicolaescu
d473f8578a
*** empty log message ***
2008-09-19 01:35:59 +00:00
Dan Nicolaescu
91a47a6836
* frame.h (struct frame): Move alpha from the middle of bitfields.
...
* window.h (struct window): Move frozen_window_start_p after the
rest of the bitfields to reduce padding.
2008-09-19 00:35:42 +00:00
Chong Yidong
f172b808d1
* xterm.h (x_display_info): Remove height' and width' members.
...
* nsterm.h (ns_display_info): Remove `height' and `width' members.
* w32term.h (w32_display_info): Remove `height', `width',
`height_in', and `width_in' members.
* xterm.c (x_display_pixel_height, x_display_pixel_width): New
functions.
(x_calc_absolute_position): Use them.
(x_term_init): Omit removed `height' and `width' members.
* w32term.c (x_display_pixel_height, x_display_pixel_width): New
functions.
(w32_read_socket, x_calc_absolute_position): Use them.
(w32_initialize_display_info, w32_term_init): Omit removed members
of w32_display_info.
* nsterm.m (x_display_pixel_height, x_display_pixel_width): New
functions.
(ns_initialize_display_info): Omit removed members of
ns_display_info.
* xterm.c (x_display_pixel_height, x_display_pixel_width): New
functions.
(x_calc_absolute_position): Use them.
(x_term_init): Omit removed `height' and `width' members.
* xfns.c (Fx_display_pixel_width, Fx_display_pixel_height)
(compute_tip_xy): Use x_display_pixel_height and
x_display_pixel_width.
* frame.c (x_fullscreen_adjust): Use x_display_pixel_height and
x_display_pixel_width.
* xmenu.c (menu_position_func): Use x_display_pixel_height and
x_display_pixel_width.
2008-09-18 18:21:05 +00:00
Kenichi Handa
ea8ba975fb
(fill_gstring_header): Don't check FROM and TO here.
...
(composition_compute_stop_pos): Fix handling of static composition.
(Fcomposition_get_gstring): Check FROM and TO at first.
2008-09-18 06:20:42 +00:00
Stefan Monnier
46f905e18a
(Fcomposition_get_gstring): Yet another int/Lisp_Oject mixup (YAILOM).
2008-09-17 21:25:29 +00:00
Chong Yidong
3bd4d0e1b6
* indent.c (Fvertical_motion): Use position reported by iterator
...
instead of PT for determining screen motion (bug#943).
2008-09-17 20:28:53 +00:00
Romain Francoise
939c679e0a
(composition_adjust_point): Fix int/EMACS_INT mixup.
2008-09-17 19:16:09 +00:00
Kenichi Handa
fdf906797d
(ftfont_shape_by_flt): Downcase family name.
2008-09-17 11:48:15 +00:00
Kenichi Handa
5a8d550454
(Fcomposition_get_gstring): Make bigger gstring_work if necessary.
2008-09-17 00:39:30 +00:00
Kenichi Handa
91e97ba8ba
*** empty log message ***
2008-09-16 01:24:30 +00:00
Martin Rudalics
4e822bdc11
(Fselect_window): Don't update window_select_count and
...
use_time when norecord is not nil.
2008-09-15 08:21:39 +00:00
Kenichi Handa
c370219480
(Finsert_file_contents): Delete incorrect decrement of specpdl_ptr.
2008-09-14 05:59:16 +00:00
Kenichi Handa
ce82d57e1c
*** empty log message ***
2008-09-12 06:33:04 +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
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
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
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
39fc455ff0
* callproc.c (Fcall_process): Canonicalize current directory name.
2008-09-07 19:10:18 +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
Roland Winkler
ea92add1fe
(Fsystem_process_attributes): Doc fix.
2008-09-06 23:00:17 +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
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
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
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
Eli Zaretskii
e52ab6c932
(BUILD_CHAR_GLYPH): New macro.
...
(IT_menu_display): Use it instead of SET_CHAR_GLYPH to construct the menu.
2008-08-31 19:41:40 +00:00
Juanma Barranquero
87e204a263
Fix typos.
2008-08-31 14:07:35 +00:00
Martin Rudalics
cc12456a64
*** empty log message ***
2008-08-31 10:12:04 +00:00
Glenn Morris
e313914472
*** empty log message ***
2008-08-31 02:08:24 +00:00