1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 02:31:03 -08:00
Commit graph

16616 commits

Author SHA1 Message Date
Richard M. Stallman
07ce8b53ea (window_scroll_pixel_based): Fix check for reaching BEGV.
Don't try to make last line fully visible if it is past end of window.
2002-12-23 18:04:45 +00:00
Steven Tamm
61f1d295a2 * macmenu.c (MIN_POPUP_SUBMENU_ID): Added
(mac_menu_show): Added support for hierarchical popup menus
	(add_menu_item): Removed indentation support
	(fill_submenu, fill_menu): Now creates hierarchical menus
	instead of using indentation
2002-12-22 23:14:52 +00:00
Richard M. Stallman
0b17a21779 *** empty log message *** 2002-12-22 22:06:38 +00:00
Richard M. Stallman
c67af3f49f (try_cursor_movement): Don't call try_window here.
(redisplay_window): Never redisplay minibuffer when inactive.
2002-12-22 21:59:20 +00:00
Richard M. Stallman
d17551171b (select_window_1): Undo 9/21 change. 2002-12-22 21:57:05 +00:00
Steven Tamm
402e4f8bd4 * macterm.c (XTread_socket): Call KeyTranslate for control and
meta to deal correctly shifted non-alpha characters, like C-S-5
	being treated like C-%.  Does not look for shift key to deal
	with masking off control-key with mac-reverse-ctrl-meta.
2002-12-22 21:09:20 +00:00
Richard M. Stallman
f02cac82a2 (popup_get_selection): Now static. New arg DO_TIMERS.
If it is non-nil, run timers.  Use an unwind-protect to requeue
the events that were read ahead.
(popup_get_selection_unwind): New subroutine.
(popup_get_selection_queue): File-scope variable now holds that queue.
(xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection.
(xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection.
Use an unwind-protect to pop down the dialog box.
(xdialog_show_unwind): New subroutine implements that.
2002-12-21 18:19:13 +00:00
Richard M. Stallman
40a301b352 (row_containing_pos): Change exit test using last_y.
(try_window_id): Abort if row_containing_pos returns null.
2002-12-21 18:09:54 +00:00
Richard M. Stallman
164c8bfebc (load_error_handler): New function.
(Fload): Handle errors in Fsubstitute_in_file_name.
Don't expect Fsignal to return.
2002-12-21 18:06:27 +00:00
Richard M. Stallman
2659a09fb8 Errors and throws work right with interrupt blocking.
(struct catchtag): New elt interrupt_input_blocked.
(unwind_to_catch): Restore interrupt_input_blocked from saved value.
(internal_catch, Fcondition_case, internal_condition_case)
(internal_condition_case_1, internal_condition_case_2): Save it.
(Fsignal): Don't do TOTALLY_UNBLOCK_INPUT.
2002-12-21 18:05:00 +00:00
Richard M. Stallman
6b381c3ac9 (Fformat): Add parens. 2002-12-21 18:00:23 +00:00
Richard M. Stallman
9f7d921018 Comment change. 2002-12-21 17:59:27 +00:00
Richard M. Stallman
c3a3229c39 (file_name_completion): Fix that change.
Delete special quit-handling code; just use QUIT.
2002-12-21 17:56:16 +00:00
Richard M. Stallman
62e3881f1f (file_name_completion): Close directory on error 2002-12-21 17:46:38 +00:00
David Kastrup
73cadfc195 (Fset_window_configuration): Set old_point to correct
value when new_current_buffer == current_buffer.
2002-12-19 16:26:29 +00:00
David Kastrup
1a590729a6 *** empty log message *** 2002-12-19 16:25:44 +00:00
Ben Key
9785d95b98 Revisited my earlier fix for the following entry in etc/PROBLEMS: 'Emacs built on Windows 9x/ME crashes at startup on Windows XP, or Emacs builtpart of on XP crashes at startup on Windows 9x/ME.' Fixed several Windows API errors detected by BoundsChecker 2002-12-18 06:16:28 +00:00
Kenichi Handa
b6da19efbc *** empty log message *** 2002-12-17 11:57:18 +00:00
Kenichi Handa
42b01e1e9b (choose_write_coding_system): Even if
Vcoding_system_for_write is non-nil, if
coding_system_require_warning is nonzero, call
Vselect_safe_coding_system_function.
2002-12-17 11:39:59 +00:00
Kenichi Handa
6926d59136 (coding_system_require_warning): Extern it. 2002-12-17 11:39:34 +00:00
Kenichi Handa
5d5bf4d8e1 (coding_system_require_warning): New variable.
(syms_of_coding): DEFVAR it.
2002-12-17 11:39:13 +00:00
Markus Rost
bfcf6dbef2 (lisp, shortlisp): Add cus-face and timer.
(lisp): Add font-core.
2002-12-17 01:26:01 +00:00
Markus Rost
6c465a15c1 White space fixes. 2002-12-15 19:57:31 +00:00
Stefan Monnier
2c568af5c7 *** empty log message *** 2002-12-14 00:12:21 +00:00
Stefan Monnier
bcf9734920 (text_read_only): New arg `propval'.
(get_char_property_and_overlay): Remove unused var `next_overlay'.
(verify_interval_modification): Use text_read_only's new arg.
2002-12-14 00:11:38 +00:00
Kenichi Handa
200c93e2af (Funencodable_char_position): Set pend correctly. 2002-12-13 02:35:51 +00:00
Kenichi Handa
b8c6225c28 *** empty log message *** 2002-12-13 02:35:34 +00:00
Jason Rumney
706ddb8f9a (last_mousemove_x, last_mousemove_y): New variables.
(w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement.
Be more careful about when help_events are generated.
2002-12-12 19:56:41 +00:00
Steven Tamm
96720f09ea * macterm.c (mac_check_for_quit_char): Correctly set the
modifiers of the event to 0.
	* mac.c (sys_select): Duplicate rfds before calling select to
	ensure that rfds survive the while loop.
2002-12-12 17:10:34 +00:00
Kim F. Storm
59adf8e8e9 (try_window_id): Don't call set_cursor_from_row if
row_containing_pos returned NULL.
2002-12-11 21:21:17 +00:00
Kim F. Storm
e5ae1c4981 *** empty log message *** 2002-12-11 21:20:46 +00:00
Steven Tamm
88069dff55 Modifying sys_read to not check the event queue if timeout=0 and to never
use a timeout larger than the one passed in.
2002-12-10 18:03:49 +00:00
Steven Tamm
bdce610dee *** empty log message *** 2002-12-10 17:58:24 +00:00
Steven Tamm
2eb46b2df2 Fixed OSX sys_read to not call select if IO is non-blocking 2002-12-10 16:48:04 +00:00
Juanma Barranquero
b11f1d8a33 (Fformat): Use alloca, not _alloca. 2002-12-10 07:40:21 +00:00
Ben Key
2573153f50 fixed a couple of minor compilation errors in editfns.c 2002-12-10 07:09:41 +00:00
Richard M. Stallman
d852822674 *** empty log message *** 2002-12-09 20:24:40 +00:00
Richard M. Stallman
1f57cb74f5 (Fget_buffer_create): Call Qucs_set_table_for_input as the last thing. 2002-12-09 20:24:32 +00:00
Dave Love
a4ac5b1710 *** empty log message *** 2002-12-09 18:12:01 +00:00
Dave Love
296e6c4f5e Not necessary. 2002-12-09 18:10:12 +00:00
Kai Großjohann
ac42d7b991 (Fformat): Handle precision in string conversion specifiers like libc
functions do (ie, print at most that many characters).  From Matthew
Swift <swift@alum.mit.edu>.
2002-12-09 10:44:25 +00:00
Richard M. Stallman
85cce84347 *** empty log message *** 2002-12-09 01:56:15 +00:00
Richard M. Stallman
5cce13ddd7 (row_containing_pos): Check more carefully
whether charpos is really in the row before returning it.
2002-12-09 01:56:05 +00:00
Kim F. Storm
df4d1023fc *** empty log message *** 2002-12-08 23:53:05 +00:00
Steven Tamm
0d4d26a7c5 Adding log for changes to sysdep.c,eval.c,macterm.c,mac.c 2002-12-08 06:03:28 +00:00
Steven Tamm
824eb35eec Feval: On Carbon/MacOSX call mac_check_for_quit_char at each stack frame.
This may change/move as it could be quite time consuming
2002-12-08 06:02:17 +00:00
Steven Tamm
3605200c46 Have emacs_read use sys_read on carbon/Mac OS X 2002-12-08 06:00:10 +00:00
Steven Tamm
2b187eacbe sys_select: Call mac_check_for_quit_char every second while blocking
sys_read: Use sys_select to test for input first before calling read to
allow sys_select to test for quit_char.
2002-12-08 05:58:34 +00:00
Steven Tamm
6ef0a87ef7 Added code to check for pressing of quit_char in the Carbon Event Queue 2002-12-08 05:56:37 +00:00
Richard M. Stallman
9252f7bcc9 *** empty log message *** 2002-12-07 21:41:11 +00:00