1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-16 13:11:14 -08:00
Commit graph

22359 commits

Author SHA1 Message Date
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
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
Chong Yidong
c38ffbcb4e * image.c (pbm_load): Check image size for monochrome pbm. 2007-05-14 14:53:09 +00:00
Chong Yidong
c36b6e0aa0 (XTread_socket): Revert last change. 2007-05-13 13:37:11 +00:00
Chong Yidong
37f3a4bb9c * xterm.c (XTread_socket): Revert last change. 2007-05-13 13:37:05 +00:00
Chong Yidong
d41f3c4ace (XTread_socket): Revert last change. 2007-05-13 13:33:32 +00:00
Chong Yidong
4e3908cd44 * xterm.c (XTread_socket): Revert last change. 2007-05-13 13:33:20 +00:00
Miles Bader
baa157cd23 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 14-15)

   - Update from CVS

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

   * etc/refcard.tex (section{Incremental Search}): Minor corrections.

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

   * lispref/text.texi (Margins): indent-to-left-margin is not the default.
   (Mode-Specific Indent): For indent-line-function, the default
   is indent-relative.

   * lispref/modes.texi (Example Major Modes): Explain last line of text-mode
   is redundant.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-746
2007-05-13 01:31:05 +00:00
Chong Yidong
fb0b0862c6 (pbm_load): Correctly check image size for greyscale pbm. 2007-05-12 23:55:51 +00:00
Chong Yidong
7fb4173714 * image.c (pbm_load): Correctly check image size for greyscale pbm. 2007-05-12 23:55:42 +00:00
Chong Yidong
d2dc1adfd0 (pbm_load): Correctly check image size for greyscale pbm. 2007-05-12 23:53:57 +00:00
Chong Yidong
96587f7eb9 * image.c (pbm_load): Correctly check image size for greyscale pbm. 2007-05-12 23:53:49 +00:00
Chong Yidong
1aa84454ca (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). 2007-05-12 23:35:31 +00:00
Chong Yidong
e9c8d98415 * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). 2007-05-12 23:35:24 +00:00
Chong Yidong
9c59756b3f (XTread_socket): Yet another uncaught X error crash (YAUXEC). 2007-05-12 23:28:16 +00:00
Chong Yidong
fd92bad940 * xterm.c (XTread_socket): Yet another uncaught X error
crash (YAUXEC).
2007-05-12 23:28:05 +00:00
Miles Bader
6e1504ad81 Merge from emacs--rel--22
Patches applied:

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

   - Update from CVS

2007-05-08  David Reitter  <david.reitter@gmail.com>

   * lisp/progmodes/python.el (python-guess-indent): Check non-nullness
   before comparing indent against the 2..8 interval.

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

   * src/editfns.c (Ftranspose_regions): Yet another int/Lisp_Object mixup
     (YAILOM)

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-736
2007-05-08 02:07:17 +00:00