Commit graph

27139 commits

Author SHA1 Message Date
Juanma Barranquero
062f2cfc1f Fix previous changes. 2008-09-24 02:11:10 +00:00
Juanma Barranquero
10d1d0af5f Fix typos. 2008-09-24 01:16:16 +00:00
Chong Yidong
889bd43841 (compute_tip_xy): Use x_display_pixel_width and
x_display_pixel_height.
2008-09-22 15:52:24 +00:00
Chong Yidong
6cb3af4a2b * nsfns.m (compute_tip_xy): Use x_display_pixel_width and
x_display_pixel_height.
2008-09-22 15:52:15 +00:00
Martin Rudalics
3ecc116303 (record_point): Don't call Fundo_boundary for first
change.  (Bug#731)
2008-09-22 15:40:20 +00:00
Juanma Barranquero
9d0a6e4205 * emacs.c (Fdaemonp): Doc fix. 2008-09-22 15:21:40 +00:00
Dan Nicolaescu
9d29095c13 (main): Place #ifdef.in the proper place. 2008-09-22 12:42:50 +00:00
Dan Nicolaescu
eab2ee8944 * emacs.c (standard_args): Add --daemon.
(main): Disconnect from the terminal when --daemon is passed.
(is_daemon): New variable.
(Fdaemonp): New function.
(syms_of_emacs): Defsubr it.

* startup.el (command-line): Start the server when in daemon mode.

* cmdargs.texi (Initial Options): Document --daemon.
2008-09-21 23:31:40 +00:00
Glenn Morris
d2b66acf53 (Qdelete_by_moving_to_trash): New Lisp_Object.
(syms_of_fileio): Add Qdelete_by_moving_to_trash.
2008-09-20 23:37:47 +00:00
Chong Yidong
d3864ce98c (get_next_display_element): Handle string display correctly when
checking for the end of a box run.
2008-09-20 21:44:34 +00:00
Chong Yidong
a9f0145a1e * xdisp.c (get_next_display_element): Handle string display correctly
when checking for the end of a box run.
2008-09-20 21:43:47 +00:00
Glenn Morris
6bddfc9768 (Frename_file): Avoid copying to trash if a rename involves a delete. (Bug#964). 2008-09-20 21:41:05 +00:00
Eli Zaretskii
d44004c054 (Fset_quit_char, Fset_input_meta_mode, Fset_output_flow_control)
(Fcurrent_input_mode): Support MSDOS frames as well as termcap frames.
(handle_interrupt): Remove "#ifndef MSDOS" around the call to get_named_tty.
2008-09-20 13:06:43 +00:00
Eli Zaretskii
63870e7eca (procfs_system_process_attributes): Fix last change. 2008-09-19 17:22:25 +00:00
Eli Zaretskii
a1e422f32d (procfs_system_process_attributes): Fix cmdline in case /proc/PID/cmdline
is empty.
2008-09-19 17:21:16 +00:00
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
Chong Yidong
1ee27840be (x_display_pixel_height, x_display_pixel_width): New functions.
(ns_initialize_display_info): Omit removed members of ns_display_info.
2008-09-18 18:20:06 +00:00
Chong Yidong
b532986efa (ns_display_info): Remove height' and width' members. 2008-09-18 18:18:43 +00:00
Chong Yidong
b89c78a5b7 (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.
2008-09-18 18:18:12 +00:00
Chong Yidong
a53400f350 (w32_display_info): Remove height', width', `height_in', and
`width_in' members.
2008-09-18 18:16:04 +00:00
Chong Yidong
a0fe6cca4f (x_fullscreen_adjust): Use x_display_pixel_height and
x_display_pixel_width.
2008-09-18 18:14:03 +00:00
Chong Yidong
fd2f80c653 (menu_position_func): Use x_display_pixel_height and
x_display_pixel_width.
2008-09-18 18:13:09 +00:00
Chong Yidong
abe9d29cbe (Fx_display_pixel_width, Fx_display_pixel_height)
(compute_tip_xy): Use x_display_pixel_height and x_display_pixel_width.
2008-09-18 18:12:22 +00:00
Chong Yidong
95958e6c80 (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.
2008-09-18 18:11:05 +00:00
Chong Yidong
9edd3e481c (x_display_info): Remove height' and width' members. 2008-09-18 18:09:45 +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
051facecbf Minor fix to last change. 2008-09-17 20:34:16 +00:00
Chong Yidong
2421af7e64 (Fvertical_motion): Use position reported by iterator
instead of PT for determining screen motion (bug#943).
2008-09-17 20:29:04 +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
Kenichi Handa
a993c7a1db (make_conversion_work_buffer): Avoid calling
Fget_buffer_create if it is not necessary.
2008-09-16 01:16:58 +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
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