Commit graph

22374 commits

Author SHA1 Message Date
Richard M. Stallman
5faa03baf4 Whitespace fix. 2007-05-30 19:28:11 +00:00
Nick Roberts
57669cf1d3 (init_sys_modes): Add rather than replace with
O_NONBLOCK.
2007-05-30 05:24:18 +00:00
Nick Roberts
b2d1ffb195 (term_mouse_moveto): New extern. 2007-05-30 05:22:46 +00:00
Nick Roberts
4d1d51d279 (Fset_mouse_pixel_position): Add call to
term_mouse_moveto.
2007-05-30 05:21:19 +00:00
Nick Roberts
94da14a02d (mouse_face_window): Rename...
(Qmouse_face_window): ...to this.
(term_show_mouse_face, term_clear_mouse_face)
(term_mouse_highlight): Use Qmouse_face_window.
(term_mouse_moveto): New function.
(term_mouse_position): Make it work.
(syms_of_term): Uncomment assignment to mouse_position_hook.
Staticpro Qmouse_face_window.
2007-05-30 05:19:55 +00:00
Miles Bader
c07318f44a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 29-32)

   - Update from CVS

2007-05-29  Martin Rudalics  <rudalics@gmx.at>

   * lisp/textmodes/table.el (table--point-entered-cell-function)
   (table--point-left-cell-function): Bind
   `inhibit-point-motion-hooks' to t.

2007-05-28  Chong Yidong  <cyd@stupidchicken.com>

   * lisp/textmodes/sgml-mode.el (sgml-point-entered): Use condition-case.

2007-05-27  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)

   * lisp/log-edit.el (log-edit-changelog-paragraph): Return point-max
   as the end of the ChangeLog paragraph when it ends without a line
   termination.

2007-05-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

   * src/xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t
   around current_column call.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-778
2007-05-29 23:19:43 +00:00
YAMAMOTO Mitsuharu
4bde4d4f3d (redisplay_internal): Bind inhibit-point-motion-hooks to t
around current_column call.
2007-05-28 03:01:26 +00:00
Dan Nicolaescu
3b8c0c70a7 * xfaces.c (syms_of_xfaces): Delete stray semicolon.
* xdisp.c (next_element_from_buffer):
* window.c (delete_window):
* term.c (term_mouse_highlight):
* msdos.c (getdefdir):
* macterm.c (mac_create_bitmap_from_bitmap_data)
(init_font_name_table):
* fns.c (Fsxhash):
* data.c (Fmake_local_variable):
* ccl.c (ccl_driver): Likewise.
2007-05-26 17:21:14 +00:00
Miles Bader
5dfdf72f7a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 25)

   - Update from CVS

2007-05-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

   * mac/INSTALL: Add note about moving self-contained application bundle
   to non-ASCII directory.

2007-05-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

   * src/macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event):
   Call mac_wakeup_from_rne on window size change.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-770
2007-05-25 02:38:05 +00:00
Chong Yidong
91be6b6665 (uncache_image): Fix typo. 2007-05-25 02:02:25 +00:00
Chong Yidong
f0f80eb7bb * image.c (uncache_image): Fix typo. 2007-05-25 02:02:18 +00:00
Chong Yidong
f4fae9a093 (redisplay_window): If first window line is a continuation line,
recompute the new window start instead of recentering.
2007-05-24 23:21:32 +00:00
Chong Yidong
ef92b69b3d * xdisp.c (redisplay_window): If first window line is a continuation
line, recompute the new window start instead of recentering.
2007-05-24 23:21:23 +00:00
Miles Bader
274cb4e46d Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 24)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-767
2007-05-24 06:25:50 +00:00
YAMAMOTO Mitsuharu
3654a2c34d *** empty log message *** 2007-05-24 03:17:22 +00:00
YAMAMOTO Mitsuharu
ea98d5a39a [USE_CARBON_EVENTS] (mac_handle_window_event):
Call mac_wakeup_from_rne on window size change.
2007-05-24 03:17:02 +00:00
Nick Roberts
bdb1e01d98 (make_lispy_movement): Condition on HAVE_GPM too. 2007-05-23 21:42:10 +00:00
Nick Roberts
ff7cd3aa8f *** empty log message *** 2007-05-23 21:40:20 +00:00
Kenichi Handa
662b4cfce3 (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. 2007-05-22 12:04:59 +00:00
Richard M. Stallman
f7fa495019 (x_connection_closed): Remove NO_RETURN. 2007-05-22 08:29:09 +00:00
Richard M. Stallman
c81036c677 (x_connection_closed): Remove NO_RETURN. 2007-05-22 08:28:46 +00:00
Chong Yidong
483e7ae0fa (uncache_image): New function.
(Fimage_refresh): New function.
2007-05-21 23:03:49 +00:00
Chong Yidong
62b0f126e0 * image.c (uncache_image): New function.
(Fimage_refresh): New function.
2007-05-21 23:03:40 +00:00
Jan Djärv
26114bc08f Move GPM check outside HAVE_X_WINDOWS. 2007-05-20 13:20:25 +00:00
Nick Roberts
7e5a23bd93 Use HAVE_GPM instead of HAVE_GPM_H. 2007-05-20 05:13:28 +00:00
Nick Roberts
a8099827a4 *** empty log message *** 2007-05-20 05:07:36 +00:00
Nick Roberts
b8e3b6ce4e (make_lispy_event): Make case GPM_CLICK_EVENT
conditional on [HAVE_GPM_H].
2007-05-20 03:51:31 +00:00
Nick Roberts
59ffc604f6 *** empty log message *** 2007-05-20 03:49:33 +00:00
Miles Bader
7d5f6be179 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 20-21)

   - Update from CVS

2007-05-18  Richard M. Stallman  <rms@gnu.org>

   * lisp/simple.el (push-mark): Doc fix.

2007-05-18  Rob Riepel  <riepel@Stanford.EDU>

   * lisp/emulation/tpu-edt.el (CSI-map, SS3-map) Moved from global-map to
   tpu-global-map.
   (tpu-original-global-map) Variable deleted.
   (tpu-control-keys-map) New keymap variable.
   (tpu-set-control-keys) Use tpu-reset-control-keys rather than
   setting keymapping directly.
   (tpu-reset-control-keys) Use tpu-control-keys-map instead of
   tpu-global-map.
   (tpu-edt-on): Activate the tpu-global-map.
   (tpu-edt-off): Deactivate the tpu-global-map.

2007-05-18  Ryan Yeske  <rcyeske@gmail.com>

   * lisp/textmodes/ispell.el (ispell-get-word): Return markers
   for start and end positions.
   (ispell-word): Assume END is a marker.

2007-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>

   * src/syntax.c (skip_chars): Update syntax-table only after we checked that
   the new location is valid.

2007-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

   * src/macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around
   mac_get_window_bounds.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-759
2007-05-20 03:12:22 +00:00
Nick Roberts
a7c03edb93 * src/configure.in (AC_CHECK_HEADERS) Add gpm.h.
(AC_CHECK_LIB): Add -lgpm.
* config.in Regenerate.
2007-05-20 02:51:25 +00:00
Nick Roberts
db8448d2bd (LIBGPM): Allow it to be set from configure.
If set then link Emacs with it.
2007-05-20 02:49:03 +00:00
Nick Roberts
d036ccf4b9 (enum event_kind): Add GPM_CLICK_EVENT.
Include gpm.h.
(handle_one_term_event, term_gpm) New externs.
2007-05-20 02:47:36 +00:00
Nick Roberts
389360bb1c (add_gpm_wait_descriptor, delete_gpm_wait_descriptor):
New externs.
2007-05-20 02:44:05 +00:00
Nick Roberts
994d9841e1 (gpm_wait_mask, max_gpm_desc): New variables.
(wait_reading_process_output): Wait on gpm_fd too.
(add_gpm_wait_descriptor, delete_gpm_wait_descriptor)): New functions.
(add_gpm_wait_descriptor_called_flag): New variable.
(delete_keyboard_wait_descriptor): Check gpm_wait_mask.
2007-05-20 02:41:19 +00:00
Nick Roberts
3e748bcbcc (init_sys_modes): Make gpm_fd nonblocking
and allow it to be interrupted by SIGIO.
2007-05-20 02:32:29 +00:00
Nick Roberts
ae372f41ec (Qmouse_fixup_help_message)
(make_lispy_movement, tracking_off, Ftrack_mouse, some_mouse_moved)
(show_help_echo, readable_events, kbd_buffer_get_event, init_keyboard):
Extend HAVE_MOUSE ifdefs to HAVE_GPM_H.
(make_lispy_event): Add case GPM_CLICK_EVENT.
(read_avail_input): Handle mouse input.
2007-05-20 02:29:50 +00:00
Nick Roberts
e882229cca (write_glyphs_with_face): New function.
[HAVE_GPM_H]: Include buffer.h, sys/fcntl.h.
(mouse_face_beg_row, mouse_face_beg_col, mouse_face_end_row)
(mouse_face_end_col, mouse_face_past_end, mouse_face_window)
(mouse_face_face_id, term_gpm, pos_x, pos_y)
(last_mouse_x, last_mouse_y): New variables.
(term_show_mouse_face, term_clear_mouse_face, fast_find_position)
(term_mouse_highlight, term_mouse_movement, term_mouse_position)
(term_mouse_click, handle_one_term_event, Fterm_open_connection)
(Fterm_close_connection): New functions.
(term_init): Initialise mouse_face_window.
2007-05-20 02:27:53 +00:00
Nick Roberts
60889ffab9 *** empty log message *** 2007-05-20 02:26:33 +00:00
Chong Yidong
41d2526817 (redisplay_window): If first window line is a continuation line,
recompute the new window start instead of recentering.
2007-05-19 18:43:14 +00:00
Chong Yidong
f176569090 * xdisp.c (redisplay_window): If first window line is a continuation
line, recompute the new window start instead of recentering.
2007-05-19 18:43:04 +00:00
Stefan Monnier
d46b87e92f (skip_chars): Update syntax-table only after we checked that
the new location is valid.
2007-05-19 15:15:19 +00:00
YAMAMOTO Mitsuharu
1d5bcd55d5 (x_calc_absolute_position): Add BLOCK_INPUT around
mac_get_window_bounds.
2007-05-19 05:08:05 +00:00
Glenn Morris
883af2ddd1 (ORDINARY_LINK): No longer define on OpenBSD.
Suggested by Alfred M. Szmidt <ams@gnu.org>.
2007-05-18 07:41:22 +00:00
Glenn Morris
a5a99f93ce *** empty log message *** 2007-05-18 07:41:08 +00:00
Glenn Morris
48fdddbead (ORDINARY_LINK): No longer define on OpenBSD. 2007-05-17 07:45:51 +00:00
Glenn Morris
e035dbb850 (ORDINARY_LINK): No longer define on OpenBSD. 2007-05-17 07:44:49 +00:00
Glenn Morris
2fddf4abaf vc-hooks patch installed from trunk.
table cell issue cannot be reproduced, even by the OP. rms:
"I think we should not delay the release to fix this"
http://lists.gnu.org/archive/html/emacs-devel/2007-05/msg00168.html

"A redisplay bug in 22.0.99" was fixed by this change:

2007-05-12  Chong Yidong  <cyd@stupidchicken.com>
* image.c (pbm_load): Correctly check image size for greyscale pbm.

(see also http://lists.gnu.org/archive/html/emacs-devel/2007-05/msg00498.html).
2007-05-17 07:44:40 +00:00
Miles Bader
97b362e7ac Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 18)

   - Update from CVS

2007-05-16  Richard M. Stallman  <rms@gnu.org>

   * lisp/buff-menu.el (Buffer-menu-sort-column): Doc fix.

2007-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>

   * lisp/files.el (magic-mode-alist, magic-fallback-mode-alist):
   Move the *ml, Postscript, and XmCD entries to the fallback part.

   * lisp/files.el (magic-fallback-mode-alist):
   Rename from file-start-mode-alist.

2007-05-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

   * src/macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert
   dead key repeat and up events.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-753
2007-05-17 01:12:58 +00:00
YAMAMOTO Mitsuharu
e4f5123fce [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert
dead key repeat and up events.
2007-05-16 08:15:44 +00:00
Chong Yidong
c295e710a2 (pbm_load): Check image size for monochrome pbm. 2007-05-14 14:53:15 +00:00